babel-runtime
Advanced tools
Comparing version 7.0.0-alpha.19 to 7.0.0-alpha.20
@@ -11,3 +11,15 @@ exports.__esModule = true; | ||
if (Object.getOwnPropertySymbols) { | ||
var objectSymbols = Object.getOwnPropertySymbols(descs); | ||
for (var i = 0; i < objectSymbols.length; i++) { | ||
var sym = objectSymbols[i]; | ||
var desc = descs[sym]; | ||
desc.configurable = desc.enumerable = true; | ||
if ("value" in desc) desc.writable = true; | ||
Object.defineProperty(obj, sym, desc); | ||
} | ||
} | ||
return obj; | ||
}; |
@@ -9,3 +9,15 @@ export default function (obj, descs) { | ||
if (Object.getOwnPropertySymbols) { | ||
var objectSymbols = Object.getOwnPropertySymbols(descs); | ||
for (var i = 0; i < objectSymbols.length; i++) { | ||
var sym = objectSymbols[i]; | ||
var desc = descs[sym]; | ||
desc.configurable = desc.enumerable = true; | ||
if ("value" in desc) desc.writable = true; | ||
Object.defineProperty(obj, sym, desc); | ||
} | ||
} | ||
return obj; | ||
} |
@@ -19,3 +19,3 @@ export default (function () { | ||
try { | ||
if (!_n && _i["return"]) _i["return"](); | ||
if (!_n && _i["return"] != null) _i["return"](); | ||
} finally { | ||
@@ -22,0 +22,0 @@ if (_d) throw _e; |
@@ -21,3 +21,3 @@ exports.__esModule = true; | ||
try { | ||
if (!_n && _i["return"]) _i["return"](); | ||
if (!_n && _i["return"] != null) _i["return"](); | ||
} finally { | ||
@@ -24,0 +24,0 @@ if (_d) throw _e; |
exports.__esModule = true; | ||
var _getOwnPropertySymbols = require("../core-js/object/get-own-property-symbols"); | ||
var _getOwnPropertySymbols2 = _interopRequireDefault(_getOwnPropertySymbols); | ||
var _defineProperty = require("../core-js/object/define-property"); | ||
@@ -15,2 +19,14 @@ | ||
if (_getOwnPropertySymbols2.default) { | ||
var objectSymbols = (0, _getOwnPropertySymbols2.default)(descs); | ||
for (var i = 0; i < objectSymbols.length; i++) { | ||
var sym = objectSymbols[i]; | ||
var desc = descs[sym]; | ||
desc.configurable = desc.enumerable = true; | ||
if ("value" in desc) desc.writable = true; | ||
(0, _defineProperty2.default)(obj, sym, desc); | ||
} | ||
} | ||
return obj; | ||
@@ -17,0 +33,0 @@ }; |
@@ -0,1 +1,2 @@ | ||
import _Object$getOwnPropertySymbols from "../../core-js/object/get-own-property-symbols"; | ||
import _Object$defineProperty from "../../core-js/object/define-property"; | ||
@@ -11,3 +12,16 @@ export default function (obj, descs) { | ||
if (_Object$getOwnPropertySymbols) { | ||
var objectSymbols = _Object$getOwnPropertySymbols(descs); | ||
for (var i = 0; i < objectSymbols.length; i++) { | ||
var sym = objectSymbols[i]; | ||
var desc = descs[sym]; | ||
desc.configurable = desc.enumerable = true; | ||
if ("value" in desc) desc.writable = true; | ||
_Object$defineProperty(obj, sym, desc); | ||
} | ||
} | ||
return obj; | ||
} |
@@ -21,3 +21,3 @@ import _isIterable from "../../core-js/is-iterable"; | ||
try { | ||
if (!_n && _i["return"]) _i["return"](); | ||
if (!_n && _i["return"] != null) _i["return"](); | ||
} finally { | ||
@@ -24,0 +24,0 @@ if (_d) throw _e; |
@@ -31,3 +31,3 @@ exports.__esModule = true; | ||
try { | ||
if (!_n && _i["return"]) _i["return"](); | ||
if (!_n && _i["return"] != null) _i["return"](); | ||
} finally { | ||
@@ -34,0 +34,0 @@ if (_d) throw _e; |
{ | ||
"name": "babel-runtime", | ||
"version": "7.0.0-alpha.19", | ||
"version": "7.0.0-alpha.20", | ||
"description": "babel selfContained runtime", | ||
@@ -10,8 +10,8 @@ "license": "MIT", | ||
"core-js": "^2.4.0", | ||
"regenerator-runtime": "^0.10.0" | ||
"regenerator-runtime": "^0.11.0" | ||
}, | ||
"devDependencies": { | ||
"babel-helpers": "7.0.0-alpha.19", | ||
"babel-plugin-transform-runtime": "7.0.0-alpha.19" | ||
"babel-helpers": "7.0.0-alpha.20", | ||
"babel-plugin-transform-runtime": "7.0.0-alpha.20" | ||
} | ||
} |
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
87582
2140
+ Addedregenerator-runtime@0.11.1(transitive)
- Removedregenerator-runtime@0.10.5(transitive)
Updatedregenerator-runtime@^0.11.0