@babel/helper-wrap-function
Advanced tools
Comparing version 7.20.5 to 7.21.4-esm
@@ -49,6 +49,4 @@ "use strict"; | ||
body.body = [returnStatement(callExpression(callExpression(callId, [container]), []))]; | ||
node.async = false; | ||
node.generator = false; | ||
path.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment(); | ||
@@ -118,4 +116,3 @@ } | ||
} | ||
function wrapFunction(path, callId, | ||
noNewArrows = true, ignoreFunctionLength = false) { | ||
function wrapFunction(path, callId, noNewArrows = true, ignoreFunctionLength = false) { | ||
if (path.isMethod()) { | ||
@@ -122,0 +119,0 @@ classOrObjectMethod(path, callId); |
{ | ||
"name": "@babel/helper-wrap-function", | ||
"version": "7.20.5", | ||
"version": "7.21.4-esm", | ||
"description": "Helper to wrap functions inside a function call.", | ||
@@ -17,6 +17,6 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-function-name": "^7.19.0", | ||
"@babel/template": "^7.18.10", | ||
"@babel/traverse": "^7.20.5", | ||
"@babel/types": "^7.20.5" | ||
"@babel/helper-function-name": "^7.21.4-esm", | ||
"@babel/template": "^7.21.4-esm", | ||
"@babel/traverse": "^7.21.4-esm", | ||
"@babel/types": "^7.21.4-esm" | ||
}, | ||
@@ -23,0 +23,0 @@ "engines": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
15402
6
121
1