Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-runtime

Package Overview
Dependencies
70
Maintainers
4
Versions
131
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.21.0 to 7.21.4-esm

lib/package.json

10

lib/index.js

@@ -146,7 +146,9 @@ "use strict";

file.set("helperGenerator", name => {
if (!(file.availableHelper != null && file.availableHelper(name, runtimeVersion))) {
if (name === "regeneratorRuntime") {
return _core.types.arrowFunctionExpression([], _core.types.identifier("regeneratorRuntime"));
{
if (!(file.availableHelper != null && file.availableHelper(name, runtimeVersion))) {
if (name === "regeneratorRuntime") {
return _core.types.arrowFunctionExpression([], _core.types.identifier("regeneratorRuntime"));
}
return;
}
return;
}

@@ -153,0 +155,0 @@ const isInteropHelper = HEADER_HELPERS.indexOf(name) !== -1;

24

package.json
{
"name": "@babel/plugin-transform-runtime",
"version": "7.21.0",
"version": "7.21.4-esm",
"description": "Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals",

@@ -23,4 +23,4 @@ "repository": {

"dependencies": {
"@babel/helper-module-imports": "^7.18.6",
"@babel/helper-plugin-utils": "^7.20.2",
"@babel/helper-module-imports": "^7.21.4-esm",
"@babel/helper-plugin-utils": "^7.21.4-esm",
"babel-plugin-polyfill-corejs2": "^0.3.3",

@@ -32,13 +32,13 @@ "babel-plugin-polyfill-corejs3": "^0.6.0",

"peerDependencies": {
"@babel/core": "^7.0.0-0"
"@babel/core": "^7.0.0-0 || 7.21.4-esm"
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/helper-plugin-test-runner": "^7.18.6",
"@babel/helpers": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@babel/runtime": "^7.21.0",
"@babel/runtime-corejs3": "^7.21.0",
"@babel/template": "^7.20.7",
"@babel/types": "^7.21.0",
"@babel/core": "^7.21.4-esm",
"@babel/helper-plugin-test-runner": "^7.21.4-esm",
"@babel/helpers": "^7.21.4-esm",
"@babel/preset-env": "^7.21.4-esm",
"@babel/runtime": "^7.21.4-esm",
"@babel/runtime-corejs3": "^7.21.4-esm",
"@babel/template": "^7.21.4-esm",
"@babel/types": "^7.21.4-esm",
"make-dir": "^2.1.0"

@@ -45,0 +45,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc