New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@babel/traverse

Package Overview
Dependencies
Maintainers
4
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/traverse - npm Package Compare versions

Comparing version

to
7.26.9

2

lib/path/modification.js

@@ -16,3 +16,2 @@ "use strict";

var _cache = require("../cache.js");
var _hoister = require("./lib/hoister.js");
var _index = require("./index.js");

@@ -22,2 +21,3 @@ var _context = require("./context.js");

var _t = require("@babel/types");
var _hoister = require("./lib/hoister.js");
const {

@@ -24,0 +24,0 @@ arrowFunctionExpression,

@@ -107,3 +107,3 @@ "use strict";

if (!TYPES.includes(nodeType)) {
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"}`);
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.9"}`);
}

@@ -110,0 +110,0 @@ const visitors = visitor[nodeType];

{
"name": "@babel/traverse",
"version": "7.26.8",
"version": "7.26.9",
"description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes",

@@ -20,6 +20,6 @@ "author": "The Babel Team (https://babel.dev/team)",

"@babel/code-frame": "^7.26.2",
"@babel/generator": "^7.26.8",
"@babel/parser": "^7.26.8",
"@babel/template": "^7.26.8",
"@babel/types": "^7.26.8",
"@babel/generator": "^7.26.9",
"@babel/parser": "^7.26.9",
"@babel/template": "^7.26.9",
"@babel/types": "^7.26.9",
"debug": "^4.3.1",

@@ -29,3 +29,3 @@ "globals": "^11.1.0"

"devDependencies": {
"@babel/core": "^7.26.8",
"@babel/core": "^7.26.9",
"@babel/helper-plugin-test-runner": "^7.25.9"

@@ -32,0 +32,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet