-
Notifications
You must be signed in to change notification settings - Fork 0
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
github-actions
merged 1 commit into
main
from
dependabot/npm_and_yarn/eslint-plugin-regexp-2.6.0
Jun 1, 2024
Merged
build(deps): bump eslint-plugin-regexp from 2.5.0 to 2.6.0 #1317
github-actions
merged 1 commit into
main
from
dependabot/npm_and_yarn/eslint-plugin-regexp-2.6.0
Jun 1, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
bot
added
dependencies
Pull requests that update a dependency file
javascript
Pull requests that update Javascript code
labels
Jun 1, 2024
Diff between eslint-plugin-regexp 2.5.0 and 2.6.0diff --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: {
Command detailsnpm diff --diff=eslint-plugin-regexp@2.5.0 --diff=eslint-plugin-regexp@2.6.0 --diff-unified=2 See also the Reported by ybiquitous/npm-diff-action@v1.6.0 (Node.js 22.2.0 and npm 10.8.1) |
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
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Changelog
Sourced from eslint-plugin-regexp's changelog.
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.03527886
chore: fix demo site26098c4
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.04b0fa15
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 v6Dependabot 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)