Back to Explore

syntax-tree/esast-util-from-js

GitHub
1 watchersOpen source

Last release: 7/31/2023

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

  • The repository shows its last upstream push on 2023-07-31, and the most recent package updates (2.0.1 on 2023-07-31, 2.0.0 on 2023-07-19) indicate active maintenance at least through mid-2023, with no evidence of newer updates since then.
  • Update cadence appears limited to 2023, with a close succession between 2.0.0 and 2.0.1 (about 12 days), and a longer gap before the prior noted update (1.2.0 on 2023-01-21).

AI summary generated Today

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

Recent updates

  • 2.0.1

    7/31/2023

    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

    7/19/2023

    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

    1/21/2023

    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

    1/4/2023

    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

    7/24/2022

    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

    5/30/2022

    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.