New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-es2015-block-scoping

Package Overview
Dependencies
Maintainers
5
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-es2015-block-scoping - npm Package Compare versions

Comparing version

to
7.0.0-beta.1

4

lib/index.js

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

var hasYield = _babelTraverse2.default.hasType(fn.body, this.scope, "YieldExpression", t.FUNCTION_TYPES);
var hasYield = _babelTraverse2.default.hasType(fn.body, "YieldExpression", t.FUNCTION_TYPES);

@@ -416,3 +416,3 @@ if (hasYield) {

var hasAsync = _babelTraverse2.default.hasType(fn.body, this.scope, "AwaitExpression", t.FUNCTION_TYPES);
var hasAsync = _babelTraverse2.default.hasType(fn.body, "AwaitExpression", t.FUNCTION_TYPES);

@@ -419,0 +419,0 @@ if (hasAsync) {

{
"name": "babel-plugin-transform-es2015-block-scoping",
"version": "7.0.0-beta.0",
"version": "7.0.0-beta.1",
"description": "Compile ES2015 block scoping (const and let) to ES5",

@@ -9,5 +9,5 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-block-scoping",

"dependencies": {
"babel-template": "7.0.0-beta.0",
"babel-traverse": "7.0.0-beta.0",
"babel-types": "7.0.0-beta.0",
"babel-template": "7.0.0-beta.1",
"babel-traverse": "7.0.0-beta.1",
"babel-types": "7.0.0-beta.1",
"lodash": "^4.2.0"

@@ -19,4 +19,4 @@ },

"devDependencies": {
"babel-helper-plugin-test-runner": "7.0.0-beta.0"
"babel-helper-plugin-test-runner": "7.0.0-beta.1"
}
}