Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
4
Versions
107
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.17.1 to 7.17.6

13

lib/fields.js

@@ -806,5 +806,14 @@ "use strict";

case isStaticBlock:
staticNodes.push(_core.template.statement.ast`(() => ${_core.types.blockStatement(prop.node.body)})()`);
break;
{
const blockBody = prop.node.body;
if (blockBody.length === 1 && _core.types.isExpressionStatement(blockBody[0])) {
staticNodes.push(blockBody[0]);
} else {
staticNodes.push(_core.template.statement.ast`(() => { ${blockBody} })()`);
}
break;
}
case isStatic && isPrivate && isField && privateFieldsAsProperties:

@@ -811,0 +820,0 @@ needsClassRef = true;

2

lib/index.js

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

const version = "7.17.1".split(".").reduce((v, x) => v * 1e5 + +x, 0);
const version = "7.17.6".split(".").reduce((v, x) => v * 1e5 + +x, 0);
const versionKey = "@babel/plugin-class-features/version";

@@ -45,0 +45,0 @@

{
"name": "@babel/helper-create-class-features-plugin",
"version": "7.17.1",
"version": "7.17.6",
"author": "The Babel Team (https://babel.dev/team)",

@@ -33,3 +33,3 @@ "license": "MIT",

"devDependencies": {
"@babel/core": "^7.17.0",
"@babel/core": "^7.17.5",
"@babel/helper-plugin-test-runner": "^7.16.7",

@@ -36,0 +36,0 @@ "@babel/plugin-syntax-class-static-block": "^7.14.5",

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