An open index of dependabot pull requests across open source projects.

Bump path-to-regexp from 8.3.0 to 8.4.2 in /sandbox

Open
Number: #343
Type: Pull Request
State: Open
Author: dependabot[bot] dependabot[bot]
Association: Unknown
Comments: 2
Created: April 10, 2026 at 12:55 PM UTC
(4 months ago)
Updated: April 10, 2026 at 01:44 PM UTC
(4 months ago)
Labels:
dependencies javascript
Description:

Bumps path-to-regexp from 8.3.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.


https://github.com/pillarjs/path-to-regexp/compare/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 _.

https://github.com/pillarjs/path-to-regexp/compare/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
Commits

Package Dependencies
Ecosystem:
npm
Version Change:
8.3.0 → 8.4.2
Update Type:
Minor
Path:
/sandbox
Technical Details
ID: 15192150
UUID: 4239286201
Node ID: PR_kwDOEeBrKM7Rc31q
Host: GitHub
Repository: NHSDigital/nhs-app-api