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

@babel/runtime-corejs2

Package Overview
Dependencies
Maintainers
5
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/runtime-corejs2 - npm Package Compare versions

Comparing version 7.6.3 to 7.7.0

2

helpers/AsyncGenerator.js

@@ -37,3 +37,3 @@ var _Symbol = require("../core-js/symbol");

if (wrappedAwait) {
resume("next", arg);
resume(key === "return" ? "return" : "next", arg);
return;

@@ -40,0 +40,0 @@ }

@@ -52,2 +52,7 @@ var _Symbol$iterator = require("../core-js/symbol/iterator");

iter["return"] = function (value) {
if (waiting) {
waiting = false;
return value;
}
return pump("return", value);

@@ -54,0 +59,0 @@ };

@@ -34,3 +34,3 @@ import _Symbol from "../../core-js/symbol";

if (wrappedAwait) {
resume("next", arg);
resume(key === "return" ? "return" : "next", arg);
return;

@@ -37,0 +37,0 @@ }

@@ -49,2 +49,7 @@ import _Symbol$iterator from "../../core-js/symbol/iterator";

iter["return"] = function (value) {
if (waiting) {
waiting = false;
return value;
}
return pump("return", value);

@@ -51,0 +56,0 @@ };

export default function _initializerWarningHelper(descriptor, context) {
throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and set to use loose mode. ' + 'To use proposal-class-properties in spec mode with decorators, wait for ' + 'the next major version of decorators in stage 2.');
throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.');
}
import _Object$getOwnPropertyDescriptor from "../../core-js/object/get-own-property-descriptor";
import _Object$defineProperty from "../../core-js/object/define-property";
import _typeof from "../../helpers/esm/typeof";
import _WeakMap from "../../core-js/weak-map";

@@ -21,2 +22,8 @@

if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
return {
"default": obj
};
}
var cache = _getRequireWildcardCache();

@@ -29,15 +36,12 @@

var newObj = {};
var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor;
if (obj != null) {
var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor;
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null;
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null;
if (desc && (desc.get || desc.set)) {
_Object$defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}
if (desc && (desc.get || desc.set)) {
_Object$defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}

@@ -44,0 +48,0 @@ }

function _initializerWarningHelper(descriptor, context) {
throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and set to use loose mode. ' + 'To use proposal-class-properties in spec mode with decorators, wait for ' + 'the next major version of decorators in stage 2.');
throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.');
}
module.exports = _initializerWarningHelper;

@@ -5,2 +5,4 @@ var _Object$getOwnPropertyDescriptor = require("../core-js/object/get-own-property-descriptor");

var _typeof = require("../helpers/typeof");
var _WeakMap = require("../core-js/weak-map");

@@ -24,2 +26,8 @@

if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
return {
"default": obj
};
}
var cache = _getRequireWildcardCache();

@@ -32,15 +40,12 @@

var newObj = {};
var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor;
if (obj != null) {
var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor;
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null;
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null;
if (desc && (desc.get || desc.set)) {
_Object$defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}
if (desc && (desc.get || desc.set)) {
_Object$defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}

@@ -47,0 +52,0 @@ }

{
"name": "@babel/runtime-corejs2",
"version": "7.6.3",
"version": "7.7.0",
"description": "babel's modular runtime helpers with core-js@2 polyfilling",

@@ -16,5 +16,5 @@ "license": "MIT",

"devDependencies": {
"@babel/helpers": "^7.6.2"
"@babel/helpers": "^7.7.0"
},
"gitHead": "d329156ebc17da01382acb83e212cb4328534ebc"
"gitHead": "97faa83953cb87e332554fa559a4956d202343ea"
}
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