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.20.7 to 7.21.0

2

lib/index.js

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

if (blockBody.length === 1 && t.isExpressionStatement(blockBody[0])) {
replacement = blockBody[0].expression;
replacement = t.inheritsComments(blockBody[0].expression, blockBody[0]);
} else {

@@ -55,0 +55,0 @@ replacement = template.expression.ast`(() => { ${blockBody} })()`;

{
"name": "@babel/plugin-proposal-class-static-block",
"version": "7.20.7",
"version": "7.21.0",
"description": "Transform class static blocks",

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

"dependencies": {
"@babel/helper-create-class-features-plugin": "^7.20.7",
"@babel/helper-create-class-features-plugin": "^7.21.0",
"@babel/helper-plugin-utils": "^7.20.2",

@@ -32,6 +32,6 @@ "@babel/plugin-syntax-class-static-block": "^7.14.5"

"devDependencies": {
"@babel/core": "^7.20.7",
"@babel/core": "^7.21.0",
"@babel/helper-plugin-test-runner": "^7.18.6",
"@babel/traverse": "^7.20.7",
"@babel/types": "^7.20.7"
"@babel/traverse": "^7.21.0",
"@babel/types": "^7.21.0"
},

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