@babel/plugin-proposal-class-static-block
Advanced tools
Comparing version 7.20.7 to 7.21.0
@@ -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
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
9864