Add support for walking ES2022 class static blocks.
Include base
in the type declarations.
Support node types for class fields and private methods.
Adjust package.json to work with Node 12.16.0 and 13.0-13.6.
Fix a bug where full
and fullAncestor
would skip nodes with overridden types.
The package can now be loaded directly as an ECMAScript module in node 13+.
Support optional chaining and nullish coalescing.
Support import.meta
.
Add support for export * as ns from "source"
.
Clean up the type definitions to actually work well with the main parser.
Add a TypeScript definition file for the library.
Support walking ImportExpression
nodes.
Add support for Import
nodes.
The walker now walks TemplateElement
nodes.
Fix bad "main" field in package.json.
This is now a separate package, acorn-walk
, rather than part of the main acorn
package.
The ScopeBody
and ScopeExpression
meta-node-types are no longer supported.
Make sure the walker and bin files are rebuilt on release (the previous release didn't get the up-to-date versions).
Fix crash in walker when walking a binding-less catch node.
In the walker, go back to allowing the baseVisitor
argument to be null to default to the default base everywhere.
Fix regression when passing null
as fourth argument to walk.recursive
.
Fix a bug in the walker that caused a crash when walking an object pattern spread.
Fix regression in walker causing property values in object patterns to be walked as expressions.
Support object spread in the AST walker.
5.4.0 somehow accidentally included an old version of walk.js.
The full
and fullAncestor
walkers no longer visit nodes multiple times.
New walker functions full
and fullAncestor
.
Make it possible to use visit.ancestor
with a walk state.
The walker now allows defining handlers for CatchClause
nodes.
Fix bug where the walker walked an exported let
statement as an expression.