Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/traverse

Package Overview
Dependencies
Maintainers
4
Versions
183
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 7.23.9 to 7.24.0

9

lib/context.js

@@ -75,3 +75,6 @@ "use strict";

let stop = false;
for (const path of queue) {
let visitIndex = 0;
for (; visitIndex < queue.length;) {
const path = queue[visitIndex];
visitIndex++;
path.resync();

@@ -98,4 +101,4 @@ if (path.contexts.length === 0 || path.contexts[path.contexts.length - 1] !== this) {

}
for (const path of queue) {
path.popContext();
for (let i = 0; i < visitIndex; i++) {
queue[i].popContext();
}

@@ -102,0 +105,0 @@ this.queue = null;

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

const key = property.node.name;
if (Object.hasOwnProperty.call(context, key)) {
if (hasOwnProperty.call(context, key)) {
func = context[key];

@@ -302,0 +302,0 @@ }

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

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

"@babel/helper-split-export-declaration": "^7.22.6",
"@babel/parser": "^7.23.9",
"@babel/types": "^7.23.9",
"@babel/parser": "^7.24.0",
"@babel/types": "^7.24.0",
"debug": "^4.3.1",

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

"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/core": "^7.24.0",
"@babel/helper-plugin-test-runner": "^7.22.5"

@@ -35,0 +35,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc