Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
4
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.21.4-esm.3 to 7.21.4-esm.4

lib/package.json

19

lib/index.js

@@ -1,10 +0,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _pluginSyntaxClassStaticBlock = require("@babel/plugin-syntax-class-static-block");
var _helperCreateClassFeaturesPlugin = require("@babel/helper-create-class-features-plugin");
import { declare } from "@babel/helper-plugin-utils";
import syntaxClassStaticBlock from "@babel/plugin-syntax-class-static-block";
import { enableFeature, FEATURES } from "@babel/helper-create-class-features-plugin";
function generateUid(scope, denyList) {

@@ -20,3 +14,3 @@ const name = "";

}
var _default = (0, _helperPluginUtils.declare)(({
export default declare(({
types: t,

@@ -29,5 +23,5 @@ template,

name: "proposal-class-static-block",
inherits: _pluginSyntaxClassStaticBlock.default,
inherits: syntaxClassStaticBlock.default,
pre() {
(0, _helperCreateClassFeaturesPlugin.enableFeature)(this.file, _helperCreateClassFeaturesPlugin.FEATURES.staticBlocks, false);
enableFeature(this.file, FEATURES.staticBlocks, false);
},

@@ -64,4 +58,3 @@ visitor: {

});
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "@babel/plugin-proposal-class-static-block",
"version": "7.21.4-esm.3",
"version": "7.21.4-esm.4",
"description": "Transform class static blocks",

@@ -23,4 +23,4 @@ "repository": {

"dependencies": {
"@babel/helper-create-class-features-plugin": "7.21.4-esm.3",
"@babel/helper-plugin-utils": "7.21.4-esm.3",
"@babel/helper-create-class-features-plugin": "7.21.4-esm.4",
"@babel/helper-plugin-utils": "7.21.4-esm.4",
"@babel/plugin-syntax-class-static-block": "^7.14.5"

@@ -32,6 +32,6 @@ },

"devDependencies": {
"@babel/core": "7.21.4-esm.3",
"@babel/helper-plugin-test-runner": "7.21.4-esm.3",
"@babel/traverse": "7.21.4-esm.3",
"@babel/types": "7.21.4-esm.3"
"@babel/core": "7.21.4-esm.4",
"@babel/helper-plugin-test-runner": "7.21.4-esm.4",
"@babel/traverse": "7.21.4-esm.4",
"@babel/types": "7.21.4-esm.4"
},

@@ -38,0 +38,0 @@ "homepage": "https://babel.dev/docs/en/next/babel-plugin-proposal-class-static-block",

Sorry, the diff of this file is not supported yet

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