deps: update acorn-walk to 8.3.4

PR-URL: https://github.com/nodejs/node/pull/54950
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
Node.js GitHub Bot authored and Antoine du Hamel committed 2024-11-03 12:33:09 +01:00
1 parent 50a9456f1e
commit 55b3c8a41f
4 files changed
+13 -19

No files matched your search

+6
View File
@@ -1,3 +1,9 @@
## 8.3.4 (2024-09-09)
### Bug fixes
Walk SwitchCase nodes as separate nodes.
## 8.3.3 (2024-01-11)
### Bug fixes
+3 -9
View File
@@ -215,16 +215,10 @@
};
base.SwitchStatement = function (node, st, c) {
c(node.discriminant, st, "Expression");
for (var i$1 = 0, list$1 = node.cases; i$1 < list$1.length; i$1 += 1) {
var cs = list$1[i$1];
for (var i = 0, list = node.cases; i < list.length; i += 1) {
var cs = list[i];
if (cs.test) { c(cs.test, st, "Expression"); }
for (var i = 0, list = cs.consequent; i < list.length; i += 1)
{
var cons = list[i];
c(cons, st, "Statement");
}
c(cs, st);
}
};
base.SwitchCase = function (node, st, c) {
+3 -9
View File
@@ -209,16 +209,10 @@ base.WithStatement = function (node, st, c) {
};
base.SwitchStatement = function (node, st, c) {
c(node.discriminant, st, "Expression");
for (var i$1 = 0, list$1 = node.cases; i$1 < list$1.length; i$1 += 1) {
var cs = list$1[i$1];
for (var i = 0, list = node.cases; i < list.length; i += 1) {
var cs = list[i];
if (cs.test) { c(cs.test, st, "Expression"); }
for (var i = 0, list = cs.consequent; i < list.length; i += 1)
{
var cons = list[i];
c(cons, st, "Statement");
}
c(cs, st);
}
};
base.SwitchCase = function (node, st, c) {
+1 -1
View File
@@ -16,7 +16,7 @@
],
"./package.json": "./package.json"
},
"version": "8.3.3",
"version": "8.3.4",
"engines": {
"node": ">=0.4.0"
},