@babel/plugin-transform-classes
Advanced tools
Comparing version 7.14.2 to 7.14.4
@@ -76,5 +76,6 @@ "use strict"; | ||
(0, _helperAnnotateAsPure.default)(path); | ||
const callee = path.get("callee"); | ||
if (path.get("callee").isArrowFunctionExpression()) { | ||
path.get("callee").arrowFunctionToExpression(); | ||
if (callee.isArrowFunctionExpression()) { | ||
callee.arrowFunctionToExpression(); | ||
} | ||
@@ -81,0 +82,0 @@ } |
@@ -229,3 +229,3 @@ "use strict"; | ||
} else { | ||
call = (0, _helperOptimiseCallExpression.default)(_core.types.cloneNode(classState.superFnId), _core.types.thisExpression(), bareSuperNode.arguments); | ||
call = (0, _helperOptimiseCallExpression.default)(_core.types.cloneNode(classState.superFnId), _core.types.thisExpression(), bareSuperNode.arguments, false); | ||
} | ||
@@ -232,0 +232,0 @@ |
{ | ||
"name": "@babel/plugin-transform-classes", | ||
"version": "7.14.2", | ||
"version": "7.14.4", | ||
"description": "Compile ES2015 classes to ES5", | ||
@@ -21,3 +21,3 @@ "repository": { | ||
"@babel/helper-plugin-utils": "^7.13.0", | ||
"@babel/helper-replace-supers": "^7.13.12", | ||
"@babel/helper-replace-supers": "^7.14.4", | ||
"@babel/helper-split-export-declaration": "^7.12.13", | ||
@@ -33,5 +33,6 @@ "globals": "^11.1.0" | ||
"devDependencies": { | ||
"@babel/core": "7.14.2", | ||
"@babel/helper-plugin-test-runner": "7.13.10" | ||
"@babel/core": "7.14.3", | ||
"@babel/helper-plugin-test-runner": "7.13.10", | ||
"@babel/traverse": "7.14.2" | ||
} | ||
} |
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
25356
594
3