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.12.1 to 7.12.13

3

lib/decorators.js

@@ -74,3 +74,4 @@ "use strict";

scope,
file: this
file: this,
refToPreserve: classRef
}, true).replace();

@@ -77,0 +78,0 @@ const properties = [prop("kind", _core.types.stringLiteral(isMethod ? node.kind : "field")), prop("decorators", takeDecorators(node)), prop("static", node.static && _core.types.booleanLiteral(true)), prop("key", getKey(node))].filter(Boolean);

@@ -258,2 +258,10 @@ "use strict";

if (isAccessor) {
if (!getId && setId) {
if (file.availableHelper("writeOnlyError")) {
return _core.types.callExpression(file.addHelper("writeOnlyError"), [_core.types.stringLiteral(`#${name}`)]);
}
console.warn(`@babel/helpers is outdated, update it to silence this warning.`);
}
return _core.types.callExpression(file.addHelper("classPrivateFieldGet"), [this.receiver(member), _core.types.cloneNode(id)]);

@@ -638,2 +646,3 @@ }

file,
refToPreserve: ref,

@@ -640,0 +649,0 @@ getObjectRef() {

{
"name": "@babel/helper-create-class-features-plugin",
"version": "7.12.1",
"author": "The Babel Team (https://babeljs.io/team)",
"version": "7.12.13",
"author": "The Babel Team (https://babel.dev/team)",
"license": "MIT",

@@ -21,7 +21,7 @@ "description": "Compile class public and private fields, private methods and decorators to ES6",

"dependencies": {
"@babel/helper-function-name": "^7.10.4",
"@babel/helper-member-expression-to-functions": "^7.12.1",
"@babel/helper-optimise-call-expression": "^7.10.4",
"@babel/helper-replace-supers": "^7.12.1",
"@babel/helper-split-export-declaration": "^7.10.4"
"@babel/helper-function-name": "^7.12.13",
"@babel/helper-member-expression-to-functions": "^7.12.13",
"@babel/helper-optimise-call-expression": "^7.12.13",
"@babel/helper-replace-supers": "^7.12.13",
"@babel/helper-split-export-declaration": "^7.12.13"
},

@@ -32,5 +32,5 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.12.1",
"@babel/helper-plugin-test-runner": "7.10.4"
"@babel/core": "7.12.13",
"@babel/helper-plugin-test-runner": "7.12.13"
}
}

@@ -5,3 +5,3 @@ # @babel/helper-create-class-features-plugin

See our website [@babel/helper-create-class-features-plugin](https://babeljs.io/docs/en/next/babel-helper-create-class-features-plugin.html) for more information.
See our website [@babel/helper-create-class-features-plugin](https://babeljs.io/docs/en/babel-helper-create-class-features-plugin) for more information.

@@ -8,0 +8,0 @@ ## Install

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