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

chore(deps): update dependency eslint-plugin-regexp to v2 #14730

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 23, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-regexp ^1.15.0 -> ^2.1.1 age adoption passing confidence

Release Notes

ota-meshi/eslint-plugin-regexp (eslint-plugin-regexp)

v2.1.1

Compare Source

Patch Changes
  • Improved error message and docs for regexp/no-useless-non-capturing-group (#​668)

v2.1.0

Compare Source

Minor Changes
  • Improve detection of useless assertions for regexp/no-useless-assertion (#​663)

  • Add suggestions for regexp/no-useless-assertion (#​666)

Patch Changes
  • Fixed crash for v flag in regexp/optimal-quantifier-concatenation (#​660)

  • Fixed minor mistake in message of no-misleading-unicode-character (#​664)

v2.0.0

Compare Source

Major Changes
  • Drop support for Node.js <=v17, and v19 (#​550)

  • Add regexp/simplify-set-operations rule (#​595)

  • Remove deprecated rules (#​652)

  • Add regexp/no-useless-string-literal rule (#​639)

  • Add regexp/no-empty-string-literal rule (#​632)

  • Change recommended config (#​552)

  • Drop support for ESLint < v8.44 (#​558)

  • Add regexp/no-useless-set-operand rule (#​625)

  • Add regexp/prefer-set-operation rule (#​616)

  • Use jsdoc-type-pratt-parser instead of jsdoctypeparser (#​651)

Minor Changes
  • Add support for v flag to regexp/no-dupe-disjunctions (#​612)

  • Add support for v flag to regexp/optimal-quantifier-concatenation (#​618)

  • Add support for v flag to regexp/no-non-standard-flag rule (#​596)

  • Add regexp/grapheme-string-literal rule (#​646)

  • Add support for v flag to regexp/prefer-character-class (#​619)

  • Improve regexp/strict rule to ignore patterns with v flag (#​591)

  • Add support for string literal to regexp/no-empty-alternative (#​633)

  • Add support for v flag to regexp/prefer-d rule (#​602)

  • Add support for v flag to regexp/use-ignore-case (#​617)

  • Update refa, regexp-ast-analysis, and scslre (#​568)

  • Add support for v flag to regexp/prefer-unicode-codepoint-escapes rule (#​592)

  • Improve regexp/negation rule to report nested negation character classes (#​595)

  • Add support for v flag to regexp/no-dupe-characters-character-class rule (#​608)

  • Add support for v flag to regexp/no-useless-character-class rule (#​593)

  • Add support for v flag to regexp/sort-character-class-elements rule (#​588)

  • Add support for v flag to regexp/negation rule (#​560)

  • Use Intl.Segmenter instead of grapheme-splitter (#​642)

  • Add support for v flag to regexp/no-misleading-capturing-group (#​620)

  • Add support for v flag to regexp/unicode-escape rule (#​592)

  • Add support for v flag to regexp/match-any (#​628)

  • Improve regexp/require-unicode-regexp rule to allow patterns with v flag (#​586)

  • Add support for v flag to regexp/no-contradiction-with-assertion (#​606)

  • Add support for v flag to regexp/no-empty-character-class (#​637)

  • Add suggestions for regexp/no-lazy-ends (#​624)

  • Improve regexp/sort-alternatives rule to add support for string alternatives and v flag (#​587)

  • Add suggestions for regexp/optimal-lookaround-quantifier (#​623)

  • Add support for v flag to regexp/no-useless-escape rule (#​585)

  • Update @eslint-community/regexpp to v4.6 (#​554)

  • Add support for v flag to regexp/no-misleading-unicode-character rule (#​584)

  • Add regexp/require-unicode-sets-regexp rule (#​598)

  • Add suggestions for regexp/no-empty-alternative (#​621)

  • prefer-w: Add support for v flag (#​578)

  • Added suggestions for regexp/no-escape-backspace (#​622)

  • Improve regexp/no-invalid-regexp rule to check for unknown pattern flags. (#​583)

  • Add support for v flag to regexp/prefer-predefined-assertion (#​611)

Patch Changes
  • fix: update regexpp (#​634)

  • Fixed incorrect default of ignoreSticky option in regexp/no-super-linear-move (#​630)

  • Use new refa AST transformers and fixed max character for v-flag regexes in no-dupe-disjunctions and no-super-linear-move. (#​569)

  • fix: autofix for incorrect no-escaping in regexp/no-useless-string-literal (#​645)

  • Fix typo in no-useless-non-capturing-group (#​555)

  • Use new ESLint API (#​654)

  • Account for v flag in 2 util methods (#​570)

  • Add more v flag tests (#​627)

  • Fix parseFlags (#​571)


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 23, 2023
@stackblitz
Copy link

stackblitz bot commented Oct 23, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@renovate renovate bot force-pushed the renovate/eslint-plugin-regexp-2.x branch from 5c5fd76 to edd26d8 Compare October 23, 2023 08:00
Comment on lines +111 to +112
// in some cases using explicit letter-casing is more performant than the `i` flag
'regexp/use-ignore-case': 'off',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked https://stackoverflow.com/questions/32010/is-regex-case-insensitivity-slower and I think we should ignore this rule for now. It's suggesting our [a-zA-Z] regexes to use the i flag.

Comment on lines -347 to +348
fileName = fileName.replace(/(.+)\.(.+)/, '$1-legacy.$2')
// entry.min.js -> entry-legacy.min.js
fileName = fileName.replace(/(.+?)\.(.+)/, '$1-legacy.$2')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a mini breaking change as before entry.min.js would be entry.min-legacy.js, but luckily we were also fixing this for plugin-legacy's next major: #11599

@renovate
Copy link
Contributor Author

renovate bot commented Oct 25, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@bluwy bluwy merged commit 0a7c753 into main Oct 26, 2023
10 checks passed
@bluwy bluwy deleted the renovate/eslint-plugin-regexp-2.x branch October 26, 2023 15:05
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants