chore(deps): update dependency eslint-plugin-regexp to v2#14730
Merged
Conversation
|
|
5c5fd76 to
edd26d8
Compare
bluwy
reviewed
Oct 25, 2023
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', |
Member
There was a problem hiding this comment.
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') |
Member
There was a problem hiding this comment.
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
Contributor
Author
Edited/Blocked NotificationRenovate 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
approved these changes
Oct 26, 2023
ArnaudBarre
approved these changes
Oct 26, 2023
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
^1.15.0->^2.1.1Release Notes
ota-meshi/eslint-plugin-regexp (eslint-plugin-regexp)
v2.1.1Compare Source
Patch Changes
regexp/no-useless-non-capturing-group(#668)v2.1.0Compare 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.0Compare Source
Major Changes
Drop support for Node.js <=v17, and v19 (#550)
Add
regexp/simplify-set-operationsrule (#595)Remove deprecated rules (#652)
Add
regexp/no-useless-string-literalrule (#639)Add
regexp/no-empty-string-literalrule (#632)Change recommended config (#552)
Drop support for ESLint < v8.44 (#558)
Add
regexp/no-useless-set-operandrule (#625)Add
regexp/prefer-set-operationrule (#616)Use jsdoc-type-pratt-parser instead of jsdoctypeparser (#651)
Minor Changes
Add support for
vflag toregexp/no-dupe-disjunctions(#612)Add support for
vflag toregexp/optimal-quantifier-concatenation(#618)Add support for v flag to
regexp/no-non-standard-flagrule (#596)Add
regexp/grapheme-string-literalrule (#646)Add support for
vflag toregexp/prefer-character-class(#619)Improve
regexp/strictrule 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-drule (#602)Add support for
vflag toregexp/use-ignore-case(#617)Update refa, regexp-ast-analysis, and scslre (#568)
Add support for v flag to
regexp/prefer-unicode-codepoint-escapesrule (#592)Improve
regexp/negationrule to report nested negation character classes (#595)Add support for v flag to
regexp/no-dupe-characters-character-classrule (#608)Add support for v flag to
regexp/no-useless-character-classrule (#593)Add support for v flag to
regexp/sort-character-class-elementsrule (#588)Add support for v flag to
regexp/negationrule (#560)Use Intl.Segmenter instead of grapheme-splitter (#642)
Add support for
vflag toregexp/no-misleading-capturing-group(#620)Add support for v flag to
regexp/unicode-escaperule (#592)Add support for
vflag toregexp/match-any(#628)Improve
regexp/require-unicode-regexprule to allow patterns with v flag (#586)Add support for
vflag toregexp/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-alternativesrule 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-escaperule (#585)Update
@eslint-community/regexppto v4.6 (#554)Add support for v flag to
regexp/no-misleading-unicode-characterrule (#584)Add
regexp/require-unicode-sets-regexprule (#598)Add suggestions for
regexp/no-empty-alternative(#621)prefer-w: Add support forvflag (#578)Added suggestions for
regexp/no-escape-backspace(#622)Improve
regexp/no-invalid-regexprule to check for unknown pattern flags. (#583)Add support for
vflag toregexp/prefer-predefined-assertion(#611)Patch Changes
fix: update regexpp (#634)
Fixed incorrect default of
ignoreStickyoption inregexp/no-super-linear-move(#630)Use new refa AST transformers and fixed max character for
v-flag regexes inno-dupe-disjunctionsandno-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
vflag in 2 util methods (#570)Add more
vflag 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.
This PR has been generated by Mend Renovate. View repository job log here.