babel-helper-wrap-function
Advanced tools
Comparing version 7.0.0-beta.2 to 7.0.0-beta.3
@@ -6,14 +6,8 @@ "use strict"; | ||
var _babelHelperFunctionName = require("babel-helper-function-name"); | ||
var _babelHelperFunctionName = _interopRequireDefault(require("babel-helper-function-name")); | ||
var _babelHelperFunctionName2 = _interopRequireDefault(_babelHelperFunctionName); | ||
var _babelTemplate = _interopRequireDefault(require("babel-template")); | ||
var _babelTemplate = require("babel-template"); | ||
var t = _interopRequireWildcard(require("babel-types")); | ||
var _babelTemplate2 = _interopRequireDefault(_babelTemplate); | ||
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; } } | ||
@@ -23,4 +17,4 @@ | ||
var buildWrapper = (0, _babelTemplate2.default)("\n (() => {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })\n"); | ||
var namedBuildWrapper = (0, _babelTemplate2.default)("\n (() => {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })\n"); | ||
var buildWrapper = (0, _babelTemplate.default)("\n (() => {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })\n"); | ||
var namedBuildWrapper = (0, _babelTemplate.default)("\n (() => {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })\n"); | ||
@@ -89,3 +83,3 @@ function classOrObjectMethod(path, callId) { | ||
if (!functionId) { | ||
(0, _babelHelperFunctionName2.default)({ | ||
(0, _babelHelperFunctionName.default)({ | ||
node: retFunction, | ||
@@ -92,0 +86,0 @@ parent: path.parent, |
{ | ||
"name": "babel-helper-wrap-function", | ||
"version": "7.0.0-beta.2", | ||
"version": "7.0.0-beta.3", | ||
"description": "Helper to wrap functions inside a function call.", | ||
@@ -9,7 +9,7 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function", | ||
"dependencies": { | ||
"babel-helper-function-name": "7.0.0-beta.2", | ||
"babel-template": "7.0.0-beta.2", | ||
"babel-traverse": "7.0.0-beta.2", | ||
"babel-types": "7.0.0-beta.2" | ||
"babel-helper-function-name": "7.0.0-beta.3", | ||
"babel-template": "7.0.0-beta.3", | ||
"babel-traverse": "7.0.0-beta.3", | ||
"babel-types": "7.0.0-beta.3" | ||
} | ||
} |
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
@babel/helper-wrap-function |
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
4377
80
1
+ Addedbabel-code-frame@7.0.0-beta.3(transitive)
+ Addedbabel-helper-function-name@7.0.0-beta.3(transitive)
+ Addedbabel-helper-get-function-arity@7.0.0-beta.3(transitive)
+ Addedbabel-template@7.0.0-beta.3(transitive)
+ Addedbabel-traverse@7.0.0-beta.3(transitive)
+ Addedbabel-types@7.0.0-beta.3(transitive)
+ Addedbabylon@7.0.0-beta.27(transitive)
- Removedbabel-code-frame@7.0.0-beta.2(transitive)
- Removedbabel-helper-function-name@7.0.0-beta.2(transitive)
- Removedbabel-helper-get-function-arity@7.0.0-beta.2(transitive)
- Removedbabel-messages@7.0.0-beta.2(transitive)
- Removedbabel-template@7.0.0-beta.2(transitive)
- Removedbabel-traverse@7.0.0-beta.2(transitive)
- Removedbabel-types@7.0.0-beta.2(transitive)
- Removedbabylon@7.0.0-beta.25(transitive)
Updatedbabel-template@7.0.0-beta.3
Updatedbabel-traverse@7.0.0-beta.3
Updatedbabel-types@7.0.0-beta.3