Socket
Socket
Sign inDemoInstall

@babel/helper-create-regexp-features-plugin

Package Overview
Dependencies
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-create-regexp-features-plugin - npm Package Compare versions

Comparing version 7.25.2 to 7.25.7

6

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc