From ffde5d639c8751971854a66f58b8c75a051d01b4 Mon Sep 17 00:00:00 2001 From: Marc Espin Date: Wed, 11 Sep 2024 18:40:27 +0200 Subject: [PATCH] fix: Fix pnpm audit caused by path-to-regexp (#2369) --- package.json | 3 ++- pnpm-lock.yaml | 53 +++++++++++++------------------------------------- 2 files changed, 16 insertions(+), 40 deletions(-) diff --git a/package.json b/package.json index 37f5eb6cc5b..b22d0e2c648 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,8 @@ "yaml@<2.2.2": ">=2.2.2", "semver@<7.5.2": ">=7.5.2", "postcss@<8.4.31": ">=8.4.31", - "braces": ">=3.0.3" + "braces": ">=3.0.3", + "path-to-regexp": ">=8.1.0" } }, "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2bb3add23dc..7a8d5edaf16 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,6 +12,7 @@ overrides: semver@<7.5.2: '>=7.5.2' postcss@<8.4.31: '>=8.4.31' braces: '>=3.0.3' + path-to-regexp: '>=8.1.0' importers: @@ -1055,7 +1056,7 @@ importers: version: 3.3.3(ts-node@10.9.1(@swc/core@1.3.92)(@types/node@20.4.2)(typescript@5.3.3)) tailwindcss-animate: specifier: ^1.0.6 - version: 1.0.6(tailwindcss@3.3.3(ts-node@10.9.1(@swc/core@1.3.92)(@types/node@20.4.2)(typescript@5.3.3))) + version: 1.0.6(tailwindcss@3.3.3(ts-node@10.9.1(@types/node@20.4.2)(typescript@5.3.3))) ts-loader: specifier: ^9.4.4 version: 9.4.4(typescript@5.3.3)(webpack@5.79.0(@swc/core@1.3.92)(webpack-cli@5.0.1)) @@ -1319,7 +1320,7 @@ importers: version: 3.3.3(ts-node@10.9.1(@swc/core@1.3.92)(@types/node@20.4.2)(typescript@5.3.3)) tailwindcss-animate: specifier: ^1.0.6 - version: 1.0.6(tailwindcss@3.3.3(ts-node@10.9.1(@swc/core@1.3.92)(@types/node@20.4.2)(typescript@5.3.3))) + version: 1.0.6(tailwindcss@3.3.3(ts-node@10.9.1(@types/node@20.4.2)(typescript@5.3.3))) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -12290,9 +12291,6 @@ packages: resolution: {integrity: sha512-/kppl+R+LO5VmhYSEWARUFjodS25D68gvj8W7z0I7OWhUla5xWu8KL6CtB2V0R6yqhnRgbcaREMr4EEM6htLPQ==} engines: {node: '>=12'} - isarray@0.0.1: - resolution: {integrity: sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==} - isarray@1.0.0: resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} @@ -14039,20 +14037,9 @@ packages: resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} engines: {node: '>=16 || 14 >=14.17'} - path-to-regexp@0.1.7: - resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} - - path-to-regexp@1.8.0: - resolution: {integrity: sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==} - - path-to-regexp@2.2.1: - resolution: {integrity: sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==} - - path-to-regexp@3.2.0: - resolution: {integrity: sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==} - - path-to-regexp@6.2.1: - resolution: {integrity: sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==} + path-to-regexp@8.1.0: + resolution: {integrity: sha512-Bqn3vc8CMHty6zuD+tG23s6v2kwxslHEhTj4eYaVKGIEB+YX/2wd0/rgXLFD9G9id9KCtbVy/3ZgmvZjpa0UdQ==} + engines: {node: '>=16'} path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} @@ -23009,7 +22996,7 @@ snapshots: '@nuxtjs/opencollective': 0.3.2 fast-safe-stringify: 2.1.1 iterare: 1.2.1 - path-to-regexp: 3.2.0 + path-to-regexp: 8.1.0 reflect-metadata: 0.2.2 rxjs: 7.8.1 tslib: 2.6.2 @@ -30879,7 +30866,7 @@ snapshots: methods: 1.1.2 on-finished: 2.4.1 parseurl: 1.3.3 - path-to-regexp: 0.1.7 + path-to-regexp: 8.1.0 proxy-addr: 2.0.7 qs: 6.11.0 range-parser: 1.2.1 @@ -30915,7 +30902,7 @@ snapshots: methods: 1.1.2 on-finished: 2.4.1 parseurl: 1.3.3 - path-to-regexp: 0.1.7 + path-to-regexp: 8.1.0 proxy-addr: 2.0.7 qs: 6.11.0 range-parser: 1.2.1 @@ -32614,8 +32601,6 @@ snapshots: is-yarn-global@0.4.1: {} - isarray@0.0.1: {} - isarray@1.0.0: {} isarray@2.0.5: {} @@ -34585,7 +34570,7 @@ snapshots: js-levenshtein: 1.1.6 node-fetch: 2.6.12 outvariant: 1.4.0 - path-to-regexp: 6.2.1 + path-to-regexp: 8.1.0 strict-event-emitter: 0.4.6 type-fest: 2.19.0 yargs: 17.7.2 @@ -35150,17 +35135,7 @@ snapshots: lru-cache: 10.0.0 minipass: 7.0.2 - path-to-regexp@0.1.7: {} - - path-to-regexp@1.8.0: - dependencies: - isarray: 0.0.1 - - path-to-regexp@2.2.1: {} - - path-to-regexp@3.2.0: {} - - path-to-regexp@6.2.1: {} + path-to-regexp@8.1.0: {} path-type@4.0.0: {} @@ -36274,7 +36249,7 @@ snapshots: history: 4.10.1 hoist-non-react-statics: 3.3.2 loose-envify: 1.4.0 - path-to-regexp: 1.8.0 + path-to-regexp: 8.1.0 prop-types: 15.8.1 react: 18.3.1 react-is: 16.13.1 @@ -36994,7 +36969,7 @@ snapshots: mime-types: 2.1.18 minimatch: 3.1.2 path-is-inside: 1.0.2 - path-to-regexp: 2.2.1 + path-to-regexp: 8.1.0 range-parser: 1.2.0 serve-index@1.9.1: @@ -37681,7 +37656,7 @@ snapshots: tailwind-merge@1.14.0: {} - tailwindcss-animate@1.0.6(tailwindcss@3.3.3(ts-node@10.9.1(@swc/core@1.3.92)(@types/node@20.4.2)(typescript@5.3.3))): + tailwindcss-animate@1.0.6(tailwindcss@3.3.3(ts-node@10.9.1(@types/node@20.4.2)(typescript@5.3.3))): dependencies: tailwindcss: 3.3.3(ts-node@10.9.1(@swc/core@1.3.92)(@types/node@20.4.2)(typescript@5.3.3))