Skip to content

Bump regex from 0.1.1 to 4.1.3 #77

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

Closed

Conversation

dependabot[bot]
Copy link

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

Bumps regex from 0.1.1 to 4.1.3.

Release notes

Sourced from regex's releases.

v4.1.3

🚀 Features

  • Added a top-level types field to package.json for tools and configurations that rely on it.
  • Avoids auto-escaping certain characters within character classes when not required.

v4.1.2

🚀 Features

v4.1.1

🚀 Features

  • Combining atomic/possessive syntax with subroutines previously resulted in subroutines using capturing wrappers. This is now avoided when the regex doesn’t use backreferences, resulting in faster-running generated regex source.
  • Possessive fixed repetition quantifiers (e.g. {2}+) are now converted to greedy quantifiers (e.g. {2}), which gives the same behavior with faster-running generated regex source.

🐞 Fixes

  • When using extended syntax (e.g. atomic groups) that resulted in the use of emulation groups in generated source, the subclass: true option could lead to incorrect values for submatches that preceded emulation groups, when used outside of the regex.

v4.1.0

🚀 Features

  • Added support for possessive quantifiers.
  • No longer has any non-dev dependencies.

v4.0.0

This release focused on improving and simplifying the API for advanced options and plugins. With the new features, all JavaScript-based tools that provide regex search or replace can now benefit from adopting regex.

🚨 Breaking

  • The previously experimental/debugging options __flagX, __flagN, __flagV, and __extendSyntax have been redesigned and renamed, and are now documented features via the new options disable: {x, n, v, atomic, subroutines} and force: {v}. The __rake option has been removed, and its behavior is now applied whenever flag x is enabled.
  • The ability to provide an alternate RegExp constructor by modifying this has been removed.
  • Renamed option postprocessors as plugins.
  • Plugins now receive flags as a property of their second argument.

🚀 Features

  • New option subclass: true results in numbered backreferences used outside of the regex automatically referencing their correct groups, in all contexts. The underlying issue is that emulating extended syntax (atomic groups and subroutines) sometimes requires adding anonymous "emulation group" captures to generated regex source. This was already mostly a non-issue because implicit flag n requires the use of named groups. This new option makes it safe to disable n and rely on group numbers while using extended syntax.
  • New option unicodeSetsPlugin allows overriding or removing the built-in backward compatibility for environments without native support for flag v.
  • When using atomic groups, numbered backreferences within the regex (from interpolated regexes, or when flag n is disabled) are now supported and automatically adjusted (previously threw a descriptive error).
  • Improved TypeScript types and introduced type tests, with extensive help and advice from @​benblank.
  • The flags provided to plugins now include the implicit v or u (whichever will be used, based on provided options and the environment's native support for v).
  • The built-in backcompat layer no longer throws in the edge case of using doubly-negated [^\P{…}] with flag i in environments that don't natively support flag v, since the handling was incomplete and the syntax is not always problematic. New option unicodeSetsPlugin allows providing a more robust v transpiler, if needed.

🐞 Fixes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by slevithan, a new releaser for regex since your current version.


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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 1, 2024
@lavaturtle
Copy link

This jumps FOUR major versions, and I don't think we have the bandwidth to evaluate it right now.

Bumps [regex](https://github.com/slevithan/regex) from 0.1.1 to 4.1.3.
- [Release notes](https://github.com/slevithan/regex/releases)
- [Changelog](https://github.com/slevithan/regex/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slevithan/regex/commits/v4.1.3)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/regex-4.1.3 branch from 34a95cc to 1bfd9b5 Compare September 2, 2024 13:29
Copy link
Author

dependabot bot commented on behalf of github Oct 1, 2024

Superseded by #79.

@dependabot dependabot bot closed this Oct 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/regex-4.1.3 branch October 1, 2024 02:34
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.

1 participant