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.8.1 to 3.9.0

lib/rules/no-regexp-v-flag.js

14

lib/index.js

@@ -220,5 +220,13 @@ 'use strict';

"disallow hashbang comments",
{ ts: 2022 }
{ ts: 2023 }
);
// ES2024
createRule(
"no-regexp-v-flag",
"edge > 0, safari < 17, firefox < 116, chrome < 112",
"disallow the use of the RegExp `v` flag",
{ ts: 2024 }
);
// Proposals...

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

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

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

languageOptions: {
ecmaVersion: 2023
ecmaVersion: 2024
},

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

{
"name": "eslint-plugin-escompat",
"version": "3.8.1",
"version": "3.9.0",
"description": "",

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

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

- [no-regexp-s-flag](./docs/no-regexp-s-flag.md)
- [no-regexp-v-flag](./docs/no-regexp-v-flag.md)
- [no-top-level-await](./docs/no-top-level-await.md)

@@ -172,0 +173,0 @@

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