@babel/plugin-transform-runtime
Advanced tools
Comparing version 7.21.0 to 7.21.4-esm
@@ -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; |
{ | ||
"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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
39190
14
294
2
2