Back to Explore

syntax-tree/esast-util-from-js

GitHub
1 watchersOpen source

Last release:

esast-util-from-js is a utility that parses JavaScript text into an esast (an estree syntax tree with extra cleanliness). It is useful if you want JavaScript ASTs that integrate with other unist and vfile-based tooling in the unified ecosystem.

Project status

  • This source appears quiet/dormant, with the last upstream push and most recent updates in 2023-07-31, and no evidence of ongoing work close to today (2026-09-10).
  • The updates cadence is irregular and concentrated in 2022 to mid 2023 (several version bumps in early 2023, then nothing after 2023-07), suggesting maintenance has slowed significantly.

AI summary generated

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

Recent updates

  • 2.0.1

    Release 2.0.1 is essentially a dependency update of `esast-util-from-estree`. The release notes do not call out any behavioral or AST-shape changes beyond that.

    Breaking
  • 2.0.0

    Release 2.0.0 is a major update that requires Node.js 16, changes how the package exposes its entry point via `exports`, and updates the parsing input type from `Buffer` to `Uint8Array`. It also improves parsing error messages coming from Acorn.

    Breaking
  • 1.2.0

    Release 1.2.0 extends the accepted JavaScript year versions to include 2023. It also updates JSDoc and documentation around the `fromJs` API. The release notes only mention the 2023 version support, but the diff shows additional behavioral and project-config changes.

    Features
  • 1.1.1

    Release 1.1.1 focuses on TypeScript typing improvements and documentation updates for `esast-util-from-js`. The main code changes adjust the `fromJs` input and options types to support `null` and clarify the return type, while build/test configuration and CI tooling were also updated.

    Features
  • 1.1.0

    Release 1.1.0 primarily bumps the version to 1.1.0 and updates the `@types/estree-jsx` dependency. The diff also shows test fixture output changes for JSX fragments, plus devDependency bumps for tooling.

  • 1.0.0

    Release 1.0.0 is published, but the provided release notes contain no descriptive changes beyond a link to the full changelog commits. No specific features, fixes, or compatibility changes are documented in the release notes provided here.