babel-helpers
Advanced tools
Comparing version 7.0.0-alpha.12 to 7.0.0-alpha.14
@@ -43,2 +43,4 @@ "use strict"; | ||
helpers.inheritsLoose = (0, _babelTemplate2.default)("\n (function (subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n })\n"); | ||
helpers.instanceof = (0, _babelTemplate2.default)("\n (function (left, right) {\n if (right != null && typeof Symbol !== \"undefined\" && right[Symbol.hasInstance]) {\n return right[Symbol.hasInstance](left);\n } else {\n return left instanceof right;\n }\n });\n"); | ||
@@ -56,3 +58,3 @@ | ||
helpers.possibleConstructorReturn = (0, _babelTemplate2.default)("\n (function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n });\n"); | ||
helpers.possibleConstructorReturn = (0, _babelTemplate2.default)("\n (function (self, call) {\n if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n return call;\n }\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n });\n"); | ||
@@ -59,0 +61,0 @@ helpers.selfGlobal = (0, _babelTemplate2.default)("\n typeof global === \"undefined\" ? self : global\n"); |
{ | ||
"name": "babel-helpers", | ||
"version": "7.0.0-alpha.12", | ||
"version": "7.0.0-alpha.14", | ||
"description": "Collection of helper functions used by Babel transforms.", | ||
@@ -11,4 +11,4 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"dependencies": { | ||
"babel-template": "7.0.0-alpha.12" | ||
"babel-template": "7.0.0-alpha.14" | ||
} | ||
} |
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
18401
87
+ Addedbabel-code-frame@7.0.0-alpha.14(transitive)
+ Addedbabel-helper-function-name@7.0.0-alpha.14(transitive)
+ Addedbabel-helper-get-function-arity@7.0.0-alpha.14(transitive)
+ Addedbabel-messages@7.0.0-alpha.14(transitive)
+ Addedbabel-template@7.0.0-alpha.14(transitive)
+ Addedbabel-traverse@7.0.0-alpha.14(transitive)
+ Addedbabel-types@7.0.0-alpha.14(transitive)
+ Addedbabylon@7.0.0-beta.13(transitive)
- Removedbabel-code-frame@7.0.0-alpha.12(transitive)
- Removedbabel-helper-function-name@7.0.0-alpha.7(transitive)
- Removedbabel-helper-get-function-arity@7.0.0-alpha.7(transitive)
- Removedbabel-messages@7.0.0-alpha.12(transitive)
- Removedbabel-template@7.0.0-alpha.12(transitive)
- Removedbabel-traverse@7.0.0-alpha.12(transitive)
- Removedbabel-types@7.0.0-alpha.12(transitive)
- Removedbabylon@7.0.0-beta.12(transitive)