@babel/helper-module-transforms
Advanced tools
Comparing version 7.24.7 to 7.24.8
@@ -15,6 +15,6 @@ "use strict"; | ||
if (lazy === true) { | ||
return /\./.test(source) ? null : "lazy"; | ||
return source.includes(".") ? null : "lazy"; | ||
} | ||
if (Array.isArray(lazy)) { | ||
return lazy.indexOf(source) === -1 ? null : "lazy"; | ||
return !lazy.includes(source) ? null : "lazy"; | ||
} | ||
@@ -21,0 +21,0 @@ if (typeof lazy === "function") { |
{ | ||
"name": "@babel/helper-module-transforms", | ||
"version": "7.24.7", | ||
"version": "7.24.8", | ||
"description": "Babel helper functions for implementing ES6 module transformations", | ||
@@ -25,3 +25,3 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"devDependencies": { | ||
"@babel/core": "^7.24.7" | ||
"@babel/core": "^7.24.8" | ||
}, | ||
@@ -28,0 +28,0 @@ "peerDependencies": { |
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
157912