babel-helper-optimise-call-expression
Advanced tools
Comparing version 7.0.0-beta.2 to 7.0.0-beta.3
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = _default; | ||
exports.default = function (callee, thisNode, args) { | ||
var t = _interopRequireWildcard(require("babel-types")); | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } | ||
function _default(callee, thisNode, args) { | ||
if (args.length === 1 && t.isSpreadElement(args[0]) && t.isIdentifier(args[0].argument, { | ||
@@ -13,8 +18,2 @@ name: "arguments" | ||
} | ||
}; | ||
var _babelTypes = require("babel-types"); | ||
var t = _interopRequireWildcard(_babelTypes); | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } | ||
} |
{ | ||
"name": "babel-helper-optimise-call-expression", | ||
"version": "7.0.0-beta.2", | ||
"version": "7.0.0-beta.3", | ||
"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-beta.2" | ||
"babel-types": "7.0.0-beta.3" | ||
} | ||
} |
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
1213
+ Addedbabel-types@7.0.0-beta.3(transitive)
- Removedbabel-types@7.0.0-beta.2(transitive)
Updatedbabel-types@7.0.0-beta.3