You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-block-scoping

Package Overview
Dependencies
Maintainers
4
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.17.12 to 7.18.4

6

lib/index.js

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

} = path;
if (node[this.LOOP_IGNORE]) return;
if (state.loopIgnored.has(node)) return;
let replace;

@@ -311,3 +311,3 @@ let loopText = loopNodeTo(node);

replace = _core.types.returnStatement(replace);
replace[this.LOOP_IGNORE] = true;
state.loopIgnored.add(replace);
path.skip();

@@ -713,3 +713,3 @@ path.replaceWith(_core.types.inherits(replace, node));

map: {},
LOOP_IGNORE: Symbol()
loopIgnored: new WeakSet()
};

@@ -716,0 +716,0 @@ this.blockPath.traverse(loopLabelVisitor, state);

{
"name": "@babel/plugin-transform-block-scoping",
"version": "7.17.12",
"version": "7.18.4",
"description": "Compile ES2015 block scoping (const and let) to ES5",

@@ -26,5 +26,5 @@ "repository": {

"devDependencies": {
"@babel/core": "^7.17.12",
"@babel/core": "^7.18.2",
"@babel/helper-plugin-test-runner": "^7.16.7",
"@babel/traverse": "^7.17.12"
"@babel/traverse": "^7.18.2"
},

@@ -31,0 +31,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc