@babel/traverse 7.26.7 → 7.26.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/visitors.js +1 -1
- package/package.json +6 -6
package/lib/visitors.js
CHANGED
@@ -104,7 +104,7 @@ function verify$1(visitor) {
|
|
104
104
|
}
|
105
105
|
if (shouldIgnoreKey(nodeType)) continue;
|
106
106
|
if (!TYPES.includes(nodeType)) {
|
107
|
-
throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${"7.26.
|
107
|
+
throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${"7.26.8"}`);
|
108
108
|
}
|
109
109
|
const visitors = visitor[nodeType];
|
110
110
|
if (typeof visitors === "object") {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babel/traverse",
|
3
|
-
"version": "7.26.
|
3
|
+
"version": "7.26.8",
|
4
4
|
"description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes",
|
5
5
|
"author": "The Babel Team (https://babel.dev/team)",
|
6
6
|
"homepage": "https://babel.dev/docs/en/next/babel-traverse",
|
@@ -17,15 +17,15 @@
|
|
17
17
|
"main": "./lib/index.js",
|
18
18
|
"dependencies": {
|
19
19
|
"@babel/code-frame": "^7.26.2",
|
20
|
-
"@babel/generator": "^7.26.
|
21
|
-
"@babel/parser": "^7.26.
|
22
|
-
"@babel/template": "^7.
|
23
|
-
"@babel/types": "^7.26.
|
20
|
+
"@babel/generator": "^7.26.8",
|
21
|
+
"@babel/parser": "^7.26.8",
|
22
|
+
"@babel/template": "^7.26.8",
|
23
|
+
"@babel/types": "^7.26.8",
|
24
24
|
"debug": "^4.3.1",
|
25
25
|
"globals": "^11.1.0"
|
26
26
|
},
|
27
27
|
"devDependencies": {
|
28
|
-
"@babel/core": "^7.26.
|
28
|
+
"@babel/core": "^7.26.8",
|
29
29
|
"@babel/helper-plugin-test-runner": "^7.25.9"
|
30
30
|
},
|
31
31
|
"engines": {
|