Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-block-scoping

Package Overview
Dependencies
54
Maintainers
6
Versions
107
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.14.1 to 7.14.2

7

lib/tdz.js

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

const visitedMaybeTDZNodes = new WeakSet();
const visitor = {

@@ -51,5 +52,9 @@ ReferencedIdentifier(path, state) {

if (status === "maybe") {
if (visitedMaybeTDZNodes.has(node)) {
return;
}
visitedMaybeTDZNodes.add(node);
const assert = buildTDZAssert(node, state);
bindingPath.parent._tdzThis = true;
path.skip();

@@ -56,0 +61,0 @@ if (path.parentPath.isUpdateExpression()) {

4

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

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

"devDependencies": {
"@babel/core": "7.14.0",
"@babel/core": "7.14.2",
"@babel/helper-plugin-test-runner": "7.13.10"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc