UNPKG

2.24 kBMarkdownView Raw
1## 7.1.1 (2020-02-13)
2
3### Bug fixes
4
5Clean up the type definitions to actually work well with the main parser.
6
7## 7.1.0 (2020-02-11)
8
9### New features
10
11Add a TypeScript definition file for the library.
12
13## 7.0.0 (2017-08-12)
14
15### New features
16
17Support walking `ImportExpression` nodes.
18
19## 6.2.0 (2017-07-04)
20
21### New features
22
23Add support for `Import` nodes.
24
25## 6.1.0 (2018-09-28)
26
27### New features
28
29The walker now walks `TemplateElement` nodes.
30
31## 6.0.1 (2018-09-14)
32
33### Bug fixes
34
35Fix bad "main" field in package.json.
36
37## 6.0.0 (2018-09-14)
38
39### Breaking changes
40
41This is now a separate package, `acorn-walk`, rather than part of the main `acorn` package.
42
43The `ScopeBody` and `ScopeExpression` meta-node-types are no longer supported.
44
45## 5.7.1 (2018-06-15)
46
47### Bug fixes
48
49Make sure the walker and bin files are rebuilt on release (the previous release didn't get the up-to-date versions).
50
51## 5.7.0 (2018-06-15)
52
53### Bug fixes
54
55Fix crash in walker when walking a binding-less catch node.
56
57## 5.6.2 (2018-06-05)
58
59### Bug fixes
60
61In the walker, go back to allowing the `baseVisitor` argument to be null to default to the default base everywhere.
62
63## 5.6.1 (2018-06-01)
64
65### Bug fixes
66
67Fix regression when passing `null` as fourth argument to `walk.recursive`.
68
69## 5.6.0 (2018-05-31)
70
71### Bug fixes
72
73Fix a bug in the walker that caused a crash when walking an object pattern spread.
74
75## 5.5.1 (2018-03-06)
76
77### Bug fixes
78
79Fix regression in walker causing property values in object patterns to be walked as expressions.
80
81## 5.5.0 (2018-02-27)
82
83### Bug fixes
84
85Support object spread in the AST walker.
86
87## 5.4.1 (2018-02-02)
88
89### Bug fixes
90
915.4.0 somehow accidentally included an old version of walk.js.
92
93## 5.2.0 (2017-10-30)
94
95### Bug fixes
96
97The `full` and `fullAncestor` walkers no longer visit nodes multiple times.
98
99## 5.1.0 (2017-07-05)
100
101### New features
102
103New walker functions `full` and `fullAncestor`.
104
105## 3.2.0 (2016-06-07)
106
107### New features
108
109Make it possible to use `visit.ancestor` with a walk state.
110
111## 3.1.0 (2016-04-18)
112
113### New features
114
115The walker now allows defining handlers for `CatchClause` nodes.
116
117## 2.5.2 (2015-10-27)
118
119### Fixes
120
121Fix bug where the walker walked an exported `let` statement as an expression.