Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-escompat

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-escompat - npm Package Compare versions

Comparing version 3.9.0 to 3.10.0

lib/rules/no-regexp-duplicate-named-groups.js

12

lib/index.js

@@ -231,2 +231,10 @@ 'use strict';

// ES2025
createRule(
"no-regexp-duplicate-named-groups",
"edge < 125, safari < 17, firefox < 129, chrome < 125",
"disallow the use of RegExp duplicate named groups",
{ ts: 2025 }
);
// Proposals...

@@ -251,3 +259,3 @@ createRule(

plugins: ["escompat"],
parserOptions: { ecmaVersion: 2024 },
parserOptions: { ecmaVersion: 2025 },
rules: Object.keys(module.exports.rules).reduce(

@@ -265,3 +273,3 @@ (o, r) => ((o["escompat/" + r] = ["error"]), o),

languageOptions: {
ecmaVersion: 2024
ecmaVersion: 2025
},

@@ -268,0 +276,0 @@ rules: Object.keys(module.exports.rules).reduce(

2

package.json
{
"name": "eslint-plugin-escompat",
"version": "3.9.0",
"version": "3.10.0",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

@@ -167,2 +167,3 @@ # eslint-plugin-escompat

- [no-public-static-class-fields](./docs/no-public-static-class-fields.md)
- [no-regexp-duplicate-named-groups](./docs/no-regexp-duplicate-named-groups.md)
- [no-regexp-lookbehind](./docs/no-regexp-lookbehind.md)

@@ -169,0 +170,0 @@ - [no-regexp-named-group](./docs/no-regexp-named-group.md)

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