@babel/plugin-transform-runtime
Advanced tools
Comparing version 7.22.10 to 7.22.15
@@ -10,5 +10,5 @@ "use strict"; | ||
var _core = require("@babel/core"); | ||
var _helpers = require("./helpers"); | ||
var _getRuntimePath = require("./get-runtime-path"); | ||
var _polyfills = require("./polyfills"); | ||
var _helpers = require("./helpers.js"); | ||
var _index = require("./get-runtime-path/index.js"); | ||
var _polyfills = require("./polyfills.js"); | ||
function supportsStaticESM(caller) { | ||
@@ -71,3 +71,3 @@ return !!(caller != null && caller.supportsStaticESM); | ||
var _modulePath, _file$get; | ||
(_modulePath = modulePath) != null ? _modulePath : modulePath = (0, _getRuntimePath.default)((_file$get = file.get("runtimeHelpersModuleName")) != null ? _file$get : "@babel/runtime", dirname, absoluteRuntime); | ||
(_modulePath = modulePath) != null ? _modulePath : modulePath = (0, _index.default)((_file$get = file.get("runtimeHelpersModuleName")) != null ? _file$get : "@babel/runtime", dirname, absoluteRuntime); | ||
{ | ||
@@ -85,3 +85,3 @@ if (!(file.availableHelper != null && file.availableHelper(name, runtimeVersion))) { | ||
let helperPath = `${modulePath}/${helpersDir}/${name}`; | ||
if (absoluteRuntime) helperPath = (0, _getRuntimePath.resolveFSPath)(helperPath); | ||
if (absoluteRuntime) helperPath = (0, _index.resolveFSPath)(helperPath); | ||
return addDefaultImport(helperPath, name, blockHoist, true); | ||
@@ -88,0 +88,0 @@ }); |
{ | ||
"name": "@babel/plugin-transform-runtime", | ||
"version": "7.22.10", | ||
"version": "7.22.15", | ||
"description": "Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals", | ||
@@ -23,3 +23,3 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-module-imports": "^7.22.5", | ||
"@babel/helper-module-imports": "^7.22.15", | ||
"@babel/helper-plugin-utils": "^7.22.5", | ||
@@ -35,8 +35,8 @@ "babel-plugin-polyfill-corejs2": "^0.4.5", | ||
"devDependencies": { | ||
"@babel/core": "^7.22.10", | ||
"@babel/core": "^7.22.15", | ||
"@babel/helper-plugin-test-runner": "^7.22.5", | ||
"@babel/helpers": "^7.22.10", | ||
"@babel/preset-env": "^7.22.10", | ||
"@babel/runtime": "^7.22.10", | ||
"@babel/runtime-corejs3": "^7.22.10", | ||
"@babel/helpers": "^7.22.15", | ||
"@babel/preset-env": "^7.22.15", | ||
"@babel/runtime": "^7.22.15", | ||
"@babel/runtime-corejs3": "^7.22.15", | ||
"make-dir": "^2.1.0" | ||
@@ -43,0 +43,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38751