deps: update acorn-walk to 8.3.0 · nodejs/node@3ecc7dc · GitHub
Skip to content

Commit 3ecc7dc

Browse files
nodejs-github-botRafaelGSS
authored andcommitted
deps: update acorn-walk to 8.3.0
PR-URL: #50457 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent d0d2faf commit 3ecc7dc

6 files changed

Lines changed: 349 additions & 119 deletions

File tree

deps/acorn/acorn-walk/CHANGELOG.md

Lines changed: 6 additions & 0 deletions

deps/acorn/acorn-walk/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ Acorn is open source software released under an
1010

1111
You are welcome to
1212
[report bugs](https://github.com/acornjs/acorn/issues) or create pull
13-
requests on [github](https://github.com/acornjs/acorn). For questions
14-
and discussion, please use the
15-
[Tern discussion forum](https://discuss.ternjs.net).
13+
requests on [github](https://github.com/acornjs/acorn).
1614

1715
## Installation
1816

@@ -68,7 +66,7 @@ const acorn = require("acorn")
6866
const walk = require("acorn-walk")
6967

7068
walk.ancestor(acorn.parse("foo('hi')"), {
71-
Literal(_, ancestors) {
69+
Literal(_node, _state, ancestors) {
7270
console.log("This literal's ancestors are:", ancestors.map(n => n.type))
7371
}
7472
})
Lines changed: 170 additions & 0 deletions

0 commit comments

Comments
 (0)