Skip to content

⬆️ Bump path-to-regexp from 8.2.0 to 8.4.2 - #179

Merged
haliphax merged 1 commit into
mainfrom
dependabot/npm_and_yarn/path-to-regexp-8.4.0
Sep 8, 2026
Merged

haliphax merged 1 commit into
mainfrom
dependabot/npm_and_yarn/path-to-regexp-8.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 28, 2026

Copy link
Copy Markdown
Contributor

Bumps path-to-regexp from 8.2.0 to 8.4.2.

Release notes

Sourced from path-to-regexp's releases.

v8.4.2

Fixed

  • Error on trailing backslash (#434) 9a78879

Performance

  • Minimize array allocations (#437) 937c02d
  • Improve compile performance (#436) 57247e6
    • Should improve compilation performance by ~25%
  • Remove internal tokenization during parse (#435) 5844988
    • Should improve parse performance by ~20%

Bundle size to 1.93 kB, from 1.97 kB.


pillarjs/path-to-regexp@v8.4.1...v8.4.2

v8.4.1

Fixed

  • Remove trie deduplication (#431) 6bc8e84
    • Using a trie required non-greedy matching, which regressed wildcards in non-ending mode by matching them up until the first match. For example:
      • /*foo with /a/b = /a
      • /*foo.htmlwith /a/b.html/c.html = /a/b.html
  • Allow backtrack handling to match itself (#427) 5bcd30b
    • When backtracking was introduced, it rejected matching things like /:"a"_:"b" against /foo__. This makes intuitive sense because the second parameter is not going to backtrack on _ anymore, but it's somewhat unexpected since there's no reason it shouldn't match the second _.

pillarjs/path-to-regexp@v8.4.0...v8.4.1

v8.4.0

Important

Fixed

Changed

  • Dedupes regex prefixes (pillarjs/path-to-regexp#422)
    • This will result in shorter regular expressions for some cases using optional groups
  • Rejects large optional route combinations (pillarjs/path-to-regexp#424)
    • When using groups such as /users{/delete} it will restrict the number of generated combinations to < 256, equivalent to 8 top-level optional groups and unlikely to occur in a real world application, but avoids exploding the regex size for applications that accept user created routes

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 28, 2026
@coveralls

coveralls commented Mar 28, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 34267032622

Coverage remained the same at 98.903%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1176
Covered Lines: 1172
Line Coverage: 99.66%
Relevant Branches: 191
Covered Branches: 180
Branch Coverage: 94.24%
Branches in Coverage %: Yes
Coverage Strength: 3.66 hits per line

💛 - Coveralls

@haliphax

haliphax commented Sep 8, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 8.2.0 to 8.4.2.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v8.2.0...v8.4.2)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-version: 8.4.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump path-to-regexp from 8.2.0 to 8.4.0 ⬆️ Bump path-to-regexp from 8.2.0 to 8.4.2 Sep 8, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-8.4.0 branch from af092bb to 8d969d3 Compare September 8, 2026 19:06
@haliphax
haliphax merged commit 4b0e779 into main Sep 8, 2026
9 checks passed
@haliphax
haliphax deleted the dependabot/npm_and_yarn/path-to-regexp-8.4.0 branch September 8, 2026 19:09
haliphax pushed a commit that referenced this pull request Sep 8, 2026
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants