@babel/plugin-proposal-class-static-block
Advanced tools
Comparing version 7.13.11 to 7.14.3
@@ -10,5 +10,5 @@ "use strict"; | ||
var _pluginSyntaxClassStaticBlock = _interopRequireDefault(require("@babel/plugin-syntax-class-static-block")); | ||
var _pluginSyntaxClassStaticBlock = require("@babel/plugin-syntax-class-static-block"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var _helperCreateClassFeaturesPlugin = require("@babel/helper-create-class-features-plugin"); | ||
@@ -37,8 +37,12 @@ function generateUid(scope, denyList) { | ||
inherits: _pluginSyntaxClassStaticBlock.default, | ||
pre() { | ||
(0, _helperCreateClassFeaturesPlugin.enableFeature)(this.file, _helperCreateClassFeaturesPlugin.FEATURES.staticBlocks, false); | ||
}, | ||
visitor: { | ||
Class(path) { | ||
ClassBody(classBody) { | ||
const { | ||
scope | ||
} = path; | ||
const classBody = path.get("body"); | ||
} = classBody; | ||
const privateNames = new Set(); | ||
@@ -45,0 +49,0 @@ const body = classBody.get("body"); |
{ | ||
"name": "@babel/plugin-proposal-class-static-block", | ||
"version": "7.13.11", | ||
"version": "7.14.3", | ||
"description": "Allow parsing of class static blocks", | ||
@@ -22,2 +22,3 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-create-class-features-plugin": "^7.14.3", | ||
"@babel/helper-plugin-utils": "^7.13.0", | ||
@@ -30,3 +31,3 @@ "@babel/plugin-syntax-class-static-block": "^7.12.13" | ||
"devDependencies": { | ||
"@babel/core": "7.13.10", | ||
"@babel/core": "7.14.3", | ||
"@babel/helper-plugin-test-runner": "7.13.10" | ||
@@ -33,0 +34,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4201
53
4
+ Added@babel/helper-annotate-as-pure@7.25.9(transitive)
+ Added@babel/helper-create-class-features-plugin@7.25.9(transitive)
+ Added@babel/helper-member-expression-to-functions@7.25.9(transitive)
+ Added@babel/helper-optimise-call-expression@7.25.9(transitive)
+ Added@babel/helper-replace-supers@7.25.9(transitive)
+ Added@babel/helper-skip-transparent-expression-wrappers@7.25.9(transitive)