diff --git a/packages/shared/package.json b/packages/shared/package.json index 9352bbea399..8fc08c13851 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -18,7 +18,7 @@ "js-base64": "^3.7.2", "js-yaml": "^3.13.1", "nanoid": "^3.0.0", - "path-to-regexp": "^2.2.1", + "path-to-regexp": "^3.3.0", "react-infinite-scroll-hook": "^4.1.1", "react-markdown": "^7.1.1", "react-table": "^7.7.0", diff --git a/server/package.json b/server/package.json index 1c20f01fc96..25ef1ac0fda 100644 --- a/server/package.json +++ b/server/package.json @@ -33,7 +33,7 @@ "lodash": "^4.17.21", "node-cache": "^5.1.2", "node-fetch": "^2.6.1", - "path-to-regexp": "^2.2.1", + "path-to-regexp": "^3.3.0", "stream-array": "^1.1.2" }, "gitHead": "6380079918d574a833739b35ee51b0d2f72985ee" diff --git a/yarn.lock b/yarn.lock index df0e3922587..121b69398ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11805,10 +11805,10 @@ path-to-regexp@0.1.7: resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= -path-to-regexp@^2.2.1: - version "2.4.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-2.4.0.tgz#35ce7f333d5616f1c1e1bfe266c3aba2e5b2e704" - integrity sha512-G6zHoVqC6GGTQkZwF4lkuEyMbVOjoBKAEybQUypI1WTkqinCOrq2x6U2+phkJ1XsEMTy4LjtwPI7HW+NVrRR2w== +path-to-regexp@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-3.3.0.tgz#f7f31d32e8518c2660862b644414b6d5c63a611b" + integrity sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw== path-to-regexp@^6.1.0: version "6.2.0"