estree-util-attach-comments is a utility for attaching comment nodes to the correct nodes in an ESTree syntax tree. It takes a tree plus an array of comments (with leading and trailing fields) and mutates the tree so tools like recast or Babel can print or process comments that would otherwise be separate.
Project status
- The last observed upstream push and most recent update are in 2023-07-31, and there are no newer update entries shown, so active maintenance is not evident from the provided evidence.
- The update cadence appears historical rather than ongoing, with changes in 2022-07 (2.1.0), 2023-01 (2.1.1), and 2023-07 (3.0.0), suggesting updates roughly every 6 to 12 months up to mid-2023, but nothing after that.
AI summary generated Today
Recent updates
3.0.0
7/31/2023Release 3.0.0 makes estree-util-attach-comments align with modern ESM packaging and Node.js support requirements. The exported `attachComments` function now returns `undefined` instead of returning the input tree, and the package is configured to use an `exports` entry for public access only.
Breaking2.1.1
1/21/2023Release 2.1.1 is presented as a documentation and refactor-only update, plus a tsconfig change. The published diff shows the implementation code moved into a new lib/index.js module with index.js turned into a re-export shim, alongside CI, build, and dev tooling updates.
Breaking2.1.0
7/24/2022Release 2.1.0 is primarily a dependency update. The release notes only mention an update to @types/estree, but the actual diff also changes CI Node LTS and bumps a couple of development tool dependencies.
2.0.1
6/12/2022Release 2.0.1 is largely a repo maintenance update: improved documentation, the TypeScript build is switched to `strict` mode, and project metadata was moved under the `syntax-tree` GitHub org. The shipped runtime code (not just docs/config) also changed in ways that are not described in the release notes.
2.0.0
3/18/2021Release 2.0.0 introduces ESM support and adds JSDoc-based typing. The code diff shows a full module system migration plus build and test tooling changes, including generation of TypeScript declaration files.
BreakingFeatures1.0.0
12/21/2020Release 1.0.0 is published, but the provided release notes contain no descriptive content beyond an emoji, so no specific developer-facing changes can be identified. Based on the available information, there are no documented new features, fixes, breaking changes, security updates, or migration instructions to evaluate for upgrade impact.