Socket
Socket
Sign inDemoInstall

@babel/helper-create-class-features-plugin

Package Overview
Dependencies
Maintainers
5
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-create-class-features-plugin - npm Package Compare versions

Comparing version 7.4.4 to 7.5.0

6

lib/index.js

@@ -7,2 +7,8 @@ "use strict";

exports.createClassFeaturePlugin = createClassFeaturePlugin;
Object.defineProperty(exports, "injectInitialization", {
enumerable: true,
get: function () {
return _misc.injectInitialization;
}
});
Object.defineProperty(exports, "FEATURES", {

@@ -9,0 +15,0 @@ enumerable: true,

6

lib/misc.js

@@ -118,3 +118,7 @@ "use strict";

const ident = path.scope.generateUidIdentifierBasedOnNode(computedNode.key);
declarations.push(_core().types.variableDeclaration("var", [_core().types.variableDeclarator(ident, computedNode.key)]));
path.scope.push({
id: ident,
kind: "let"
});
declarations.push(_core().types.expressionStatement(_core().types.assignmentExpression("=", _core().types.cloneNode(ident), computedNode.key)));
computedNode.key = _core().types.cloneNode(ident);

@@ -121,0 +125,0 @@ }

6

package.json
{
"name": "@babel/helper-create-class-features-plugin",
"version": "7.4.4",
"version": "7.5.0",
"author": "The Babel Team (https://babeljs.io/team)",

@@ -28,6 +28,6 @@ "license": "MIT",

"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/core": "^7.5.0",
"@babel/helper-plugin-test-runner": "^7.0.0"
},
"gitHead": "2c88694388831b1e5b88e4bbed6781eb2be1edba"
"gitHead": "49da9a07c81156e997e60146eb001ea77b7044c4"
}
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