Back to Explore

syntax-tree/estree-util-visit

GitHub
1 watchersOpen source

Last release: 7/19/2023

estree-util-visit is an esast and estree utility that helps you walk a JavaScript AST, using a depth-first traversal with access to ancestor information. It’s useful for processing or transforming JavaScript AST nodes, with visitor hooks for entering and leaving nodes and actions to continue, skip children, or exit traversal.

Project status

  • The repository appears to be actively maintained up to a point, with the most recent upstream push and latest published update both on 2023-07-19, after which no further updates are shown in the provided history.
  • Apparent update cadence is roughly every 6 months earlier (2022-07-24, 2023-01-21, 2023-07-19), but it looks like updates have stalled since 2023-07-19.

AI summary generated Today

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

Recent updates

  • 2.0.0

    7/19/2023

    estree-util-visit 2.0.0 is a major ESM-focused release that modernizes packaging and TypeScript typing expectations. It requires Node.js 16, switches distribution to use `package.json` `exports`, and changes traversal context values from `null` to `undefined`.

    Breaking
  • 1.2.1

    1/21/2023

    Release 1.2.1 is primarily described as documentation and configuration/style updates. The code diff, however, shows a larger internal refactor: core implementation moved under a new `lib/` directory, and publishing/browser entry points were reorganized.

  • 1.2.0

    7/24/2022

    Release 1.2.0 is described as a small change focused on updating `@types/estree` plus improved documentation. However, the diff shows multiple non-release-note changes, including dependency version bumps and build/tooling configuration updates, alongside mostly internal code refactors in `index.js` (JSDoc and variable scoping).

    BreakingSecurity