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
6
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.14.2 to 7.14.4

10

lib/index.js

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

const block = this.block;
let declarators = [];
const declarators = [];

@@ -616,3 +616,9 @@ if (this.loop) {

declarators = declarators.concat(node.declarations || node);
if (node.declarations) {
for (let i = 0; i < node.declarations.length; i++) {
declarators.push(node.declarations[i]);
}
} else {
declarators.push(node);
}
}

@@ -619,0 +625,0 @@

4

package.json
{
"name": "@babel/plugin-transform-block-scoping",
"version": "7.14.2",
"version": "7.14.4",
"description": "Compile ES2015 block scoping (const and let) to ES5",

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

"devDependencies": {
"@babel/core": "7.14.2",
"@babel/core": "7.14.3",
"@babel/helper-plugin-test-runner": "7.13.10"
}
}
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