diff --git a/packages/core/package.json b/packages/core/package.json index ef0349c55..92254dcd6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -23,7 +23,7 @@ "auth0": "^4.3.1", "date-fns": "^3.0.0", "kysely": "^0.27.0", - "stripe": "^13.11.0", + "stripe": "^16.0.0", "ulid": "^2.3.0", "zod": "^3.22.4" }, diff --git a/packages/gateway-edge-nextjs/package.json b/packages/gateway-edge-nextjs/package.json index 9a593854a..c91015527 100644 --- a/packages/gateway-edge-nextjs/package.json +++ b/packages/gateway-edge-nextjs/package.json @@ -22,7 +22,7 @@ "ical-generator": "^5.0.1", "jsonwebtoken": "^9.0.2", "next-auth": "^4.24.5", - "stripe": "^13.11.0" + "stripe": "^16.0.0" }, "peerDependencies": { "next": "^14.0.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1dcef878d..1dd5af4ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -47,7 +47,7 @@ importers: version: 20.16.7 tsup: specifier: ^7.2.0 - version: 7.3.0(@swc/core@1.7.28)(postcss@8.4.47)(typescript@5.6.2) + version: 7.3.0(@swc/core@1.7.28(@swc/helpers@0.5.5))(postcss@8.4.47)(typescript@5.6.2) typescript: specifier: ^5.4.5 version: 5.6.2 @@ -633,8 +633,8 @@ importers: specifier: ^14.0.3 version: 14.2.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) stripe: - specifier: ^13.11.0 - version: 13.11.0 + specifier: ^16.0.0 + version: 16.12.0 ulid: specifier: ^2.3.0 version: 2.3.0 @@ -668,10 +668,10 @@ importers: version: 5.6.2 vitest: specifier: ^1.3.1 - version: 1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1) + version: 1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47)) vitest-mock-extended: specifier: ^1.3.1 - version: 1.3.2(typescript@5.6.2)(vitest@1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1)) + version: 1.3.2(typescript@5.6.2)(vitest@1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47))) packages/db: dependencies: @@ -773,7 +773,7 @@ importers: version: 10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/server@10.45.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) ical-generator: specifier: ^5.0.1 - version: 5.0.1(@types/node@22.7.0)(dayjs@1.11.13) + version: 5.0.1(@types/node@20.16.7)(dayjs@1.11.13) jsonwebtoken: specifier: ^9.0.2 version: 9.0.2 @@ -784,8 +784,8 @@ importers: specifier: ^4.24.5 version: 4.24.7(next@14.2.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) stripe: - specifier: ^13.11.0 - version: 13.11.0 + specifier: ^16.0.0 + version: 16.12.0 devDependencies: '@biomejs/biome': specifier: ^1.9.2 @@ -804,7 +804,7 @@ importers: version: 5.6.2 vitest: specifier: ^1.3.1 - version: 1.6.0(@types/node@22.7.0)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1) + version: 1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47)) packages/gateway-trpc: dependencies: @@ -850,7 +850,7 @@ importers: version: 5.6.2 vitest: specifier: ^1.3.1 - version: 1.6.0(@types/node@22.7.0)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1) + version: 1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47)) packages/logger: dependencies: @@ -956,7 +956,7 @@ importers: version: link:../tsconfig '@ladle/react': specifier: ^4.0.3 - version: 4.1.1(@swc/helpers@0.5.5)(@types/node@22.7.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sugarss@4.0.1(postcss@8.4.47))(typescript@5.6.2) + version: 4.1.1(@swc/helpers@0.5.5)(@types/node@20.16.7)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sugarss@4.0.1(postcss@8.4.47))(typescript@5.6.2) '@types/react': specifier: ^18.2.38 version: 18.3.9 @@ -974,10 +974,10 @@ importers: version: 5.6.2 vite: specifier: ^5.0.0 - version: 5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)) + version: 5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)) vitest: specifier: ^1.3.1 - version: 1.6.0(@types/node@22.7.0)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47)) + version: 1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47)) packages/utils: devDependencies: @@ -6368,8 +6368,8 @@ packages: strip-literal@2.1.0: resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} - stripe@13.11.0: - resolution: {integrity: sha512-yPxVJxUzP1QHhHeFnYjJl48QwDS1+5befcL7ju7+t+i88D5r0rbsL+GkCCS6zgcU+TiV5bF9eMGcKyJfLf8BZQ==} + stripe@16.12.0: + resolution: {integrity: sha512-H7eFVLDxeTNNSn4JTRfL2//LzCbDrMSZ+2q1c7CanVWgK2qIW5TwS+0V7N9KcKZZNpYh/uCqK0PyZh/2UsaAtQ==} engines: {node: '>=12.*'} strnum@1.0.5: @@ -8267,7 +8267,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@ladle/react@4.1.1(@swc/helpers@0.5.5)(@types/node@22.7.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sugarss@4.0.1(postcss@8.4.47))(typescript@5.6.2)': + '@ladle/react@4.1.1(@swc/helpers@0.5.5)(@types/node@20.16.7)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sugarss@4.0.1(postcss@8.4.47))(typescript@5.6.2)': dependencies: '@babel/code-frame': 7.24.7 '@babel/core': 7.25.2 @@ -8279,8 +8279,8 @@ snapshots: '@ladle/react-context': 1.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mdx-js/mdx': 3.0.1 '@mdx-js/react': 3.0.1(@types/react@18.3.9)(react@18.3.1) - '@vitejs/plugin-react': 4.3.1(vite@5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47))) - '@vitejs/plugin-react-swc': 3.7.0(@swc/helpers@0.5.5)(vite@5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47))) + '@vitejs/plugin-react': 4.3.1(vite@5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47))) + '@vitejs/plugin-react-swc': 3.7.0(@swc/helpers@0.5.5)(vite@5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47))) axe-core: 4.10.0 boxen: 7.1.1 chokidar: 3.6.0 @@ -8308,8 +8308,8 @@ snapshots: remark-gfm: 4.0.0 source-map: 0.7.4 vfile: 6.0.3 - vite: 5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)) - vite-tsconfig-paths: 4.3.2(typescript@5.6.2)(vite@5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47))) + vite: 5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)) + vite-tsconfig-paths: 4.3.2(typescript@5.6.2)(vite@5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47))) transitivePeerDependencies: - '@swc/helpers' - '@types/node' @@ -9934,21 +9934,21 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-react-swc@3.7.0(@swc/helpers@0.5.5)(vite@5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)))': + '@vitejs/plugin-react-swc@3.7.0(@swc/helpers@0.5.5)(vite@5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)))': dependencies: '@swc/core': 1.7.28(@swc/helpers@0.5.5) - vite: 5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)) transitivePeerDependencies: - '@swc/helpers' - '@vitejs/plugin-react@4.3.1(vite@5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)))': + '@vitejs/plugin-react@4.3.1(vite@5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)) transitivePeerDependencies: - supports-color @@ -9983,7 +9983,7 @@ snapshots: pathe: 1.1.2 picocolors: 1.1.0 sirv: 2.0.4 - vitest: 1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1) + vitest: 1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47)) '@vitest/utils@1.6.0': dependencies: @@ -11352,11 +11352,11 @@ snapshots: human-signals@5.0.0: {} - ical-generator@5.0.1(@types/node@22.7.0)(dayjs@1.11.13): + ical-generator@5.0.1(@types/node@20.16.7)(dayjs@1.11.13): dependencies: uuid-random: 1.3.2 optionalDependencies: - '@types/node': 22.7.0 + '@types/node': 20.16.7 dayjs: 1.11.13 iconify-icon@1.0.8: @@ -13283,7 +13283,7 @@ snapshots: dependencies: js-tokens: 9.0.0 - stripe@13.11.0: + stripe@16.12.0: dependencies: '@types/node': 20.16.7 qs: 6.13.0 @@ -13537,7 +13537,7 @@ snapshots: tsscmp@1.0.6: {} - tsup@7.3.0(@swc/core@1.7.28)(postcss@8.4.47)(typescript@5.6.2): + tsup@7.3.0(@swc/core@1.7.28(@swc/helpers@0.5.5))(postcss@8.4.47)(typescript@5.6.2): dependencies: bundle-require: 4.2.1(esbuild@0.19.12) cac: 6.7.14 @@ -13767,31 +13767,13 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-node@1.6.0(@types/node@20.16.7)(sugarss@4.0.1): - dependencies: - cac: 6.7.14 - debug: 4.3.7 - pathe: 1.1.2 - picocolors: 1.1.0 - vite: 5.4.8(@types/node@20.16.7)(sugarss@4.0.1) - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - - vite-node@1.6.0(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)): + vite-node@1.6.0(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)): dependencies: cac: 6.7.14 debug: 4.3.7 pathe: 1.1.2 picocolors: 1.1.0 - vite: 5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)) transitivePeerDependencies: - '@types/node' - less @@ -13803,31 +13785,13 @@ snapshots: - supports-color - terser - vite-node@1.6.0(@types/node@22.7.0)(sugarss@4.0.1): - dependencies: - cac: 6.7.14 - debug: 4.3.7 - pathe: 1.1.2 - picocolors: 1.1.0 - vite: 5.4.8(@types/node@22.7.0)(sugarss@4.0.1) - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - - vite-tsconfig-paths@4.3.2(typescript@5.6.2)(vite@5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47))): + vite-tsconfig-paths@4.3.2(typescript@5.6.2)(vite@5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47))): dependencies: debug: 4.3.7 globrex: 0.1.2 tsconfck: 3.1.3(typescript@5.6.2) optionalDependencies: - vite: 5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)) + vite: 5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)) transitivePeerDependencies: - supports-color - typescript @@ -13842,7 +13806,7 @@ snapshots: fsevents: 2.3.3 sugarss: 4.0.1(postcss@8.4.47) - vite@5.4.8(@types/node@20.16.7)(sugarss@4.0.1): + vite@5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)): dependencies: esbuild: 0.21.5 postcss: 8.4.47 @@ -13852,33 +13816,13 @@ snapshots: fsevents: 2.3.3 sugarss: 4.0.1(postcss@8.4.47) - vite@5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)): - dependencies: - esbuild: 0.21.5 - postcss: 8.4.47 - rollup: 4.22.4 - optionalDependencies: - '@types/node': 22.7.0 - fsevents: 2.3.3 - sugarss: 4.0.1(postcss@8.4.47) - - vite@5.4.8(@types/node@22.7.0)(sugarss@4.0.1): - dependencies: - esbuild: 0.21.5 - postcss: 8.4.47 - rollup: 4.22.4 - optionalDependencies: - '@types/node': 22.7.0 - fsevents: 2.3.3 - sugarss: 4.0.1(postcss@8.4.47) - - vitest-mock-extended@1.3.2(typescript@5.6.2)(vitest@1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1)): + vitest-mock-extended@1.3.2(typescript@5.6.2)(vitest@1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47))): dependencies: ts-essentials: 10.0.2(typescript@5.6.2) typescript: 5.6.2 - vitest: 1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1) + vitest: 1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47)) - vitest@1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1): + vitest@1.6.0(@types/node@20.16.7)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47)): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -13897,8 +13841,8 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.9.0 tinypool: 0.8.4 - vite: 5.4.8(@types/node@20.16.7)(sugarss@4.0.1) - vite-node: 1.6.0(@types/node@20.16.7)(sugarss@4.0.1) + vite: 5.4.8(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)) + vite-node: 1.6.0(@types/node@20.16.7)(sugarss@4.0.1(postcss@8.4.47)) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.16.7 @@ -13914,78 +13858,6 @@ snapshots: - supports-color - terser - vitest@1.6.0(@types/node@22.7.0)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1(postcss@8.4.47)): - dependencies: - '@vitest/expect': 1.6.0 - '@vitest/runner': 1.6.0 - '@vitest/snapshot': 1.6.0 - '@vitest/spy': 1.6.0 - '@vitest/utils': 1.6.0 - acorn-walk: 8.3.4 - chai: 4.5.0 - debug: 4.3.7 - execa: 8.0.1 - local-pkg: 0.5.0 - magic-string: 0.30.11 - pathe: 1.1.2 - picocolors: 1.1.0 - std-env: 3.7.0 - strip-literal: 2.1.0 - tinybench: 2.9.0 - tinypool: 0.8.4 - vite: 5.4.8(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)) - vite-node: 1.6.0(@types/node@22.7.0)(sugarss@4.0.1(postcss@8.4.47)) - why-is-node-running: 2.3.0 - optionalDependencies: - '@types/node': 22.7.0 - '@vitest/ui': 1.6.0(vitest@1.6.0) - jsdom: 22.1.0 - transitivePeerDependencies: - - less - - lightningcss - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - - vitest@1.6.0(@types/node@22.7.0)(@vitest/ui@1.6.0)(jsdom@22.1.0)(sugarss@4.0.1): - dependencies: - '@vitest/expect': 1.6.0 - '@vitest/runner': 1.6.0 - '@vitest/snapshot': 1.6.0 - '@vitest/spy': 1.6.0 - '@vitest/utils': 1.6.0 - acorn-walk: 8.3.4 - chai: 4.5.0 - debug: 4.3.7 - execa: 8.0.1 - local-pkg: 0.5.0 - magic-string: 0.30.11 - pathe: 1.1.2 - picocolors: 1.1.0 - std-env: 3.7.0 - strip-literal: 2.1.0 - tinybench: 2.9.0 - tinypool: 0.8.4 - vite: 5.4.8(@types/node@22.7.0)(sugarss@4.0.1) - vite-node: 1.6.0(@types/node@22.7.0)(sugarss@4.0.1) - why-is-node-running: 2.3.0 - optionalDependencies: - '@types/node': 22.7.0 - '@vitest/ui': 1.6.0(vitest@1.6.0) - jsdom: 22.1.0 - transitivePeerDependencies: - - less - - lightningcss - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - w3c-xmlserializer@4.0.0: dependencies: xml-name-validator: 4.0.0