@babel/helper-fixtures
Advanced tools
Comparing version 7.24.7 to 7.24.8
@@ -23,3 +23,3 @@ "use strict"; | ||
return require.resolve(module); | ||
} catch (e) { | ||
} catch (_) { | ||
return null; | ||
@@ -34,3 +34,3 @@ } | ||
function shouldIgnore(name, ignore) { | ||
if (ignore && ignore.indexOf(name) >= 0) { | ||
if (ignore != null && ignore.includes(name)) { | ||
return true; | ||
@@ -106,3 +106,3 @@ } | ||
const ext = _path.extname(taskDir); | ||
if (EXTENSIONS.indexOf(ext) === -1) return; | ||
if (!EXTENSIONS.includes(ext)) return; | ||
execLoc = taskDir; | ||
@@ -224,3 +224,3 @@ execLocAlias = suiteName + "/" + taskName; | ||
let name = val[0]; | ||
const match = name.match(/^(@babel\/(?:plugin-|preset-)?)(.*)$/); | ||
const match = /^(@babel\/(?:plugin-|preset-)?)(.*)$/.exec(name); | ||
if (match) { | ||
@@ -227,0 +227,0 @@ name = match[2]; |
{ | ||
"name": "@babel/helper-fixtures", | ||
"version": "7.24.7", | ||
"version": "7.24.8", | ||
"description": "Helper function to support fixtures", | ||
@@ -22,3 +22,3 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"devDependencies": { | ||
"@babel/core": "^7.24.7", | ||
"@babel/core": "^7.24.8", | ||
"@types/semver": "^7.3.4" | ||
@@ -25,0 +25,0 @@ }, |
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
42674
1981