Skip to content

Commit

Permalink
chore(deps): upgrading path-to-regexp (#902)
Browse files Browse the repository at this point in the history
| 🚥 Resolves #901 |
| :------------------- |

## 🧰 Changes

`path-to-regexp@7` has a vulnerability regarding backtick expressions
GHSA-9wv6-86v2-598j so we need to upgrade
it.

* [x] Swaps out `fetch-mock` in `oas-normalize` for `nock`. `fetch-mock`
was using a **very** old version of `path-to-regexp`
* [x] Upgrades `path-to-regexp` in `oas`.
* Unfortunately they've changed the the `MatchResult` interface we use
to no longer return `index` so this may need to be treated as a breaking
change as we have returned that value on `.findOperation()` and
`.findOperationWithoutMethod()`.
  • Loading branch information
erunion authored Sep 10, 2024
1 parent 9756b0a commit df44f04
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 425 deletions.
Loading

0 comments on commit df44f04

Please sign in to comment.