Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-runtime

Package Overview
Dependencies
Maintainers
5
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-runtime - npm Package Compare versions

Comparing version 7.0.0-alpha.19 to 7.0.0-alpha.20

12

helpers/builtin/defineEnumerableProperties.js

@@ -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;
}

2

helpers/builtin/es6/slicedToArray.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc