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

@babel/runtime-corejs2

Package Overview
Dependencies
Maintainers
4
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.22.5 to 7.22.6

15

helpers/dispose.js

@@ -16,11 +16,8 @@ var _Object$create = require("core-js/library/fn/object/create.js");

function next() {
if (0 !== stack.length) {
var r = stack.pop();
if (r.a) return _Promise.resolve(r.d.call(r.v)).then(next, err);
try {
r.d.call(r.v);
} catch (e) {
return err(e);
}
return next();
for (; stack.length > 0;) try {
var r = stack.pop(),
p = r.d.call(r.v);
if (r.a) return _Promise.resolve(p).then(next, err);
} catch (e) {
return err(e);
}

@@ -27,0 +24,0 @@ if (hasError) throw error;

@@ -16,11 +16,8 @@ import _Object$create from "core-js/library/fn/object/create.js";

function next() {
if (0 !== stack.length) {
var r = stack.pop();
if (r.a) return _Promise.resolve(r.d.call(r.v)).then(next, err);
try {
r.d.call(r.v);
} catch (e) {
return err(e);
}
return next();
for (; stack.length > 0;) try {
var r = stack.pop(),
p = r.d.call(r.v);
if (r.a) return _Promise.resolve(p).then(next, err);
} catch (e) {
return err(e);
}

@@ -27,0 +24,0 @@ if (hasError) throw error;

2

helpers/esm/using.js

@@ -6,3 +6,3 @@ import _typeof from "./typeof.js";

if (null == value) return value;
if ("object" != _typeof(value)) throw new TypeError("using decarations can only be used with objects, null, or undefined.");
if ("object" != _typeof(value)) throw new TypeError("using declarations can only be used with objects, null, or undefined.");
if (isAwait) var dispose = value[_Symbol.asyncDispose || _Symbol$for("Symbol.asyncDispose")];

@@ -9,0 +9,0 @@ if (null == dispose && (dispose = value[_Symbol.dispose || _Symbol$for("Symbol.dispose")]), "function" != typeof dispose) throw new TypeError("Property [Symbol.dispose] is not a function.");

@@ -6,3 +6,3 @@ var _Symbol = require("core-js/library/fn/symbol/index.js");

if (null == value) return value;
if ("object" != _typeof(value)) throw new TypeError("using decarations can only be used with objects, null, or undefined.");
if ("object" != _typeof(value)) throw new TypeError("using declarations can only be used with objects, null, or undefined.");
if (isAwait) var dispose = value[_Symbol.asyncDispose || _Symbol$for("Symbol.asyncDispose")];

@@ -9,0 +9,0 @@ if (null == dispose && (dispose = value[_Symbol.dispose || _Symbol$for("Symbol.dispose")]), "function" != typeof dispose) throw new TypeError("Property [Symbol.dispose] is not a function.");

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

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

@@ -5,3 +5,3 @@ # @babel/runtime-corejs2

See our website [@babel/runtime-corejs2](https://babeljs.io/docs/en/babel-runtime-corejs2) for more information.
See our website [@babel/runtime-corejs2](https://babeljs.io/docs/babel-runtime-corejs2) for more information.

@@ -8,0 +8,0 @@ ## Install

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