esast-util-from-estree provides an `fromEstree` transform that converts an ESTree JavaScript AST into an esast (a UNIST-compatible AST). It normalizes node shapes for JSON, adds position information, and applies a few cleanup steps like normalizing `.bigint` and removing certain discouraged JSX fields, which is useful if you want to use unist utilities with JavaScript ASTs.
Project status
- The source appears maintained historically, with a notable major update done in 2023 (last upstream push on 2023-07-31), but there is no evidence of further updates since then.
- Apparent update cadence is low, with changes in 2023-07-31 (2.0.0), earlier in 2023-01-21 (1.3.1), then 2022-07-24 (1.3.0), suggesting an on-and-off release pattern rather than frequent updates.
AI summary generated Today
Recent updates
2.0.0
7/31/2023Release 2.0.0 makes a major update to esast-util-from-estree, requiring Node.js 16 and changing how the library transforms ESTree into ESAST. The release notes highlight that the input is no longer mutated and developers must use the return value. The code diff also shows additional behavioral and typing changes not fully covered by the notes.
Breaking1.3.1
1/21/2023Release 1.3.1 refactors the package by moving the `fromEstree` implementation into `lib/index.js` and changing the top-level `index.js` to a re-export. It also updates tooling (build/test scripts, CI actions), modifies TS configuration, and adjusts documentation including Node.js support statements.
Breaking1.3.0
7/24/2022Release 1.3.0 primarily updates dependency versions in package.json. The only functional change implied by the diff is a bump of the TypeScript typings dependency (@types/estree-jsx), plus a minor tooling bump for xo.
1.2.0
6/28/2022Release 1.2.0 primarily changes how JSXOpeningFragment nodes are normalized, specifically removing `attributes` and `selfClosing` from the resulting esast output. It also updates documentation and tooling, with no other obvious runtime API changes shown in the diff.
Breaking1.1.1
2/6/2022Release 1.1.1 is primarily a TypeScript-related change intended to expose package types to consumers. The code diff also includes internal refactoring of `fromEstree`, plus several build, workflow, and dependency/tooling updates that are not mentioned in the release notes.
1.1.0
5/3/2021Release 1.1.0 primarily adds JSDoc-based type annotations to the code (notably around `fromEstree` and its internal visitor callback). The runtime logic appears unchanged, but the repository/package metadata and build tooling were significantly updated alongside this change.
Features1.0.0
2/18/2021Release 1.0.0 was published on 2021-02-18. The provided release notes contain no actionable information (only a placeholder), so there are no documented changes to assess for developer impact.