Skip to content
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

Bump path-to-regexp and router #476

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps path-to-regexp and router. These dependencies needed to be updated together.
Updates path-to-regexp from 1.8.0 to 1.9.0

Release notes

Sourced from path-to-regexp's releases.

Fix backtracking in 1.x

Fixed

  • Add backtrack protection to 1.x release (#320) 925ac8e
  • Fix re.exec(&[#39](https://github.com/pillarjs/path-to-regexp/issues/39);/test/route&[#39](https://github.com/pillarjs/path-to-regexp/issues/39);) result (#267) 32a14b0

pillarjs/path-to-regexp@v1.8.0...v1.9.0

Commits

Updates router from 1.3.8 to 2.0.0

Release notes

Sourced from router's releases.

2.0.0-beta.1

This incorporates all changes after 1.3.3 up to 1.3.5.

  • Internalize private router.process_params method
  • Remove debug dependency
  • deps: array-flatten@3.0.0
  • deps: parseurl@~1.3.3
  • deps: path-to-regexp@3.2.0
    • Add new ?, *, and + parameter modifiers
    • Matching group expressions are only RegExp syntax. (*) is no longer valid and must be written as (.*), for example.
    • Named matching groups no longer available by position in req.params. /:foo(.*) only captures as req.params.foo and not available as req.params[0].
    • Regular expressions can only be used in a matching group. /\\d+ is no longer valid and must be written as /(\\d+).
    • Special * path segment behavior removed. /foo/*/bar will match a literal * as the middle segment.
  • deps: setprototypeof@1.2.0

2.0.0-alpha.1

  • Add basic support for returned, rejected Promises
    • Rejected Promises from middleware functions next(error)
  • Drop support for Node.js below 0.10
  • deps: debug@3.1.0
    • Add DEBUG_HIDE_DATE environment variable
    • Change timer to per-namespace instead of global
    • Change non-TTY date format
    • Remove DEBUG_FD environment variable support
    • Support 256 namespace colors
Changelog

Sourced from router's changelog.

2.0.0 / 2024-09-09

  • Drop support for node <18
  • deps: path-to-regexp@^8.0.0
    • Drop support for partial capture group router.route('/user(s?)/:user/:op') but still have optional non-capture /user{s}/:user/:op
    • :name? becomes {:name}
    • :name* becomes *name.
    • The splat change also changes splat from strings to an array of strings
    • Optional splats become {*name}
    • :name+ becomes *name and thus equivalent to *name so I dropped those tests
    • Strings as regular expressions are fully removed, need to be converted to native regular expressions

2.0.0-beta.2 / 2024-03-20

This incorporates all changes after 1.3.5 up to 1.3.8.

  • Add support for returned, rejected Promises to router.param

2.0.0-beta.1 / 2020-03-29

This incorporates all changes after 1.3.3 up to 1.3.5.

  • Internalize private router.process_params method
  • Remove debug dependency
  • deps: array-flatten@3.0.0
  • deps: parseurl@~1.3.3
  • deps: path-to-regexp@3.2.0
    • Add new ?, *, and + parameter modifiers.
    • Matching group expressions are only RegExp syntax. (*) is no longer valid and must be written as (.*), for example.
    • Named matching groups no longer available by position in req.params. /:foo(.*) only captures as req.params.foo and not available as req.params[0].
    • Regular expressions can only be used in a matching group. /\\d+ is no longer valid and must be written as /(\\d+).
    • Matching groups are now literal regular expressions. :foo named captures can no longer be included inside a capture group.
    • Special * path segment behavior removed. /foo/*/bar will match a literal * as the middle segment.
  • deps: setprototypeof@1.2.0

2.0.0-alpha.1 / 2018-07-27

  • Add basic support for returned, rejected Promises
    • Rejected Promises from middleware functions next(error)
  • Drop support for Node.js below 0.10

... (truncated)

Commits
Maintainer changes

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


You can trigger a rebase of this PR 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and [router](https://github.com/pillarjs/router). These dependencies needed to be updated together.

Updates `path-to-regexp` from 1.8.0 to 1.9.0
- [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@v1.8.0...v1.9.0)

Updates `router` from 1.3.8 to 2.0.0
- [Release notes](https://github.com/pillarjs/router/releases)
- [Changelog](https://github.com/pillarjs/router/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/router/commits)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: direct:production
- dependency-name: router
  dependency-type: direct:production
...

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

This removes a security vulnerability[1], can anyone merge this?

[1] GHSA-9wv6-86v2-598j

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.

1 participant