Skip to content

Commit e0590f8

Browse files
authored
build(deps): bump path-to-regexp from 8.2.0 to 8.4.2 (#685)
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 8.2.0 to 8.4.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pillarjs/path-to-regexp/releases">path-to-regexp's releases</a>.</em></p> <blockquote> <h2>v8.4.2</h2> <p><strong>Fixed</strong></p> <ul> <li>Error on trailing backslash (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/434">#434</a>) 9a78879</li> </ul> <p><strong>Performance</strong></p> <ul> <li>Minimize array allocations (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/437">#437</a>) 937c02d</li> <li>Improve compile performance (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/436">#436</a>) 57247e6 <ul> <li>Should improve compilation performance by ~25%</li> </ul> </li> <li>Remove internal tokenization during parse (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/435">#435</a>) 5844988 <ul> <li>Should improve parse performance by ~20%</li> </ul> </li> </ul> <p><strong>Bundle size</strong> to 1.93 kB, from 1.97 kB.</p> <hr /> <p><a href="https://github.com/pillarjs/path-to-regexp/compare/v8.4.1...v8.4.2">https://github.com/pillarjs/path-to-regexp/compare/v8.4.1...v8.4.2</a></p> <h2>v8.4.1</h2> <p><strong>Fixed</strong></p> <ul> <li>Remove trie deduplication (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/431">#431</a>) 6bc8e84 <ul> <li>Using a trie required non-greedy matching, which regressed wildcards in non-ending mode by matching them up until the first match. For example: <ul> <li><code>/*foo</code> with <code>/a/b</code> = <code>/a</code></li> <li><code>/*foo.html</code>with <code>/a/b.html/c.html</code> = <code>/a/b.html</code></li> </ul> </li> </ul> </li> <li>Allow backtrack handling to match itself (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/427">#427</a>) 5bcd30b <ul> <li>When backtracking was introduced, it rejected matching things like <code>/:&quot;a&quot;_:&quot;b&quot;</code> against <code>/foo__</code>. This makes intuitive sense because the second parameter is not going to backtrack on <code>_</code> anymore, but it's somewhat unexpected since there's no reason it shouldn't match the second <code>_</code>.</li> </ul> </li> </ul> <hr /> <p><a href="https://github.com/pillarjs/path-to-regexp/compare/v8.4.0...v8.4.1">https://github.com/pillarjs/path-to-regexp/compare/v8.4.0...v8.4.1</a></p> <h2>v8.4.0</h2> <p><strong>Important</strong></p> <ul> <li>Fix <a href="https://www.cve.org/CVERecord?id=CVE-2026-4926">CVE-2026-4926</a> (<a href="https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-j3q9-mxjg-w52f">GHSA-j3q9-mxjg-w52f</a>)</li> <li>Fix <a href="https://www.cve.org/CVERecord?id=CVE-2026-4923">CVE-2026-4923</a> (<a href="https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-27v5-c462-wpq7">GHSA-27v5-c462-wpq7</a>)</li> </ul> <p><strong>Fixed</strong></p> <ul> <li>Restricts wildcard backtracking when using more than 1 in a path (<a href="https://redirect.github.com/pillarjs/path-to-regexp/pull/421">pillarjs/path-to-regexp#421</a>)</li> </ul> <p><strong>Changed</strong></p> <ul> <li>Dedupes regex prefixes (<a href="https://redirect.github.com/pillarjs/path-to-regexp/pull/422">pillarjs/path-to-regexp#422</a>) <ul> <li>This will result in shorter regular expressions for some cases using optional groups</li> </ul> </li> <li>Rejects large optional route combinations (<a href="https://redirect.github.com/pillarjs/path-to-regexp/pull/424">pillarjs/path-to-regexp#424</a>) <ul> <li>When using groups such as <code>/users{/delete}</code> it will restrict the number of generated combinations to &lt; 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</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pillarjs/path-to-regexp/commit/cbf30259e6d34d6135f9e7dbaa3371e7188f9936"><code>cbf3025</code></a> 8.4.2</li> <li><a href="https://github.com/pillarjs/path-to-regexp/commit/937c02df571aef02832610100859efab21995320"><code>937c02d</code></a> Minimize array allocations (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/437">#437</a>)</li> <li><a href="https://github.com/pillarjs/path-to-regexp/commit/57247e63fd061aa17b9f75c87712c680b223ee04"><code>57247e6</code></a> Improve compile performance (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/436">#436</a>)</li> <li><a href="https://github.com/pillarjs/path-to-regexp/commit/58449883539022c9ac36ea3e9abb0fc7b9d84223"><code>5844988</code></a> Remove internal tokenization during parse (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/435">#435</a>)</li> <li><a href="https://github.com/pillarjs/path-to-regexp/commit/9a788793e7eeb0ccf9c53c1cb54d297b5badfcc3"><code>9a78879</code></a> Error on trailing backslash (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/434">#434</a>)</li> <li><a href="https://github.com/pillarjs/path-to-regexp/commit/7f058760ae0867fdd75e5ed07d7096f782c1f752"><code>7f05876</code></a> 8.4.1</li> <li><a href="https://github.com/pillarjs/path-to-regexp/commit/6bc8e84677caa52de6db7b2b17a6729ec155b070"><code>6bc8e84</code></a> Remove trie deduplication (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/431">#431</a>)</li> <li><a href="https://github.com/pillarjs/path-to-regexp/commit/5bcd30b790fecfd4798521af28a57214996c4139"><code>5bcd30b</code></a> Allow backtrack handling to match itself (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/427">#427</a>)</li> <li><a href="https://github.com/pillarjs/path-to-regexp/commit/9f9c6c501f6d015db3df224d2479475d59cac0a5"><code>9f9c6c5</code></a> Add parsing to benchmarks (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/418">#418</a>)</li> <li><a href="https://github.com/pillarjs/path-to-regexp/commit/9fd31e0cde4f35b5f15f1676eabe3484618038ad"><code>9fd31e0</code></a> Add <code>trailing: false</code> tests (<a href="https://redirect.github.com/pillarjs/path-to-regexp/issues/428">#428</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pillarjs/path-to-regexp/compare/v8.2.0...v8.4.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-to-regexp&package-manager=npm_and_yarn&previous-version=8.2.0&new-version=8.4.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/thepeacockproject/Peacock/network/alerts). </details> -------- #### General - [ ] I've run Prettier to format any changed files - [ ] I've verified that my changes work, and included a test plan
2 parents 7729e0b + 72744da commit e0590f8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4449,9 +4449,9 @@ __metadata:
44494449
linkType: hard
44504450

44514451
"path-to-regexp@npm:^8.0.0":
4452-
version: 8.2.0
4453-
resolution: "path-to-regexp@npm:8.2.0"
4454-
checksum: 10/23378276a172b8ba5f5fb824475d1818ca5ccee7bbdb4674701616470f23a14e536c1db11da9c9e6d82b82c556a817bbf4eee6e41b9ed20090ef9427cbb38e13
4452+
version: 8.4.2
4453+
resolution: "path-to-regexp@npm:8.4.2"
4454+
checksum: 10/70fd2cbce0b962cbcf4d312af07818bfce2bae11c09cf3bd86be99c0e30168238a1a7b02b18b452e73f075897df04597d30d63e56da7be41eecfc37998693389
44554455
languageName: node
44564456
linkType: hard
44574457

0 commit comments

Comments
 (0)