Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump eslint-plugin-regexp from 2.5.0 to 2.6.0 #1317

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2024

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps eslint-plugin-regexp from 2.5.0 to 2.6.0.

Release notes

Sourced from eslint-plugin-regexp's releases.

v2.6.0

Minor Changes

  • Improved compatibility of type information with typescript-eslint in config. (#740)
Changelog

Sourced from eslint-plugin-regexp's changelog.

2.6.0

Minor Changes

  • Improved compatibility of type information with typescript-eslint in config. (#740)
Commits
  • 592cb53 chore: release eslint-plugin-regexp (#741)
  • a52db89 chore(deps): update mcr.microsoft.com/devcontainers/typescript-node docker ta...
  • 9f1bd50 Generate string literal types for configs (#740)
  • 7cb329d chore(deps): update dependency markdownlint-cli to ^0.40.0
  • 3527886 chore: fix demo site
  • 26098c4 chore(deps): update dependency @​ota-meshi/site-kit-eslint-editor-vue to ^0.2....
  • 6739893 chore(deps): update dependency vite-plugin-eslint4b to ^0.4.0
  • 4b0fa15 Automate pull-requests for resource updates (#732)
  • 035f6bf chore: add script to auto update unicode-alias (#730)
  • 8c23a79 chore(deps): update dependency eslint-plugin-eslint-plugin to v6
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [eslint-plugin-regexp](https://github.com/ota-meshi/eslint-plugin-regexp) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/ota-meshi/eslint-plugin-regexp/releases)
- [Changelog](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/CHANGELOG.md)
- [Commits](ota-meshi/eslint-plugin-regexp@v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-regexp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 1, 2024
@github-actions github-actions bot enabled auto-merge (squash) June 1, 2024 03:39
Copy link
Contributor

github-actions bot commented Jun 1, 2024

Diff between eslint-plugin-regexp 2.5.0 and 2.6.0
diff --git a/package.json b/package.json
index v2.5.0..v2.6.0 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
 {
     "name": "eslint-plugin-regexp",
-    "version": "2.5.0",
+    "version": "2.6.0",
     "description": "ESLint plugin for finding RegExp mistakes and RegExp style guide violations.",
     "engines": {
@@ -27,4 +27,5 @@
         "update": "ts-node --transpile-only ./tools/update.ts && npm run eslint-fix && npm run update:eslint-docs",
         "update:eslint-docs": "npm run build && eslint-doc-generator",
+        "update:unicode-alias": "ts-node ./tools/update-unicode-alias.ts",
         "new": "ts-node ./tools/new-rule.ts",
         "docs:watch": "vitepress dev docs",
@@ -64,5 +65,5 @@
         "@changesets/cli": "^2.26.2",
         "@ota-meshi/eslint-plugin": "^0.15.1",
-        "@ota-meshi/site-kit-eslint-editor-vue": "^0.1.2",
+        "@ota-meshi/site-kit-eslint-editor-vue": "^0.2.0",
         "@svitejs/changesets-changelog-github-compact": "^1.1.0",
         "@types/chai": "^4.2.22",
@@ -82,16 +83,16 @@
         "eslint-import-resolver-typescript": "^3.6.1",
         "eslint-plugin-eslint-comments": "^3.2.0",
-        "eslint-plugin-eslint-plugin": "^5.2.1",
+        "eslint-plugin-eslint-plugin": "^6.0.0",
         "eslint-plugin-import": "^2.29.1",
         "eslint-plugin-json-schema-validator": "^5.0.0",
         "eslint-plugin-jsonc": "^2.0.0",
-        "eslint-plugin-n": "^16.0.0",
+        "eslint-plugin-n": "^17.0.0",
         "eslint-plugin-prettier": "^5.0.0",
-        "eslint-plugin-regexp": "~2.4.0",
+        "eslint-plugin-regexp": "~2.5.0",
         "eslint-plugin-vue": "^9.0.0",
         "eslint-plugin-yml": "^1.0.0",
         "eslint-snapshot-rule-tester": "^0.1.0",
         "intl-segmenter-polyfill": "^0.4.4",
-        "markdownlint-cli": "^0.39.0",
+        "markdownlint-cli": "^0.40.0",
         "mocha": "^10.0.0",
         "mocha-chai-jest-snapshot": "^1.1.3",
@@ -105,5 +106,5 @@
         "ts-node": "^10.2.1",
         "typescript": "~5.4.0",
-        "vite-plugin-eslint4b": "^0.2.3",
+        "vite-plugin-eslint4b": "^0.4.0",
         "vitepress": "^1.0.0",
         "vue-eslint-parser": "^9.0.0"
diff --git a/dist/configs/rules/all.d.ts b/dist/configs/rules/all.d.ts
index v2.5.0..v2.6.0 100644
--- a/dist/configs/rules/all.d.ts
+++ b/dist/configs/rules/all.d.ts
@@ -1,69 +1,4 @@
+import type { SeverityString } from "../../types";
 export declare const rules: {
-    "no-control-regex": string;
-    "no-misleading-character-class": string;
-    "no-regex-spaces": string;
-    "prefer-regex-literals": string;
-    "no-invalid-regexp": string;
-    "no-useless-backreference": string;
-    "no-empty-character-class": string;
-    "regexp/confusing-quantifier": string;
-    "regexp/control-character-escape": string;
-    "regexp/match-any": string;
-    "regexp/negation": string;
-    "regexp/no-contradiction-with-assertion": string;
-    "regexp/no-dupe-characters-character-class": string;
-    "regexp/no-dupe-disjunctions": string;
-    "regexp/no-empty-alternative": string;
-    "regexp/no-empty-capturing-group": string;
-    "regexp/no-empty-character-class": string;
-    "regexp/no-empty-group": string;
-    "regexp/no-empty-lookarounds-assertion": string;
-    "regexp/no-empty-string-literal": string;
-    "regexp/no-escape-backspace": string;
-    "regexp/no-extra-lookaround-assertions": string;
-    "regexp/no-invalid-regexp": string;
-    "regexp/no-invisible-character": string;
-    "regexp/no-lazy-ends": string;
-    "regexp/no-legacy-features": string;
-    "regexp/no-misleading-capturing-group": string;
-    "regexp/no-misleading-unicode-character": string;
-    "regexp/no-missing-g-flag": string;
-    "regexp/no-non-standard-flag": string;
-    "regexp/no-obscure-range": string;
-    "regexp/no-optional-assertion": string;
-    "regexp/no-potentially-useless-backreference": string;
-    "regexp/no-super-linear-backtracking": string;
-    "regexp/no-trivially-nested-assertion": string;
-    "regexp/no-trivially-nested-quantifier": string;
-    "regexp/no-unused-capturing-group": string;
-    "regexp/no-useless-assertions": string;
-    "regexp/no-useless-backreference": string;
-    "regexp/no-useless-character-class": string;
-    "regexp/no-useless-dollar-replacements": string;
-    "regexp/no-useless-escape": string;
-    "regexp/no-useless-flag": string;
-    "regexp/no-useless-lazy": string;
-    "regexp/no-useless-non-capturing-group": string;
-    "regexp/no-useless-quantifier": string;
-    "regexp/no-useless-range": string;
-    "regexp/no-useless-set-operand": string;
-    "regexp/no-useless-string-literal": string;
-    "regexp/no-useless-two-nums-quantifier": string;
-    "regexp/no-zero-quantifier": string;
-    "regexp/optimal-lookaround-quantifier": string;
-    "regexp/optimal-quantifier-concatenation": string;
-    "regexp/prefer-character-class": string;
-    "regexp/prefer-d": string;
-    "regexp/prefer-plus-quantifier": string;
-    "regexp/prefer-predefined-assertion": string;
-    "regexp/prefer-question-quantifier": string;
-    "regexp/prefer-range": string;
-    "regexp/prefer-set-operation": string;
-    "regexp/prefer-star-quantifier": string;
-    "regexp/prefer-unicode-codepoint-escapes": string;
-    "regexp/prefer-w": string;
-    "regexp/simplify-set-operations": string;
-    "regexp/sort-flags": string;
-    "regexp/strict": string;
-    "regexp/use-ignore-case": string;
+    [x: string]: SeverityString;
 };
diff --git a/dist/configs/rules/recommended.d.ts b/dist/configs/rules/recommended.d.ts
index v2.5.0..v2.6.0 100644
--- a/dist/configs/rules/recommended.d.ts
+++ b/dist/configs/rules/recommended.d.ts
@@ -1,69 +1,2 @@
-export declare const rules: {
-    "no-control-regex": string;
-    "no-misleading-character-class": string;
-    "no-regex-spaces": string;
-    "prefer-regex-literals": string;
-    "no-invalid-regexp": string;
-    "no-useless-backreference": string;
-    "no-empty-character-class": string;
-    "regexp/confusing-quantifier": string;
-    "regexp/control-character-escape": string;
-    "regexp/match-any": string;
-    "regexp/negation": string;
-    "regexp/no-contradiction-with-assertion": string;
-    "regexp/no-dupe-characters-character-class": string;
-    "regexp/no-dupe-disjunctions": string;
-    "regexp/no-empty-alternative": string;
-    "regexp/no-empty-capturing-group": string;
-    "regexp/no-empty-character-class": string;
-    "regexp/no-empty-group": string;
-    "regexp/no-empty-lookarounds-assertion": string;
-    "regexp/no-empty-string-literal": string;
-    "regexp/no-escape-backspace": string;
-    "regexp/no-extra-lookaround-assertions": string;
-    "regexp/no-invalid-regexp": string;
-    "regexp/no-invisible-character": string;
-    "regexp/no-lazy-ends": string;
-    "regexp/no-legacy-features": string;
-    "regexp/no-misleading-capturing-group": string;
-    "regexp/no-misleading-unicode-character": string;
-    "regexp/no-missing-g-flag": string;
-    "regexp/no-non-standard-flag": string;
-    "regexp/no-obscure-range": string;
-    "regexp/no-optional-assertion": string;
-    "regexp/no-potentially-useless-backreference": string;
-    "regexp/no-super-linear-backtracking": string;
-    "regexp/no-trivially-nested-assertion": string;
-    "regexp/no-trivially-nested-quantifier": string;
-    "regexp/no-unused-capturing-group": string;
-    "regexp/no-useless-assertions": string;
-    "regexp/no-useless-backreference": string;
-    "regexp/no-useless-character-class": string;
-    "regexp/no-useless-dollar-replacements": string;
-    "regexp/no-useless-escape": string;
-    "regexp/no-useless-flag": string;
-    "regexp/no-useless-lazy": string;
-    "regexp/no-useless-non-capturing-group": string;
-    "regexp/no-useless-quantifier": string;
-    "regexp/no-useless-range": string;
-    "regexp/no-useless-set-operand": string;
-    "regexp/no-useless-string-literal": string;
-    "regexp/no-useless-two-nums-quantifier": string;
-    "regexp/no-zero-quantifier": string;
-    "regexp/optimal-lookaround-quantifier": string;
-    "regexp/optimal-quantifier-concatenation": string;
-    "regexp/prefer-character-class": string;
-    "regexp/prefer-d": string;
-    "regexp/prefer-plus-quantifier": string;
-    "regexp/prefer-predefined-assertion": string;
-    "regexp/prefer-question-quantifier": string;
-    "regexp/prefer-range": string;
-    "regexp/prefer-set-operation": string;
-    "regexp/prefer-star-quantifier": string;
-    "regexp/prefer-unicode-codepoint-escapes": string;
-    "regexp/prefer-w": string;
-    "regexp/simplify-set-operations": string;
-    "regexp/sort-flags": string;
-    "regexp/strict": string;
-    "regexp/use-ignore-case": string;
-};
+import type { SeverityString } from "../../types";
+export declare const rules: Record<string, SeverityString>;
diff --git a/dist/types.d.ts b/dist/types.d.ts
index v2.5.0..v2.6.0 100644
--- a/dist/types.d.ts
+++ b/dist/types.d.ts
@@ -7,4 +7,5 @@
 }
 export type RuleCategory = "Possible Errors" | "Best Practices" | "Stylistic Issues";
+export type SeverityString = "error" | "warn" | "off";
 export interface RuleMetaData {
     docs: {
@@ -15,5 +16,5 @@
         ruleId: string;
         ruleName: string;
-        default?: "error" | "warn";
+        default?: Exclude<SeverityString, "off">;
     };
     messages: {
@@ -36,5 +37,5 @@
         category: RuleCategory;
         recommended: boolean;
-        default?: "error" | "warn";
+        default?: Exclude<SeverityString, "off">;
     };
     messages: {
Size Files
815.4 KB → 810.0 KB (-5.4 KB 🟢) 291 → 291 (±0 🟢)
Command details
npm diff --diff=eslint-plugin-regexp@2.5.0 --diff=eslint-plugin-regexp@2.6.0 --diff-unified=2

See also the npm diff document.

Reported by ybiquitous/npm-diff-action@v1.6.0 (Node.js 22.2.0 and npm 10.8.1)

@github-actions github-actions bot merged commit 9d5ea90 into main Jun 1, 2024
7 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/eslint-plugin-regexp-2.6.0 branch June 1, 2024 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants