@babel/runtime
Advanced tools
Comparing version 7.3.4 to 7.4.0
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { | ||
var desc = {}; | ||
Object['ke' + 'ys'](descriptor).forEach(function (key) { | ||
Object.keys(descriptor).forEach(function (key) { | ||
desc[key] = descriptor[key]; | ||
@@ -23,3 +23,3 @@ }); | ||
if (desc.initializer === void 0) { | ||
Object['define' + 'Property'](target, property, desc); | ||
Object.defineProperty(target, property, desc); | ||
desc = null; | ||
@@ -26,0 +26,0 @@ } |
@@ -77,4 +77,4 @@ var AwaitValue = require("./AwaitValue"); | ||
if (typeof gen.return !== "function") { | ||
this.return = undefined; | ||
if (typeof gen["return"] !== "function") { | ||
this["return"] = undefined; | ||
} | ||
@@ -93,7 +93,7 @@ } | ||
AsyncGenerator.prototype.throw = function (arg) { | ||
AsyncGenerator.prototype["throw"] = function (arg) { | ||
return this._invoke("throw", arg); | ||
}; | ||
AsyncGenerator.prototype.return = function (arg) { | ||
AsyncGenerator.prototype["return"] = function (arg) { | ||
return this._invoke("return", arg); | ||
@@ -100,0 +100,0 @@ }; |
@@ -33,4 +33,4 @@ function _asyncGeneratorDelegate(inner, awaitWrap) { | ||
if (typeof inner.throw === "function") { | ||
iter.throw = function (value) { | ||
if (typeof inner["throw"] === "function") { | ||
iter["throw"] = function (value) { | ||
if (waiting) { | ||
@@ -45,4 +45,4 @@ waiting = false; | ||
if (typeof inner.return === "function") { | ||
iter.return = function (value) { | ||
if (typeof inner["return"] === "function") { | ||
iter["return"] = function (value) { | ||
return pump("return", value); | ||
@@ -49,0 +49,0 @@ }; |
@@ -70,3 +70,3 @@ var toArray = require("./toArray"); | ||
var placements = { | ||
static: [], | ||
"static": [], | ||
prototype: [], | ||
@@ -330,3 +330,3 @@ own: [] | ||
key: key, | ||
placement: def.static ? "static" : def.kind === "field" ? "own" : "prototype", | ||
placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype", | ||
descriptor: descriptor | ||
@@ -333,0 +333,0 @@ }; |
export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { | ||
var desc = {}; | ||
Object['ke' + 'ys'](descriptor).forEach(function (key) { | ||
Object.keys(descriptor).forEach(function (key) { | ||
desc[key] = descriptor[key]; | ||
@@ -23,3 +23,3 @@ }); | ||
if (desc.initializer === void 0) { | ||
Object['define' + 'Property'](target, property, desc); | ||
Object.defineProperty(target, property, desc); | ||
desc = null; | ||
@@ -26,0 +26,0 @@ } |
@@ -76,4 +76,4 @@ import AwaitValue from "./AwaitValue"; | ||
if (typeof gen.return !== "function") { | ||
this.return = undefined; | ||
if (typeof gen["return"] !== "function") { | ||
this["return"] = undefined; | ||
} | ||
@@ -92,8 +92,8 @@ } | ||
AsyncGenerator.prototype.throw = function (arg) { | ||
AsyncGenerator.prototype["throw"] = function (arg) { | ||
return this._invoke("throw", arg); | ||
}; | ||
AsyncGenerator.prototype.return = function (arg) { | ||
AsyncGenerator.prototype["return"] = function (arg) { | ||
return this._invoke("return", arg); | ||
}; |
@@ -33,4 +33,4 @@ export default function _asyncGeneratorDelegate(inner, awaitWrap) { | ||
if (typeof inner.throw === "function") { | ||
iter.throw = function (value) { | ||
if (typeof inner["throw"] === "function") { | ||
iter["throw"] = function (value) { | ||
if (waiting) { | ||
@@ -45,4 +45,4 @@ waiting = false; | ||
if (typeof inner.return === "function") { | ||
iter.return = function (value) { | ||
if (typeof inner["return"] === "function") { | ||
iter["return"] = function (value) { | ||
return pump("return", value); | ||
@@ -49,0 +49,0 @@ }; |
@@ -68,3 +68,3 @@ import toArray from "./toArray"; | ||
var placements = { | ||
static: [], | ||
"static": [], | ||
prototype: [], | ||
@@ -328,3 +328,3 @@ own: [] | ||
key: key, | ||
placement: def.static ? "static" : def.kind === "field" ? "own" : "prototype", | ||
placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype", | ||
descriptor: descriptor | ||
@@ -331,0 +331,0 @@ }; |
export default function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { | ||
default: obj | ||
"default": obj | ||
}; | ||
} |
@@ -21,5 +21,5 @@ export default function _interopRequireWildcard(obj) { | ||
newObj.default = obj; | ||
newObj["default"] = obj; | ||
return newObj; | ||
} | ||
} |
var REACT_ELEMENT_TYPE; | ||
export default function _createRawReactElement(type, props, key, children) { | ||
if (!REACT_ELEMENT_TYPE) { | ||
REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol.for && Symbol.for("react.element") || 0xeac7; | ||
REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7; | ||
} | ||
@@ -6,0 +6,0 @@ |
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { | ||
default: obj | ||
"default": obj | ||
}; | ||
@@ -5,0 +5,0 @@ } |
@@ -21,3 +21,3 @@ function _interopRequireWildcard(obj) { | ||
newObj.default = obj; | ||
newObj["default"] = obj; | ||
return newObj; | ||
@@ -24,0 +24,0 @@ } |
@@ -5,3 +5,3 @@ var REACT_ELEMENT_TYPE; | ||
if (!REACT_ELEMENT_TYPE) { | ||
REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol.for && Symbol.for("react.element") || 0xeac7; | ||
REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7; | ||
} | ||
@@ -8,0 +8,0 @@ |
{ | ||
"name": "@babel/runtime", | ||
"version": "7.3.4", | ||
"version": "7.4.0", | ||
"description": "babel's modular runtime helpers", | ||
@@ -12,8 +12,8 @@ "license": "MIT", | ||
"dependencies": { | ||
"regenerator-runtime": "^0.12.0" | ||
"regenerator-runtime": "^0.13.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/helpers": "^7.3.1" | ||
"@babel/helpers": "^7.4.0" | ||
}, | ||
"gitHead": "1f6454cc90fe33e0a32260871212e2f719f35741" | ||
"gitHead": "f1328fb913b5a93d54dfc6e3728b1f56c8f4a804" | ||
} |
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
86060
144
2322
+ Addedregenerator-runtime@0.13.11(transitive)
- Removedregenerator-runtime@0.12.1(transitive)
Updatedregenerator-runtime@^0.13.2