@babel/traverse 7.26.4 → 7.26.5

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.
Files changed (2) hide show
  1. package/lib/visitors.js +1 -1
  2. package/package.json +4 -4
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.4"}`);
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.5"}`);
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.4",
3
+ "version": "7.26.5",
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,10 +17,10 @@
17
17
  "main": "./lib/index.js",
18
18
  "dependencies": {
19
19
  "@babel/code-frame": "^7.26.2",
20
- "@babel/generator": "^7.26.3",
21
- "@babel/parser": "^7.26.3",
20
+ "@babel/generator": "^7.26.5",
21
+ "@babel/parser": "^7.26.5",
22
22
  "@babel/template": "^7.25.9",
23
- "@babel/types": "^7.26.3",
23
+ "@babel/types": "^7.26.5",
24
24
  "debug": "^4.3.1",
25
25
  "globals": "^11.1.0"
26
26
  },