Skip to content

chore(deps): bump re2js from 1.0.1 to 2.0.1#4520

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/re2js-2.0.1
Open

chore(deps): bump re2js from 1.0.1 to 2.0.1#4520
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/re2js-2.0.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 9, 2026

Bumps re2js from 1.0.1 to 2.0.1.

Release notes

Sourced from re2js's releases.

2.0.1

What's Changed

  • Performance improvements for DFA
  • Add more info about performance in README

Full Changelog: le0pard/re2js@2.0.0...2.0.1

2.0.0

What's Changed

Breaking Changes

  • Native JavaScript replacement semantics by default: replaceAll and replaceFirst now use native ECMAScript replacement semantics by default ($$ escapes a dollar sign, and \ is treated literally).
  • Legacy Java mode opt-in: If you relied on the previous Java-style escaping (where \ escapes special characters and throws exceptions on invalid capture groups), you must now explicitly pass true for the new javaMode flag (e.g., replaceAll(replacement, true))

Full Changelog: le0pard/re2js@1.3.3...2.0.0

1.3.3

What's Changed

  • fix information disclosure and XSS in Matcher.quoteReplacement

Full Changelog: le0pard/re2js@1.3.2...1.3.3

1.3.2

What's Changed

  • Massive matches() Speedup: Upgraded both the instance and static RE2JS.matches() methods to use the new testExact() DFA fast-path under the hood. Existing code using .matches() gets a free, significant performance boost and ReDoS immunity without any code changes.

Full Changelog: le0pard/re2js@1.3.1...1.3.2

1.3.1

What's Changed

  • Finished DFA implementation
  • Added high-performance boolean testing test() and testExact() methods
--- Benchmarking "Simple Literal": /damage/ ---
Legacy (.matcher.find) : 27.84 ms | 1,077,514 ops/sec
Fast-Path (.test)      : 15.54 ms | 1,930,297 ops/sec
Result                 : 1.79x faster
--- Benchmarking "Wildcard": /enters.*battlefield/ ---
Legacy (.matcher.find) : 48.54 ms | 618,117 ops/sec
Fast-Path (.test)      : 17.01 ms | 1,763,611 ops/sec
Result                 : 2.85x faster
--- Benchmarking "Alternation": /damage|life|mana/ ---
Legacy (.matcher.find) : 315.79 ms | 95,003 ops/sec
Fast-Path (.test)      : 11.51 ms | 2,605,780 ops/sec
</tr></table>

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for re2js 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 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 [re2js](https://github.com/le0pard/re2js) from 1.0.1 to 2.0.1.
- [Release notes](https://github.com/le0pard/re2js/releases)
- [Commits](le0pard/re2js@1.0.1...2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Apr 9, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants