babel-helper-optimise-call-expression
Advanced tools
Comparing version 7.0.0-alpha.15 to 7.0.0-alpha.16
@@ -6,3 +6,5 @@ "use strict"; | ||
exports.default = function (callee, thisNode, args) { | ||
if (args.length === 1 && t.isSpreadElement(args[0]) && t.isIdentifier(args[0].argument, { name: "arguments" })) { | ||
if (args.length === 1 && t.isSpreadElement(args[0]) && t.isIdentifier(args[0].argument, { | ||
name: "arguments" | ||
})) { | ||
return t.callExpression(t.memberExpression(callee, t.identifier("apply")), [thisNode, args[0].argument]); | ||
@@ -9,0 +11,0 @@ } else { |
{ | ||
"name": "babel-helper-optimise-call-expression", | ||
"version": "7.0.0-alpha.15", | ||
"version": "7.0.0-alpha.16", | ||
"description": "Helper function to optimise call expression", | ||
@@ -9,4 +9,4 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-optimise-call-expression", | ||
"dependencies": { | ||
"babel-types": "7.0.0-alpha.15" | ||
"babel-types": "7.0.0-alpha.16" | ||
} | ||
} |
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
1247
13
+ Addedbabel-types@7.0.0-alpha.16(transitive)
+ Addedto-fast-properties@2.0.0(transitive)
- Removedbabel-types@7.0.0-alpha.15(transitive)
- Removedto-fast-properties@1.0.3(transitive)
Updatedbabel-types@7.0.0-alpha.16