Utilities for checking whether Unicode characters belong to character classes defined by XML specifications. It provides per-XML-version modules that include regular-expression fragments, character lists, and functions for testing code points, useful when validating or building XML-related parsing and validation logic.
Project status
- The upstream project is described as archived, and the available update history shows no new version updates since 2019, which strongly suggests it is not actively maintained in the usual sense.
- The last tagged updates in the provided history are v2.2.0, v2.1.1, and v2.1.0 (all dated 2019), indicating a very low release update cadence based on the evidence shown.
AI summary generated Today
Recent updates
v2.2.0
9/6/2019Release v2.2.0 (published 2019-09-06) introduces a new XML 1.1 Ed2 helper for determining whether a code point matches the CHAR production while excluding RESTRICTED_CHAR. There are also significant development tooling and lockfile updates (devDependencies) alongside added tests.
v2.1.1
6/24/2019This release (v2.1.1) introduces support for the XML 1.1 ED2 RestrictedChar production by adding new character set constants and a predicate function. No publisher release notes were provided, so the documented changes in the repo cannot be validated against external release-note text.
Featuresv2.1.0
6/24/2019Release v2.1.0 is published, but no release notes were provided by the publisher. As a result, the specific changes (new features, bug fixes, or breaking changes) cannot be determined from the release notes alone.
v2.0.1
6/23/2019v2.0.1 is a small patch release. The code changes focus on micro-optimizations in XML character classification helpers for both XML 1.0 (ed5.ts) and XML 1.1 (ed2.ts), replacing Array.includes checks with direct comparisons, plus a version bump in package metadata.
v2.0.0
6/23/2019v2.0.0 is a major refactor release that removes the deprecated top-level `xmlchars` module and introduces initial support for XML 1.1 edition 2 (new `xml/1.1/ed2` implementation). It also refactors some XML 1.0 edition 5 character class predicate logic for performance.
BreakingFeaturesv1.3.1
10/1/2018Release v1.3.1 primarily bumps the package version metadata and updates the project changelog. The only code change visible in the diff is a modification to the deprecation warning text emitted by the module.
v1.3.0
9/6/2018Release v1.3.0 primarily refactors xmlchars into fine-grained, standard-specific modules for XML 1.0 (ed4 and ed5) and XML Namespaces 1.0 (ed3). The legacy xmlchars module is marked deprecated and now emits a runtime deprecation warning. The build and published entrypoint locations were reorganized to support the new modular distribution.
BreakingFeaturesv1.2.0
9/6/2018Release v1.2.0 introduces new character class utilities for XML Namespaces 1.0 (third edition, ED3), focused on NCName validation and related regex fragments. It also adds a new XML 1.0 character list export (lists.S). The release notes provided were empty, so the added public APIs are not described there.
v1.1.0
7/23/2018v1.1.0 introduces new XML 1.0 ED5 helper functions that test whether a Unicode codepoint belongs to specific XML character classes. The release notes are not provided by the publisher, so the actual delivered changes are primarily visible in the source and dependency updates.
Features1.0.0
7/5/2018Release 1.0.0 was published on 2018-07-05, but no release notes were provided. As a result, there is insufficient information to identify new features, breaking changes, bug fixes, security updates, or dependency changes from the publisher's documentation.