babel-runtime
Advanced tools
Comparing version 6.0.8 to 6.0.12
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _assign = require("babel-runtime/core-js/object/assign"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _hasInstance = require("babel-runtime/core-js/symbol/has-instance"); | ||
@@ -7,2 +9,4 @@ | ||
function _instanceof(left, right) { if (right != null && right[Symbol.hasInstance]) { return right[Symbol.hasInstance](left); } else { return left instanceof right; } } | ||
exports.default = function (left, right) { | ||
@@ -12,3 +16,3 @@ if (right != null && right[_hasInstance2.default]) { | ||
} else { | ||
return left instanceof right; | ||
return _instanceof(left, right); | ||
} | ||
@@ -15,0 +19,0 @@ }; |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _symbol = require("babel-runtime/core-js/symbol"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _promise = require("babel-runtime/core-js/promise"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,3 +1,7 @@ | ||
"use strict"; | ||
function _instanceof(left, right) { if (right != null && right[Symbol.hasInstance]) { return right[Symbol.hasInstance](left); } else { return left instanceof right; } } | ||
exports.default = function (instance, Constructor) { | ||
if (!(instance instanceof Constructor)) { | ||
if (!_instanceof(instance, Constructor)) { | ||
throw new TypeError("Cannot call a class as a function"); | ||
@@ -4,0 +8,0 @@ } |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _defineProperty = require("babel-runtime/core-js/object/define-property"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
exports.default = function (defaultProps, props) { | ||
@@ -2,0 +4,0 @@ if (defaultProps) { |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _defineProperty = require("babel-runtime/core-js/object/define-property"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _defineProperty = require("babel-runtime/core-js/object/define-property"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _getOwnPropertyDescriptor = require("babel-runtime/core-js/object/get-own-property-descriptor"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _setPrototypeOf = require("babel-runtime/core-js/object/set-prototype-of"); | ||
@@ -11,5 +13,7 @@ | ||
function _typeof(obj) { return obj && obj.constructor === Symbol ? "symbol" : typeof obj; } | ||
exports.default = function (subClass, superClass) { | ||
if (typeof superClass !== "function" && superClass !== null) { | ||
throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); | ||
throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : _typeof(superClass))); | ||
} | ||
@@ -16,0 +20,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
exports.default = function (obj) { | ||
@@ -2,0 +4,0 @@ return obj && obj.__esModule ? obj : { |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
exports.default = function (obj) { | ||
@@ -2,0 +4,0 @@ if (obj && obj.__esModule) { |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
exports.default = function (innerThis, boundThis) { | ||
@@ -2,0 +4,0 @@ if (innerThis !== boundThis) { |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
exports.default = function (obj) { | ||
@@ -2,0 +4,0 @@ if (obj == null) throw new TypeError("Cannot destructure undefined"); |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
exports.default = function (obj, keys) { | ||
@@ -2,0 +4,0 @@ var target = {}; |
@@ -0,1 +1,5 @@ | ||
"use strict"; | ||
function _typeof(obj) { return obj && obj.constructor === Symbol ? "symbol" : typeof obj; } | ||
exports.default = function (self, call) { | ||
@@ -6,5 +10,5 @@ if (!self) { | ||
return call && (typeof call === "object" || typeof call === "function") ? call : self; | ||
return call && ((typeof call === "undefined" ? "undefined" : _typeof(call)) === "object" || typeof call === "function") ? call : self; | ||
}; | ||
exports.__esModule = true; |
@@ -0,2 +1,4 @@ | ||
"use strict"; | ||
exports.default = typeof global === "undefined" ? self : global; | ||
exports.__esModule = true; |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _getOwnPropertyDescriptor = require("babel-runtime/core-js/object/get-own-property-descriptor"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _isIterable2 = require("babel-runtime/core-js/is-iterable"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _getIterator2 = require("babel-runtime/core-js/get-iterator"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _defineProperties = require("babel-runtime/core-js/object/define-properties"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
exports.default = function (strings, raw) { | ||
@@ -2,0 +4,0 @@ strings.raw = raw; |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
exports.default = function (val, name, undef) { | ||
@@ -2,0 +4,0 @@ if (val === undef) { |
@@ -0,2 +1,4 @@ | ||
"use strict"; | ||
exports.default = {}; | ||
exports.__esModule = true; |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _from = require("babel-runtime/core-js/array/from"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _from = require("babel-runtime/core-js/array/from"); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _for = require("babel-runtime/core-js/symbol/for"); | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "babel-runtime", | ||
"version": "6.0.8", | ||
"version": "6.0.12", | ||
"description": "babel selfContained runtime", | ||
@@ -12,7 +12,7 @@ "license": "MIT", | ||
"devDependencies": { | ||
"babel-helpers": "^6.0.2", | ||
"babel-plugin-transform-runtime": "^1.0.7", | ||
"babel-template": "^6.0.2", | ||
"babel-helpers": "^6.0.12", | ||
"babel-plugin-transform-runtime": "^6.0.7", | ||
"babel-template": "^6.0.12", | ||
"regenerator": "^0.8.34" | ||
} | ||
} |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
var _promise = require("babel-runtime/core-js/promise"); | ||
@@ -23,2 +25,6 @@ | ||
function _instanceof(left, right) { if (right != null && right[Symbol.hasInstance]) { return right[Symbol.hasInstance](left); } else { return left instanceof right; } } | ||
function _typeof(obj) { return obj && obj.constructor === Symbol ? "symbol" : typeof obj; } | ||
/** | ||
@@ -41,3 +47,3 @@ * Copyright (c) 2014, Facebook, Inc. | ||
var inModule = typeof module === "object"; | ||
var inModule = (typeof module === "undefined" ? "undefined" : _typeof(module)) === "object"; | ||
var runtime = global.regeneratorRuntime; | ||
@@ -161,3 +167,3 @@ if (runtime) { | ||
var value = result.value; | ||
if (value instanceof AwaitArgument) { | ||
if (_instanceof(value, AwaitArgument)) { | ||
return _promise2.default.resolve(value.arg).then(function (value) { | ||
@@ -192,3 +198,3 @@ invoke("next", value, resolve, reject); | ||
if (typeof process === "object" && process.domain) { | ||
if ((typeof process === "undefined" ? "undefined" : _typeof(process)) === "object" && process.domain) { | ||
invoke = process.domain.bind(invoke); | ||
@@ -490,3 +496,3 @@ } | ||
reset: function (skipTempReset) { | ||
reset: function reset(skipTempReset) { | ||
this.prev = 0; | ||
@@ -510,3 +516,3 @@ this.next = 0; | ||
stop: function () { | ||
stop: function stop() { | ||
this.done = true; | ||
@@ -523,3 +529,3 @@ | ||
dispatchException: function (exception) { | ||
dispatchException: function dispatchException(exception) { | ||
if (this.done) { | ||
@@ -573,3 +579,3 @@ throw exception; | ||
abrupt: function (type, arg) { | ||
abrupt: function abrupt(type, arg) { | ||
for (var i = this.tryEntries.length - 1; i >= 0; --i) { | ||
@@ -602,3 +608,3 @@ var entry = this.tryEntries[i]; | ||
complete: function (record, afterLoc) { | ||
complete: function complete(record, afterLoc) { | ||
if (record.type === "throw") { | ||
@@ -618,3 +624,3 @@ throw record.arg; | ||
finish: function (finallyLoc) { | ||
finish: function finish(finallyLoc) { | ||
for (var i = this.tryEntries.length - 1; i >= 0; --i) { | ||
@@ -630,3 +636,3 @@ var entry = this.tryEntries[i]; | ||
"catch": function (tryLoc) { | ||
"catch": function _catch(tryLoc) { | ||
for (var i = this.tryEntries.length - 1; i >= 0; --i) { | ||
@@ -649,3 +655,3 @@ var entry = this.tryEntries[i]; | ||
delegateYield: function (iterable, resultName, nextLoc) { | ||
delegateYield: function delegateYield(iterable, resultName, nextLoc) { | ||
this.delegate = { | ||
@@ -664,2 +670,2 @@ iterator: values(iterable), | ||
// use indirect eval (which violates Content Security Policy). | ||
typeof global === "object" ? global : typeof window === "object" ? window : typeof self === "object" ? self : undefined); | ||
(typeof global === "undefined" ? "undefined" : _typeof(global)) === "object" ? global : (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object" ? window : (typeof self === "undefined" ? "undefined" : _typeof(self)) === "object" ? self : undefined); |
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
63252
1283