@babel/helper-create-regexp-features-plugin
Advanced tools
Comparing version 7.25.2 to 7.25.7
@@ -52,8 +52,8 @@ "use strict"; | ||
if (typeof file.get(versionKey) === "number") { | ||
file.set(versionKey, "7.25.2"); | ||
file.set(versionKey, "7.25.7"); | ||
return; | ||
} | ||
} | ||
if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.25.2")) { | ||
file.set(versionKey, "7.25.2"); | ||
if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.25.7")) { | ||
file.set(versionKey, "7.25.7"); | ||
} | ||
@@ -60,0 +60,0 @@ }, |
@@ -11,4 +11,4 @@ "use strict"; | ||
function generateRegexpuOptions(pattern, toTransform) { | ||
const feat = (name, ok = "transform") => { | ||
return (0, _features.hasFeature)(toTransform, _features.FEATURES[name]) ? ok : false; | ||
const feat = name => { | ||
return (0, _features.hasFeature)(toTransform, _features.FEATURES[name]) ? "transform" : false; | ||
}; | ||
@@ -26,3 +26,3 @@ const featDuplicateNamedGroups = () => { | ||
unicodeFlag: feat("unicodeFlag"), | ||
unicodeSetsFlag: feat("unicodeSetsFlag") || "parse", | ||
unicodeSetsFlag: feat("unicodeSetsFlag"), | ||
dotAllFlag: feat("dotAllFlag"), | ||
@@ -29,0 +29,0 @@ unicodePropertyEscapes: feat("unicodePropertyEscape"), |
{ | ||
"name": "@babel/helper-create-regexp-features-plugin", | ||
"version": "7.25.2", | ||
"version": "7.25.7", | ||
"author": "The Babel Team (https://babel.dev/team)", | ||
@@ -21,4 +21,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@babel/helper-annotate-as-pure": "^7.24.7", | ||
"regexpu-core": "^5.3.1", | ||
"@babel/helper-annotate-as-pure": "^7.25.7", | ||
"regexpu-core": "^6.1.1", | ||
"semver": "^6.3.1" | ||
@@ -30,4 +30,4 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "^7.25.2", | ||
"@babel/helper-plugin-test-runner": "^7.24.7" | ||
"@babel/core": "^7.25.7", | ||
"@babel/helper-plugin-test-runner": "^7.25.7" | ||
}, | ||
@@ -34,0 +34,0 @@ "engines": { |
@@ -14,8 +14,8 @@ /* This file is automatically generated by scripts/generators/tsconfig.js */ | ||
{ | ||
"path": "../../packages/babel-helper-plugin-utils" | ||
"path": "../../packages/babel-helper-annotate-as-pure" | ||
}, | ||
{ | ||
"path": "../../packages/babel-helper-annotate-as-pure" | ||
"path": "../../packages/babel-core" | ||
} | ||
] | ||
} |
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
97675
+ Addedregexpu-core@6.1.1(transitive)
+ Addedregjsgen@0.8.0(transitive)
+ Addedregjsparser@0.11.0(transitive)
- Removed@babel/regjsgen@0.8.0(transitive)
- Removedjsesc@0.5.0(transitive)
- Removedregexpu-core@5.3.2(transitive)
- Removedregjsparser@0.9.1(transitive)
Updatedregexpu-core@^6.1.1