Back to Explore

syntax-tree/estree-util-is-identifier-name

GitHub
1 watchersOpen source

Last release: 7/19/2023

estree-util-is-identifier-name is a small JavaScript utility that checks whether a value can be used as an ECMAScript identifier name. It also provides helpers to test whether a code point can start an identifier or continue one, useful when generating IDs from strings or validating identifier text.

Project status

  • The last recorded upstream push and most recent published update are in July 2023, suggesting the project is not actively updated in the near term, though there is no evidence here of being discontinued.
  • Update cadence appears relatively infrequent, with versions in 2022 (2.0.1), early 2023 (2.1.0), then a more recent major change in mid 2023 (3.0.0).

AI summary generated Today

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

Recent updates

  • 3.0.0

    7/19/2023

    Version 3.0.0 modernizes estree-util-is-identifier-name to use Unicode property escape regular expressions and to validate identifiers based on Unicode code points rather than UTF-16 code units. It also introduces optional JSX identifier support and switches the package to an explicit ESM exports entrypoint. The release is marked as a major change, including a Node.js 16 requirement.

    BreakingFeatures
  • 2.1.0

    1/19/2023

    Release 2.1.0 updates the identifier character set generation to Unicode 15, along with some repository maintenance (docs/code-style refactors and tsconfig changes). The code diff also shows a small internal refactor that moves generated regex code under a new lib/ directory and updates build/test tooling.

    Features
  • 2.0.1

    6/12/2022

    Release 2.0.1 is primarily a documentation and project-metadata update, alongside enabling TypeScript strict mode. The release notes also mention migrating the repository under the syntax-tree org.

  • 1.1.0

    3/12/2021

    Release 1.1.0 primarily adds JSDoc annotations intended to drive TypeScript declaration generation. The code changes are small, but the project’s packaging and build pipeline were expanded to generate and ship *.d.ts files during build and prepack.

    Features
  • 2.0.0

    3/12/2021

    Release 2.0.0 migrates the package to ESM. The release notes only state “Use ESM”, but the code diff shows the module format and public export shape changed, which affects how consumers import the library.

    Breaking
  • 1.0.0

    12/23/2020

    Release 1.0.0 was published on 2020-12-23. The provided release notes contain no actionable information about features, fixes, or changes, so developer impact cannot be determined from the notes alone.