Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
6
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.10.5 to 7.12.0

19

lib/index.js

@@ -121,2 +121,14 @@ "use strict";

if (!isDecorated) isDecorated = (0, _decorators.hasOwnDecorators)(path.node);
if (path.isStaticBlock == null ? void 0 : path.isStaticBlock()) {
throw path.buildCodeFrameError(`Incorrect plugin order, \`@babel/plugin-proposal-class-static-block\` should be placed before class features plugins
{
"plugins": [
"@babel/plugin-proposal-class-static-block",
"@babel/plugin-proposal-private-property-in-object",
"@babel/plugin-proposal-private-methods",
"@babel/plugin-proposal-class-properties",
]
}`);
}
}

@@ -171,3 +183,8 @@

PrivateName(path) {
if (this.file.get(versionKey) !== version) return;
if (this.file.get(versionKey) !== version || path.parentPath.isPrivate({
key: path.node
})) {
return;
}
throw path.buildCodeFrameError(`Unknown PrivateName "${path}"`);

@@ -174,0 +191,0 @@ },

13

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

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

"@babel/helper-function-name": "^7.10.4",
"@babel/helper-member-expression-to-functions": "^7.10.5",
"@babel/helper-member-expression-to-functions": "^7.12.0",
"@babel/helper-optimise-call-expression": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/helper-replace-supers": "^7.10.4",
"@babel/helper-replace-supers": "^7.12.0",
"@babel/helper-split-export-declaration": "^7.10.4"

@@ -33,6 +33,5 @@ },

"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/core": "^7.12.0",
"@babel/helper-plugin-test-runner": "^7.10.4"
},
"gitHead": "f7964a9ac51356f7df6404a25b27ba1cffba1ba7"
}
}
}
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