@babel/plugin-transform-classes
Advanced tools
Comparing version 7.18.8 to 7.18.9
@@ -67,3 +67,3 @@ "use strict"; | ||
VISITED.add(node); | ||
path.replaceWith((0, _transformClass.default)(path, state.file, builtinClasses, loose, { | ||
const [replacedPath] = path.replaceWith((0, _transformClass.default)(path, state.file, builtinClasses, loose, { | ||
setClassMethods, | ||
@@ -75,5 +75,5 @@ constantSuper, | ||
if (path.isCallExpression()) { | ||
(0, _helperAnnotateAsPure.default)(path); | ||
const callee = path.get("callee"); | ||
if (replacedPath.isCallExpression()) { | ||
(0, _helperAnnotateAsPure.default)(replacedPath); | ||
const callee = replacedPath.get("callee"); | ||
@@ -80,0 +80,0 @@ if (callee.isArrowFunctionExpression()) { |
{ | ||
"name": "@babel/plugin-transform-classes", | ||
"version": "7.18.8", | ||
"version": "7.18.9", | ||
"description": "Compile ES2015 classes to ES5", | ||
@@ -18,7 +18,7 @@ "repository": { | ||
"@babel/helper-annotate-as-pure": "^7.18.6", | ||
"@babel/helper-environment-visitor": "^7.18.6", | ||
"@babel/helper-function-name": "^7.18.6", | ||
"@babel/helper-environment-visitor": "^7.18.9", | ||
"@babel/helper-function-name": "^7.18.9", | ||
"@babel/helper-optimise-call-expression": "^7.18.6", | ||
"@babel/helper-plugin-utils": "^7.18.6", | ||
"@babel/helper-replace-supers": "^7.18.6", | ||
"@babel/helper-plugin-utils": "^7.18.9", | ||
"@babel/helper-replace-supers": "^7.18.9", | ||
"@babel/helper-split-export-declaration": "^7.18.6", | ||
@@ -34,5 +34,5 @@ "globals": "^11.1.0" | ||
"devDependencies": { | ||
"@babel/core": "^7.18.6", | ||
"@babel/core": "^7.18.9", | ||
"@babel/helper-plugin-test-runner": "^7.18.6", | ||
"@babel/traverse": "^7.18.8" | ||
"@babel/traverse": "^7.18.9" | ||
}, | ||
@@ -39,0 +39,0 @@ "engines": { |
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
26622