Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/plugin-proposal-class-static-block

Package Overview
Dependencies
Maintainers
6
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-proposal-class-static-block - npm Package Compare versions

Comparing version 7.13.11 to 7.14.3

14

lib/index.js

@@ -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 @@ },

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