Back to Explore

lddubeau/xmlchars

GitHub
1 watchersOpen source

Last release:

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

  • Actively maintained: Upstream is marked archived, with the last upstream push on 2025-12-31 and the newest tagged change in the repo dating to 2019-09-06 (v2.2.0), so this appears quiet/dormant rather than actively maintained as of 2026-06-11.
  • Update cadence: There is no evidence of regular updates in the period leading up to today, with the visible release/update history clustered in 2018 to 2019 and no recent tagged updates after late 2019.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.2.0

    Release 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

    This 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.

    Features
  • v2.1.0

    Release 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

    v2.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

    v2.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.

    BreakingFeatures
  • v1.3.1

    Release 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

    Release 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.

    BreakingFeatures
  • v1.2.0

    Release 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

    v1.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.

    Features
  • 1.0.0

    Release 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.