Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): upgrading
path-to-regexp
(#902)
| 🚥 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