Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-block-scoping

Package Overview
Dependencies
59
Maintainers
4
Versions
102
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0-alpha.2 to 8.0.0-alpha.3

4

lib/index.js

@@ -62,3 +62,5 @@ import { declare } from '@babel/helper-plugin-utils';

for (let currPath = path; currPath; currPath = currPath.parentPath) {
if (currPath.isFunction() || currPath.isClass()) inClosure = true;
if (currPath.isFunction() || currPath.isClass() || currPath.isMethod()) {
inClosure = true;
}
if (currPath === bodyPath) {

@@ -65,0 +67,0 @@ return {

{
"name": "@babel/plugin-transform-block-scoping",
"version": "8.0.0-alpha.2",
"version": "8.0.0-alpha.3",
"description": "Compile ES2015 block scoping (const and let) to ES5",

@@ -17,3 +17,3 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^8.0.0-alpha.2"
"@babel/helper-plugin-utils": "^8.0.0-alpha.3"
},

@@ -24,8 +24,8 @@ "keywords": [

"peerDependencies": {
"@babel/core": "^8.0.0-alpha.2"
"@babel/core": "^8.0.0-alpha.3"
},
"devDependencies": {
"@babel/core": "^8.0.0-alpha.2",
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.2",
"@babel/traverse": "^8.0.0-alpha.2"
"@babel/core": "^8.0.0-alpha.3",
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.3",
"@babel/traverse": "^8.0.0-alpha.3"
},

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

Sorry, the diff of this file is not supported yet

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