8000 Updating path-to-regexp to the last version · Issue #3066 · nestjs/swagger · GitHub
[go: up one dir, main page]

Skip to content
Updating path-to-regexp to the last version #3066
@mallowigi

Description

@mallowigi

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Today, a new vulnerability fix have been issued about the path-to-regexp library which is used in a lot of modules, including this one. As this is a high vulnerability, it is expected to the libraries to update their dependencies to include this fix.

I've tried to manually force update the path-to-regexp dependency but unfortunately this library is using functionality from the current version (3.2.0) that is apparently not present in the latest version.

Minimum reproduction code

http://www.github.com

Steps to reproduce

  • Update the path-to-regexp to 8.1.0
  • Try to run the project
  • Encounter an issue pathToRegexp.parse is not a function

Expected behavior

Update the path-to-regexp dependency to latest

Package version

7.4.0

NestJS version

10.4.1

Node.js version

22.7.0

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0