Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
6
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.14.6 to 7.14.8

16

lib/fields.js

@@ -640,2 +640,18 @@ "use strict";

path.replaceWith(_core.types.cloneNode(state.classRef));
},
MetaProperty(path) {
const meta = path.get("meta");
const property = path.get("property");
const {
scope
} = path;
if (meta.isIdentifier({
name: "new"
}) && property.isIdentifier({
name: "target"
})) {
path.replaceWith(scope.buildUndefinedNode());
}
}

@@ -642,0 +658,0 @@

2

lib/index.js

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

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

@@ -43,0 +43,0 @@

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

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

"@babel/helper-function-name": "^7.14.5",
"@babel/helper-member-expression-to-functions": "^7.14.5",
"@babel/helper-member-expression-to-functions": "^7.14.7",
"@babel/helper-optimise-call-expression": "^7.14.5",

@@ -33,5 +33,5 @@ "@babel/helper-replace-supers": "^7.14.5",

"devDependencies": {
"@babel/core": "7.14.6",
"@babel/core": "7.14.8",
"@babel/helper-plugin-test-runner": "7.14.5",
"@babel/preset-env": "7.14.5"
"@babel/preset-env": "7.14.8"
},

@@ -38,0 +38,0 @@ "engines": {

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