Back to Explore

estools/esrecurse

GitHub
1 watchersOpen source

Last release: 8/31/2020

Esrecurse provides ECMAScript AST recursive traversing functionality, based on an AST recursive visitor. It’s useful for walking an ESTree-style syntax tree and running custom visitor logic for specific node types, including options to customize child traversal and handle unknown nodes via fallback behavior.

Project status

  • The repository appears not to be actively maintained, with the last upstream push dated 2023-03-30, and prior published updates occurring in 2020, 2018, and 2017.
  • Update cadence looks low and sporadic (roughly years between changes), with the most recent listed update being v4.3.0 in 2020-08-31.

AI summary generated Today

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

Recent updates

  • v4.3.0

    8/31/2020

    Release v4.3.0 updates the project version and CI configuration, and bumps the core dependency estraverse. It also adds a new test case for traversing ESTree ChainExpression nodes (related to optional chaining).

    Features
  • v4.2.1

    2/26/2018

    v4.2.1 makes a small runtime modernization of esrecurse.js by replacing older polyfills (object-assign, Array.isArray fallback, and Object.keys fallback) with native built-ins. It also raises the supported Node.js engine minimum version from >=0.10 to >=4.0 and removes the object-assign dependency.

    Breaking
  • 4.2.0

    6/20/2017

    Release 4.2.0 is published (2017-06-20) but the publisher did not provide any release notes. As a result, this response cannot identify new features, breaking changes, bug fixes, security updates, or dependency changes from the provided material.

  • 4.1.0

    3/10/2016

    Release 4.1.0 has no publisher-provided release notes content. The code diff indicates a small feature addition around how esrecurse determines which child properties to traverse when encountering unknown node types.

    Features
  • 4.0.0

    2/3/2016

    Release 4.0.0 significantly changes how esrecurse determines child nodes during traversal, adding new traversal options. It also updates dependencies (notably estraverse) and the supported test/traversal behavior for unknown node types.

    BreakingFeatures
  • 3.1.1

    3/14/2015

    Release 3.1.1 has no provided release notes. The code diff shows a small behavioral tweak to the Visitor constructor, plus matching README example edits, and a package version bump.

  • 3.1.0

    3/14/2015

    Release 3.1.0 has no publisher-provided release notes. The only code change shown in the diff is a dependency and package version bump in package.json.

  • 3.0.0

    3/14/2015

    Release 3.0.0 includes a package metadata update (version) and upgrades the main runtime dependency from estraverse 2.x to estraverse 3.x. No release notes were provided to describe behavioral impact.

  • 2.0.0

    3/9/2015

    This 2.0.0 release updates the package version to 2.0.0 and significantly changes the build and dependency setup. The release notes are empty, but the code diff shows multiple dependency upgrades (including a major estraverse bump) and new gulp tasks for version bumping, committing, and tagging.

    BreakingFeatures
  • 1.2.0

    12/8/2014

    Release 1.2.0 was published on 2014-12-08. No release notes were provided, so there is no documented information about new features, fixes, or compatibility changes in this release.