@babel/plugin-transform-block-scoping
Advanced tools
Comparing version 7.0.0-beta.40 to 7.0.0-beta.41
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = _default; | ||
exports.default = void 0; | ||
var _helperPluginUtils = require("@babel/helper-plugin-utils"); | ||
var _tdz = require("./tdz"); | ||
@@ -18,3 +20,4 @@ | ||
function _default(api, opts) { | ||
var _default = (0, _helperPluginUtils.declare)(function (api, opts) { | ||
api.assertVersion(7); | ||
var _opts$throwIfClosureR = opts.throwIfClosureRequired, | ||
@@ -89,4 +92,6 @@ throwIfClosureRequired = _opts$throwIfClosureR === void 0 ? false : _opts$throwIfClosureR, | ||
}; | ||
} | ||
}); | ||
exports.default = _default; | ||
function ignoreBlock(path) { | ||
@@ -93,0 +98,0 @@ return _core.types.isLoop(path.parent) || _core.types.isCatchClause(path.parent); |
{ | ||
"name": "@babel/plugin-transform-block-scoping", | ||
"version": "7.0.0-beta.40", | ||
"version": "7.0.0-beta.41", | ||
"description": "Compile ES2015 block scoping (const and let) to ES5", | ||
@@ -9,2 +9,3 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-block-scoping", | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "7.0.0-beta.41", | ||
"lodash": "^4.2.0" | ||
@@ -16,8 +17,8 @@ }, | ||
"peerDependencies": { | ||
"@babel/core": "7.0.0-beta.40" | ||
"@babel/core": "7.0.0-beta.41" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.0.0-beta.40", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.40" | ||
"@babel/core": "7.0.0-beta.41", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.41" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27027
659
3
+ Added@babel/code-frame@7.0.0-beta.41(transitive)
+ Added@babel/core@7.0.0-beta.41(transitive)
+ Added@babel/generator@7.0.0-beta.41(transitive)
+ Added@babel/helper-function-name@7.0.0-beta.41(transitive)
+ Added@babel/helper-get-function-arity@7.0.0-beta.41(transitive)
+ Added@babel/helper-plugin-utils@7.0.0-beta.41(transitive)
+ Added@babel/helper-split-export-declaration@7.0.0-beta.41(transitive)
+ Added@babel/helpers@7.0.0-beta.41(transitive)
+ Added@babel/highlight@7.0.0-beta.41(transitive)
+ Added@babel/template@7.0.0-beta.41(transitive)
+ Added@babel/traverse@7.0.0-beta.41(transitive)
+ Added@babel/types@7.0.0-beta.41(transitive)
+ Addedbabylon@7.0.0-beta.41(transitive)
+ Addedsemver@5.7.2(transitive)
- Removed@babel/code-frame@7.0.0-beta.40(transitive)
- Removed@babel/core@7.0.0-beta.40(transitive)
- Removed@babel/generator@7.0.0-beta.40(transitive)
- Removed@babel/helper-function-name@7.0.0-beta.40(transitive)
- Removed@babel/helper-get-function-arity@7.0.0-beta.40(transitive)
- Removed@babel/helpers@7.0.0-beta.40(transitive)
- Removed@babel/highlight@7.0.0-beta.40(transitive)
- Removed@babel/template@7.0.0-beta.40(transitive)
- Removed@babel/traverse@7.0.0-beta.40(transitive)
- Removed@babel/types@7.0.0-beta.40(transitive)
- Removedbabylon@7.0.0-beta.40(transitive)