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.19.6 to 7.20.0

5

lib/scope/index.js

@@ -581,5 +581,8 @@ "use strict";

const declarations = path.get("declarations");
const {
kind
} = path.node;
for (const declar of declarations) {
this.registerBinding(path.node.kind, declar);
this.registerBinding(kind === "using" ? "const" : kind, declar);
}

@@ -586,0 +589,0 @@ } else if (path.isClassDeclaration()) {

8

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

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

"@babel/code-frame": "^7.18.6",
"@babel/generator": "^7.19.6",
"@babel/generator": "^7.20.0",
"@babel/helper-environment-visitor": "^7.18.9",

@@ -26,4 +26,4 @@ "@babel/helper-function-name": "^7.19.0",

"@babel/helper-split-export-declaration": "^7.18.6",
"@babel/parser": "^7.19.6",
"@babel/types": "^7.19.4",
"@babel/parser": "^7.20.0",
"@babel/types": "^7.20.0",
"debug": "^4.1.0",

@@ -30,0 +30,0 @@ "globals": "^11.1.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