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

@babel/plugin-transform-block-scoping - npm Package Compare versions

Comparing version 7.0.0-beta.40 to 7.0.0-beta.41

11

lib/index.js
"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"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc