babel-runtime
Advanced tools
Comparing version 5.8.34 to 5.8.35
@@ -1,23 +0,1 @@ | ||
"use strict"; | ||
var _assign = require("babel-runtime/core-js/object/assign"); | ||
var _assign2 = _interopRequireDefault(_assign); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.default = _assign2.default || function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
exports.__esModule = true; | ||
module.exports = require("./extends.js"); |
@@ -1,21 +0,1 @@ | ||
"use strict"; | ||
var _hasInstance = require("babel-runtime/core-js/symbol/has-instance"); | ||
var _hasInstance2 = _interopRequireDefault(_hasInstance); | ||
var _symbol = require("babel-runtime/core-js/symbol"); | ||
var _symbol2 = _interopRequireDefault(_symbol); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.default = function (left, right) { | ||
if (right != null && typeof _symbol2.default !== "undefined" && right[_hasInstance2.default]) { | ||
return right[_hasInstance2.default](left); | ||
} else { | ||
return left instanceof right; | ||
} | ||
}; | ||
exports.__esModule = true; | ||
module.exports = require("./instanceof.js"); |
@@ -1,17 +0,1 @@ | ||
"use strict"; | ||
var _typeof2 = require("babel-runtime/helpers/typeof"); | ||
var _typeof3 = _interopRequireDefault(_typeof2); | ||
var _symbol = require("babel-runtime/core-js/symbol"); | ||
var _symbol2 = _interopRequireDefault(_symbol); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.default = function (obj) { | ||
return obj && typeof _symbol2.default !== "undefined" && obj.constructor === _symbol2.default ? "symbol" : typeof obj === "undefined" ? "undefined" : (0, _typeof3.default)(obj); | ||
}; | ||
exports.__esModule = true; | ||
module.exports = require("./typeof.js"); |
"use strict"; | ||
var _promise = require("babel-runtime/core-js/promise"); | ||
exports.__esModule = true; | ||
var _promise = require("../core-js/promise"); | ||
var _promise2 = _interopRequireDefault(_promise); | ||
@@ -13,5 +15,2 @@ | ||
return new _promise2.default(function (resolve, reject) { | ||
var callNext = step.bind(null, "next"); | ||
var callThrow = step.bind(null, "throw"); | ||
function step(key, arg) { | ||
@@ -29,11 +28,13 @@ try { | ||
} else { | ||
_promise2.default.resolve(value).then(callNext, callThrow); | ||
_promise2.default.resolve(value).then(function (value) { | ||
step("next", value); | ||
}, function (err) { | ||
step("throw", err); | ||
}); | ||
} | ||
} | ||
callNext(); | ||
step("next"); | ||
}); | ||
}; | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = function (instance, Constructor) { | ||
@@ -7,4 +9,2 @@ if (!(instance instanceof Constructor)) { | ||
} | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
var _defineProperty = require("babel-runtime/core-js/object/define-property"); | ||
exports.__esModule = true; | ||
var _defineProperty = require("../core-js/object/define-property"); | ||
var _defineProperty2 = _interopRequireDefault(_defineProperty); | ||
@@ -25,4 +27,2 @@ | ||
}; | ||
})(); | ||
exports.__esModule = true; | ||
})(); |
"use strict"; | ||
var _defineProperty = require("babel-runtime/core-js/object/define-property"); | ||
exports.__esModule = true; | ||
var _defineProperty = require("../core-js/object/define-property"); | ||
var _defineProperty2 = _interopRequireDefault(_defineProperty); | ||
@@ -18,4 +20,2 @@ | ||
return obj; | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
var _defineProperty = require("babel-runtime/core-js/object/define-property"); | ||
exports.__esModule = true; | ||
var _defineProperty = require("../core-js/object/define-property"); | ||
var _defineProperty2 = _interopRequireDefault(_defineProperty); | ||
@@ -22,4 +24,2 @@ | ||
return obj; | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = function (obj) { | ||
@@ -7,4 +9,2 @@ return obj && obj.__esModule ? obj : { | ||
}; | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = function (obj) { | ||
@@ -18,4 +20,2 @@ if (obj && obj.__esModule) { | ||
} | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = function (innerThis, boundThis) { | ||
@@ -7,4 +9,2 @@ if (innerThis !== boundThis) { | ||
} | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = function (obj) { | ||
if (obj == null) throw new TypeError("Cannot destructure undefined"); | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = function (obj, keys) { | ||
@@ -13,4 +15,2 @@ var target = {}; | ||
return target; | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
var _typeof2 = require("babel-runtime/helpers/typeof"); | ||
exports.__esModule = true; | ||
var _typeof2 = require("../helpers/typeof"); | ||
var _typeof3 = _interopRequireDefault(_typeof2); | ||
@@ -15,4 +17,2 @@ | ||
return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self; | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
exports.default = typeof global === "undefined" ? self : global; | ||
exports.__esModule = true; | ||
exports.__esModule = true; | ||
exports.default = typeof global === "undefined" ? self : global; |
"use strict"; | ||
var _isIterable2 = require("babel-runtime/core-js/is-iterable"); | ||
exports.__esModule = true; | ||
var _isIterable2 = require("../core-js/is-iterable"); | ||
var _isIterable3 = _interopRequireDefault(_isIterable2); | ||
var _getIterator2 = require("babel-runtime/core-js/get-iterator"); | ||
var _getIterator2 = require("../core-js/get-iterator"); | ||
@@ -49,4 +51,2 @@ var _getIterator3 = _interopRequireDefault(_getIterator2); | ||
}; | ||
})(); | ||
exports.__esModule = true; | ||
})(); |
"use strict"; | ||
var _getIterator2 = require("babel-runtime/core-js/get-iterator"); | ||
exports.__esModule = true; | ||
var _getIterator2 = require("../core-js/get-iterator"); | ||
var _getIterator3 = _interopRequireDefault(_getIterator2); | ||
var _isIterable2 = require("babel-runtime/core-js/is-iterable"); | ||
var _isIterable2 = require("../core-js/is-iterable"); | ||
@@ -29,4 +31,2 @@ var _isIterable3 = _interopRequireDefault(_isIterable2); | ||
} | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
var _defineProperties = require("babel-runtime/core-js/object/define-properties"); | ||
exports.__esModule = true; | ||
var _defineProperties = require("../core-js/object/define-properties"); | ||
var _defineProperties2 = _interopRequireDefault(_defineProperties); | ||
var _freeze = require("babel-runtime/core-js/object/freeze"); | ||
var _freeze = require("../core-js/object/freeze"); | ||
@@ -19,4 +21,2 @@ var _freeze2 = _interopRequireDefault(_freeze); | ||
})); | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = function (strings, raw) { | ||
strings.raw = raw; | ||
return strings; | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = function (val, name, undef) { | ||
@@ -9,4 +11,2 @@ if (val === undef) { | ||
} | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
exports.default = {}; | ||
exports.__esModule = true; | ||
exports.__esModule = true; | ||
exports.default = {}; |
"use strict"; | ||
var _from = require("babel-runtime/core-js/array/from"); | ||
exports.__esModule = true; | ||
var _from = require("../core-js/array/from"); | ||
var _from2 = _interopRequireDefault(_from); | ||
@@ -11,4 +13,2 @@ | ||
return Array.isArray(arr) ? arr : (0, _from2.default)(arr); | ||
}; | ||
exports.__esModule = true; | ||
}; |
"use strict"; | ||
var _from = require("babel-runtime/core-js/array/from"); | ||
exports.__esModule = true; | ||
var _from = require("../core-js/array/from"); | ||
var _from2 = _interopRequireDefault(_from); | ||
@@ -11,3 +13,5 @@ | ||
if (Array.isArray(arr)) { | ||
for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; | ||
for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { | ||
arr2[i] = arr[i]; | ||
} | ||
@@ -18,4 +22,2 @@ return arr2; | ||
} | ||
}; | ||
exports.__esModule = true; | ||
}; |
{ | ||
"name": "babel-runtime", | ||
"version": "5.8.34", | ||
"version": "5.8.35", | ||
"description": "babel selfContained runtime", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
63608
235
1287