• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## 8.2.0 (2021-09-06)
2
3### New features
4
5Add support for walking ES2022 class static blocks.
6
7## 8.1.1 (2021-06-29)
8
9### Bug fixes
10
11Include `base` in the type declarations.
12
13## 8.1.0 (2021-04-24)
14
15### New features
16
17Support node types for class fields and private methods.
18
19## 8.0.2 (2021-01-25)
20
21### Bug fixes
22
23Adjust package.json to work with Node 12.16.0 and 13.0-13.6.
24
25## 8.0.0 (2021-01-05)
26
27### Bug fixes
28
29Fix a bug where `full` and `fullAncestor` would skip nodes with overridden types.
30
31## 8.0.0 (2020-08-12)
32
33### New features
34
35The package can now be loaded directly as an ECMAScript module in node 13+.
36
37## 7.2.0 (2020-06-17)
38
39### New features
40
41Support optional chaining and nullish coalescing.
42
43Support `import.meta`.
44
45Add support for `export * as ns from "source"`.
46
47## 7.1.1 (2020-02-13)
48
49### Bug fixes
50
51Clean up the type definitions to actually work well with the main parser.
52
53## 7.1.0 (2020-02-11)
54
55### New features
56
57Add a TypeScript definition file for the library.
58
59## 7.0.0 (2017-08-12)
60
61### New features
62
63Support walking `ImportExpression` nodes.
64
65## 6.2.0 (2017-07-04)
66
67### New features
68
69Add support for `Import` nodes.
70
71## 6.1.0 (2018-09-28)
72
73### New features
74
75The walker now walks `TemplateElement` nodes.
76
77## 6.0.1 (2018-09-14)
78
79### Bug fixes
80
81Fix bad "main" field in package.json.
82
83## 6.0.0 (2018-09-14)
84
85### Breaking changes
86
87This is now a separate package, `acorn-walk`, rather than part of the main `acorn` package.
88
89The `ScopeBody` and `ScopeExpression` meta-node-types are no longer supported.
90
91## 5.7.1 (2018-06-15)
92
93### Bug fixes
94
95Make sure the walker and bin files are rebuilt on release (the previous release didn't get the up-to-date versions).
96
97## 5.7.0 (2018-06-15)
98
99### Bug fixes
100
101Fix crash in walker when walking a binding-less catch node.
102
103## 5.6.2 (2018-06-05)
104
105### Bug fixes
106
107In the walker, go back to allowing the `baseVisitor` argument to be null to default to the default base everywhere.
108
109## 5.6.1 (2018-06-01)
110
111### Bug fixes
112
113Fix regression when passing `null` as fourth argument to `walk.recursive`.
114
115## 5.6.0 (2018-05-31)
116
117### Bug fixes
118
119Fix a bug in the walker that caused a crash when walking an object pattern spread.
120
121## 5.5.1 (2018-03-06)
122
123### Bug fixes
124
125Fix regression in walker causing property values in object patterns to be walked as expressions.
126
127## 5.5.0 (2018-02-27)
128
129### Bug fixes
130
131Support object spread in the AST walker.
132
133## 5.4.1 (2018-02-02)
134
135### Bug fixes
136
1375.4.0 somehow accidentally included an old version of walk.js.
138
139## 5.2.0 (2017-10-30)
140
141### Bug fixes
142
143The `full` and `fullAncestor` walkers no longer visit nodes multiple times.
144
145## 5.1.0 (2017-07-05)
146
147### New features
148
149New walker functions `full` and `fullAncestor`.
150
151## 3.2.0 (2016-06-07)
152
153### New features
154
155Make it possible to use `visit.ancestor` with a walk state.
156
157## 3.1.0 (2016-04-18)
158
159### New features
160
161The walker now allows defining handlers for `CatchClause` nodes.
162
163## 2.5.2 (2015-10-27)
164
165### Fixes
166
167Fix bug where the walker walked an exported `let` statement as an expression.
168