From 3bd30270bb8b2b5f54f60764f69a4aca1e7d9431 Mon Sep 17 00:00:00 2001 From: Alessio Gravili Date: Fri, 21 Jun 2024 15:20:59 -0400 Subject: [PATCH] feat: upgrade from typescript 5.4.5 to 5.5 --- package.json | 2 +- packages/payload/src/index.ts | 6 +- packages/translations/package.json | 2 +- pnpm-lock.yaml | 244 ++++++++++++----------------- test/package.json | 2 +- 5 files changed, 104 insertions(+), 152 deletions(-) diff --git a/package.json b/package.json index b97076ba137..676032ce325 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,7 @@ "ts-node": "10.9.1", "tsx": "^4.7.1", "turbo": "^1.13.3", - "typescript": "5.4.5", + "typescript": "5.5.2", "uuid": "10.0.0" }, "peerDependencies": { diff --git a/packages/payload/src/index.ts b/packages/payload/src/index.ts index 9bc1665535c..5159460b75d 100644 --- a/packages/payload/src/index.ts +++ b/packages/payload/src/index.ts @@ -595,7 +595,7 @@ export const getPayload = async (options: InitOptions): Promise } @@ -612,9 +612,9 @@ interface RequestContext { [key: string]: unknown } -type DatabaseAdapter = BaseDatabaseAdapter +export interface DatabaseAdapter extends BaseDatabaseAdapter {} -export type { DatabaseAdapter, GeneratedTypes, Payload, RequestContext } +export type { Payload, RequestContext } export * from './types/index.js' export type * from './admin/types.js' diff --git a/packages/translations/package.json b/packages/translations/package.json index a27b1370b8d..8438c24998d 100644 --- a/packages/translations/package.json +++ b/packages/translations/package.json @@ -47,7 +47,7 @@ "@types/react-dom": "npm:types-react-dom@19.0.0-beta.2", "dotenv": "16.4.5", "prettier": "^3.0.3", - "typescript": "5.4.5" + "typescript": "5.5.2" }, "publishConfig": { "exports": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e2fdafe9f26..8d5880b8951 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,7 +15,7 @@ overrides: mongodb-memory-server: ^9.0 react: ^19.0.0-rc-f994737d14-20240522 react-dom: ^19.0.0-rc-f994737d14-20240522 - typescript: 5.4.5 + typescript: 5.5.2 patchedDependencies: playwright@1.43.0: @@ -154,7 +154,7 @@ importers: version: 9.1.8 next: specifier: 15.0.0-rc.0 - version: 15.0.0-rc.0(@babel/core@7.24.5)(@playwright/test@1.43.0)(react-dom@19.0.0-rc-f994737d14-20240522)(react@19.0.0-rc-f994737d14-20240522)(sass@1.77.4) + version: 15.0.0-rc.0(@babel/core@7.24.5)(@playwright/test@1.43.0)(babel-plugin-react-compiler@0.0.0-experimental-592953e-20240517)(react-dom@19.0.0-rc-f994737d14-20240522)(react@19.0.0-rc-f994737d14-20240522) open: specifier: ^10.1.0 version: 10.1.0 @@ -214,7 +214,7 @@ importers: version: 1.0.1 ts-node: specifier: 10.9.1 - version: 10.9.1(@swc/core@1.6.1)(@types/node@20.12.5)(typescript@5.4.5) + version: 10.9.1(@swc/core@1.6.1)(@types/node@20.12.5)(typescript@5.5.2) tsx: specifier: ^4.7.1 version: 4.7.2 @@ -222,8 +222,8 @@ importers: specifier: ^1.13.3 version: 1.13.3 typescript: - specifier: 5.4.5 - version: 5.4.5 + specifier: 5.5.2 + version: 5.5.2 uuid: specifier: 10.0.0 version: 10.0.0 @@ -404,10 +404,10 @@ importers: version: 8.56.6 '@typescript-eslint/eslint-plugin': specifier: 7.3.1 - version: 7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.4.5) + version: 7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.5.2) '@typescript-eslint/parser': specifier: 7.3.1 - version: 7.3.1(eslint@8.57.0)(typescript@5.4.5) + version: 7.3.1(eslint@8.57.0)(typescript@5.5.2) eslint: specifier: 8.57.0 version: 8.57.0 @@ -419,7 +419,7 @@ importers: version: 2.25.2(@typescript-eslint/parser@7.3.1)(eslint@8.57.0) eslint-plugin-jest: specifier: 27.9.0 - version: 27.9.0(@typescript-eslint/eslint-plugin@7.3.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.4.5) + version: 27.9.0(@typescript-eslint/eslint-plugin@7.3.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.2) eslint-plugin-jest-dom: specifier: 5.1.0 version: 5.1.0(eslint@8.57.0) @@ -434,7 +434,7 @@ importers: version: link:../eslint-plugin-payload eslint-plugin-perfectionist: specifier: 2.7.0 - version: 2.7.0(eslint@8.57.0)(typescript@5.4.5) + version: 2.7.0(eslint@8.57.0)(typescript@5.5.2) eslint-plugin-react: specifier: 7.34.1 version: 7.34.1(eslint@8.57.0) @@ -452,10 +452,10 @@ importers: version: 8.56.6 '@typescript-eslint/eslint-plugin': specifier: 7.3.1 - version: 7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.4.5) + version: 7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.5.2) '@typescript-eslint/parser': specifier: 7.3.1 - version: 7.3.1(eslint@8.57.0)(typescript@5.4.5) + version: 7.3.1(eslint@8.57.0)(typescript@5.5.2) eslint: specifier: 8.57.0 version: 8.57.0 @@ -464,7 +464,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: 27.9.0 - version: 27.9.0(@typescript-eslint/eslint-plugin@7.3.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.4.5) + version: 27.9.0(@typescript-eslint/eslint-plugin@7.3.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.2) eslint-plugin-jest-dom: specifier: 5.1.0 version: 5.1.0(eslint@8.57.0) @@ -476,7 +476,7 @@ importers: version: 11.1.0(eslint@8.57.0) eslint-plugin-perfectionist: specifier: 2.7.0 - version: 2.7.0(eslint@8.57.0)(typescript@5.4.5) + version: 2.7.0(eslint@8.57.0)(typescript@5.5.2) eslint-plugin-react: specifier: 7.34.1 version: 7.34.1(eslint@8.57.0) @@ -500,7 +500,7 @@ importers: version: 8.0.0 ts-essentials: specifier: 7.0.3 - version: 7.0.3(typescript@5.4.5) + version: 7.0.3(typescript@5.5.2) devDependencies: '@payloadcms/eslint-config': specifier: workspace:* @@ -563,7 +563,7 @@ importers: version: link:../payload vue: specifier: ^3.0.0 - version: 3.4.23(typescript@5.4.5) + version: 3.4.23(typescript@5.5.2) packages/next: dependencies: @@ -651,7 +651,7 @@ importers: version: link:../payload postcss-loader: specifier: ^8.1.1 - version: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0) + version: 8.1.1(postcss@8.4.38)(typescript@5.5.2)(webpack@5.91.0) postcss-preset-env: specifier: ^9.5.14 version: 9.5.14(postcss@8.4.38) @@ -765,7 +765,7 @@ importers: version: 2.1.0 ts-essentials: specifier: 7.0.3 - version: 7.0.3(typescript@5.4.5) + version: 7.0.3(typescript@5.5.2) uuid: specifier: 10.0.0 version: 10.0.0 @@ -866,7 +866,7 @@ importers: version: link:../payload ts-jest: specifier: ^29.1.0 - version: 29.1.2(@babel/core@7.24.5)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.4.5) + version: 29.1.2(@babel/core@7.24.5)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.5.2) packages/plugin-cloud-storage: dependencies: @@ -949,7 +949,7 @@ importers: version: link:../payload ts-node: specifier: 10.9.1 - version: 10.9.1(@swc/core@1.6.1)(@types/node@20.12.5)(typescript@5.4.5) + version: 10.9.1(@swc/core@1.6.1)(@types/node@20.12.5)(typescript@5.5.2) packages/plugin-nested-docs: devDependencies: @@ -1075,7 +1075,7 @@ importers: version: link:../payload ts-jest: specifier: ^29.1.0 - version: 29.1.2(@babel/core@7.24.5)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.4.5) + version: 29.1.2(@babel/core@7.24.5)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.5.2) webpack: specifier: ^5.78.0 version: 5.91.0(@swc/core@1.6.1)(esbuild@0.19.12)(webpack-cli@5.1.4) @@ -1402,8 +1402,8 @@ importers: specifier: ^3.0.3 version: 3.2.5 typescript: - specifier: 5.4.5 - version: 5.4.5 + specifier: 5.5.2 + version: 5.5.2 packages/ui: dependencies: @@ -1545,7 +1545,7 @@ importers: version: link:../payload postcss-loader: specifier: ^8.1.1 - version: 8.1.1(postcss@8.4.38)(webpack@5.91.0) + version: 8.1.1(postcss@8.4.38)(typescript@5.5.2)(webpack@5.91.0) postcss-preset-env: specifier: ^9.5.14 version: 9.5.14(postcss@8.4.38) @@ -1707,10 +1707,10 @@ importers: version: 1.0.1 ts-essentials: specifier: 7.0.3 - version: 7.0.3(typescript@5.4.5) + version: 7.0.3(typescript@5.5.2) typescript: - specifier: 5.4.5 - version: 5.4.5 + specifier: 5.5.2 + version: 5.5.2 uploadthing: specifier: ^6.10.1 version: 6.10.4(next@15.0.0-rc.0) @@ -2570,7 +2570,7 @@ packages: '@babel/traverse': 7.24.5 '@babel/types': 7.24.5 convert-source-map: 2.0.0 - debug: 4.3.4 + debug: 4.3.4(supports-color@5.5.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -2666,7 +2666,7 @@ packages: '@babel/core': 7.24.5 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-plugin-utils': 7.24.5 - debug: 4.3.4 + debug: 4.3.4(supports-color@5.5.0) lodash.debounce: 4.0.8 resolve: 1.22.8 transitivePeerDependencies: @@ -3817,7 +3817,7 @@ packages: '@babel/helper-split-export-declaration': 7.24.5 '@babel/parser': 7.24.5 '@babel/types': 7.24.5 - debug: 4.3.4 + debug: 4.3.4(supports-color@5.5.0) globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -7466,7 +7466,7 @@ packages: dependencies: '@types/yargs-parser': 21.0.3 - /@typescript-eslint/eslint-plugin@7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.4.5): + /@typescript-eslint/eslint-plugin@7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-STEDMVQGww5lhCuNXVSQfbfuNII5E08QWkvAw5Qwf+bj2WT+JkG1uc+5/vXA3AOYMDHVOSpL+9rcbEUiHIm2dw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -7478,10 +7478,10 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.5.2) '@typescript-eslint/scope-manager': 7.3.1 - '@typescript-eslint/type-utils': 7.3.1(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.3.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/type-utils': 7.3.1(eslint@8.57.0)(typescript@5.5.2) + '@typescript-eslint/utils': 7.3.1(eslint@8.57.0)(typescript@5.5.2) '@typescript-eslint/visitor-keys': 7.3.1 debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 @@ -7489,13 +7489,13 @@ packages: ignore: 5.3.1 natural-compare: 1.4.0 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.3.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/parser@7.3.1(eslint@8.57.0)(typescript@5.4.5): + /@typescript-eslint/parser@7.3.1(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-Rq49+pq7viTRCH48XAbTA+wdLRrB/3sRq4Lpk0oGDm0VmnjBrAOVXH/Laalmwsv2VpekiEfVFwJYVk6/e8uvQw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -7507,11 +7507,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 7.3.1 '@typescript-eslint/types': 7.3.1 - '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.5.2) '@typescript-eslint/visitor-keys': 7.3.1 debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 - typescript: 5.4.5 + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: false @@ -7540,7 +7540,7 @@ packages: '@typescript-eslint/visitor-keys': 7.3.1 dev: false - /@typescript-eslint/type-utils@7.3.1(eslint@8.57.0)(typescript@5.4.5): + /@typescript-eslint/type-utils@7.3.1(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-iFhaysxFsMDQlzJn+vr3OrxN8NmdQkHks4WaqD4QBnt5hsq234wcYdyQ9uquzJJIDAj5W4wQne3yEsYA6OmXGw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -7550,12 +7550,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.4.5) - '@typescript-eslint/utils': 7.3.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.5.2) + '@typescript-eslint/utils': 7.3.1(eslint@8.57.0)(typescript@5.5.2) debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.3.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: false @@ -7575,7 +7575,7 @@ packages: engines: {node: ^18.18.0 || >=20.0.0} dev: false - /@typescript-eslint/typescript-estree@5.62.0(typescript@5.4.5): + /@typescript-eslint/typescript-estree@5.62.0(typescript@5.5.2): resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -7590,13 +7590,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.0 - tsutils: 3.21.0(typescript@5.4.5) - typescript: 5.4.5 + tsutils: 3.21.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/typescript-estree@6.21.0(typescript@5.4.5): + /@typescript-eslint/typescript-estree@6.21.0(typescript@5.5.2): resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -7612,13 +7612,13 @@ packages: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.3.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/typescript-estree@7.3.1(typescript@5.4.5): + /@typescript-eslint/typescript-estree@7.3.1(typescript@5.5.2): resolution: {integrity: sha512-tLpuqM46LVkduWP7JO7yVoWshpJuJzxDOPYIVWUUZbW+4dBpgGeUdl/fQkhuV0A8eGnphYw3pp8d2EnvPOfxmQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -7634,13 +7634,13 @@ packages: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.3.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.4.5): + /@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -7651,7 +7651,7 @@ packages: '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.2) eslint: 8.57.0 eslint-scope: 5.1.1 semver: 7.6.0 @@ -7660,7 +7660,7 @@ packages: - typescript dev: false - /@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.4.5): + /@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -7671,7 +7671,7 @@ packages: '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.5.2) eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: @@ -7679,7 +7679,7 @@ packages: - typescript dev: false - /@typescript-eslint/utils@7.3.1(eslint@8.57.0)(typescript@5.4.5): + /@typescript-eslint/utils@7.3.1(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-jIERm/6bYQ9HkynYlNZvXpzmXWZGhMbrOvq3jJzOSOlKXsVjrrolzWBjDW6/TvT5Q3WqaN4EkmcfdQwi9tDjBQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -7690,7 +7690,7 @@ packages: '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 7.3.1 '@typescript-eslint/types': 7.3.1 - '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.5.2) eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: @@ -7815,7 +7815,7 @@ packages: dependencies: '@vue/compiler-ssr': 3.4.23 '@vue/shared': 3.4.23 - vue: 3.4.23(typescript@5.4.5) + vue: 3.4.23(typescript@5.5.2) dev: true /@vue/shared@3.4.23: @@ -9227,11 +9227,11 @@ packages: yaml: 1.10.2 dev: false - /cosmiconfig@9.0.0: + /cosmiconfig@9.0.0(typescript@5.5.2): resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} engines: {node: '>=14'} peerDependencies: - typescript: 5.4.5 + typescript: 5.5.2 peerDependenciesMeta: typescript: optional: true @@ -9240,22 +9240,7 @@ packages: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 - dev: true - - /cosmiconfig@9.0.0(typescript@5.4.5): - resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} - engines: {node: '>=14'} - peerDependencies: - typescript: 5.4.5 - peerDependenciesMeta: - typescript: - optional: true - dependencies: - env-paths: 2.2.1 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - parse-json: 5.2.0 - typescript: 5.4.5 + typescript: 5.5.2 dev: true /create-jest@29.7.0(@types/node@20.12.5)(ts-node@10.9.1): @@ -9363,7 +9348,7 @@ packages: postcss-modules-values: 4.0.0(postcss@8.4.38) postcss-value-parser: 4.2.0 semver: 7.6.0 - webpack: 5.91.0(@swc/core@1.6.1)(esbuild@0.21.5) + webpack: 5.91.0(@swc/core@1.6.1)(esbuild@0.19.12)(webpack-cli@5.1.4) dev: true /css-minimizer-webpack-plugin@6.0.0(esbuild@0.19.12)(webpack@5.91.0): @@ -9637,17 +9622,6 @@ packages: ms: 2.1.3 dev: false - /debug@4.3.4: - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.1.2 - /debug@4.3.4(supports-color@5.5.0): resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -10523,7 +10497,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.5.2) debug: 3.2.7 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 @@ -10552,7 +10526,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.5.2) array-includes: 3.1.8 array.prototype.flat: 1.3.2 debug: 2.6.9 @@ -10588,7 +10562,7 @@ packages: requireindex: 1.2.0 dev: false - /eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.3.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.4.5): + /eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.3.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.2): resolution: {integrity: sha512-QIT7FH7fNmd9n4se7FFKHbsLKGQiw885Ds6Y/sxKgCZ6natwCsXdgPOADnYVxN2QrRweF0FZWbJ6S7Rsn7llug==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -10601,8 +10575,8 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.5.2) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.5.2) eslint: 8.57.0 jest: 29.7.0(@types/node@20.12.5)(ts-node@10.9.1) transitivePeerDependencies: @@ -10650,7 +10624,7 @@ packages: semver: 6.3.1 dev: false - /eslint-plugin-perfectionist@2.7.0(eslint@8.57.0)(typescript@5.4.5): + /eslint-plugin-perfectionist@2.7.0(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-RpSMc0T0DT9DlOj4APzwlAjCqQMxFdsIYlupe73eDkKLn1mMK7fVw2z3nj2y822szKOpvHA7bDa56ySOlr4GXw==} peerDependencies: astro-eslint-parser: ^0.16.0 @@ -10668,7 +10642,7 @@ packages: vue-eslint-parser: optional: true dependencies: - '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.5.2) eslint: 8.57.0 minimatch: 9.0.4 natural-compare-lite: 1.4.0 @@ -12538,7 +12512,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.1(@swc/core@1.6.1)(@types/node@20.12.5)(typescript@5.4.5) + ts-node: 10.9.1(@swc/core@1.6.1)(@types/node@20.12.5)(typescript@5.5.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -13523,7 +13497,7 @@ packages: dependencies: loader-utils: 2.0.4 schema-utils: 3.3.0 - webpack: 5.91.0(@swc/core@1.6.1)(esbuild@0.21.5) + webpack: 5.91.0(@swc/core@1.6.1)(esbuild@0.19.12)(webpack-cli@5.1.4) webpack-sources: 1.4.3 dev: true @@ -13842,7 +13816,6 @@ packages: transitivePeerDependencies: - '@babel/core' - babel-plugin-macros - dev: false /next@15.0.0-rc.0(@babel/core@7.24.5)(@playwright/test@1.43.0)(react-dom@19.0.0-rc-f994737d14-20240522)(react@19.0.0-rc-f994737d14-20240522)(sass@1.77.4): resolution: {integrity: sha512-IWcCvxUSCAuOK5gig4+9yiyt/dLKpIa+WT01Qcx4CBE4TtwJljyTDnCVVn64jDZ4qmSzsaEYXpb4DTI8qbk03A==} @@ -13890,6 +13863,7 @@ packages: transitivePeerDependencies: - '@babel/core' - babel-plugin-macros + dev: false /nice-napi@1.0.2: resolution: {integrity: sha512-px/KnJAJZf5RuBGcfD+Sp2pAKq0ytz8j+1NehvgIGFkvtvFrDM3T8E4x/JJODXK9WZow8RRGrbA9QQ3hs+pDhA==} @@ -14843,7 +14817,7 @@ packages: postcss: 8.4.38 dev: true - /postcss-loader@8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0): + /postcss-loader@8.1.1(postcss@8.4.38)(typescript@5.5.2)(webpack@5.91.0): resolution: {integrity: sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==} engines: {node: '>= 18.12.0'} peerDependencies: @@ -14856,33 +14830,11 @@ packages: webpack: optional: true dependencies: - cosmiconfig: 9.0.0(typescript@5.4.5) + cosmiconfig: 9.0.0(typescript@5.5.2) jiti: 1.21.0 postcss: 8.4.38 semver: 7.6.0 - webpack: 5.91.0(@swc/core@1.6.1)(esbuild@0.21.5) - transitivePeerDependencies: - - typescript - dev: true - - /postcss-loader@8.1.1(postcss@8.4.38)(webpack@5.91.0): - resolution: {integrity: sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==} - engines: {node: '>= 18.12.0'} - peerDependencies: - '@rspack/core': 0.x || 1.x - postcss: ^7.0.0 || ^8.0.1 - webpack: ^5.0.0 - peerDependenciesMeta: - '@rspack/core': - optional: true - webpack: - optional: true - dependencies: - cosmiconfig: 9.0.0 - jiti: 1.21.0 - postcss: 8.4.38 - semver: 7.6.0 - webpack: 5.91.0(@swc/core@1.6.1)(esbuild@0.21.5) + webpack: 5.91.0(@swc/core@1.6.1)(esbuild@0.19.12)(webpack-cli@5.1.4) transitivePeerDependencies: - typescript dev: true @@ -17117,7 +17069,7 @@ packages: dependencies: '@swc/core': 1.6.1 '@swc/counter': 0.1.3 - webpack: 5.91.0(@swc/core@1.6.1)(esbuild@0.21.5) + webpack: 5.91.0(@swc/core@1.6.1)(esbuild@0.19.12)(webpack-cli@5.1.4) dev: true /swc-plugin-transform-remove-imports@1.12.1: @@ -17431,23 +17383,23 @@ packages: utf8-byte-length: 1.0.4 dev: false - /ts-api-utils@1.3.0(typescript@5.4.5): + /ts-api-utils@1.3.0(typescript@5.5.2): resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} engines: {node: '>=16'} peerDependencies: - typescript: 5.4.5 + typescript: 5.5.2 dependencies: - typescript: 5.4.5 + typescript: 5.5.2 dev: false - /ts-essentials@7.0.3(typescript@5.4.5): + /ts-essentials@7.0.3(typescript@5.5.2): resolution: {integrity: sha512-8+gr5+lqO3G84KdiTSMRLtuyJ+nTBVRKuCrK4lidMPdVeEp0uqC875uE5NMcaA7YYMN7XsNiFQuMvasF8HT/xQ==} peerDependencies: - typescript: 5.4.5 + typescript: 5.5.2 dependencies: - typescript: 5.4.5 + typescript: 5.5.2 - /ts-jest@29.1.2(@babel/core@7.24.5)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.4.5): + /ts-jest@29.1.2(@babel/core@7.24.5)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.5.2): resolution: {integrity: sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==} engines: {node: ^16.10.0 || ^18.0.0 || >=20.0.0} hasBin: true @@ -17457,7 +17409,7 @@ packages: babel-jest: ^29.0.0 esbuild: '*' jest: ^29.0.0 - typescript: 5.4.5 + typescript: 5.5.2 peerDependenciesMeta: '@babel/core': optional: true @@ -17478,18 +17430,18 @@ packages: lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.6.0 - typescript: 5.4.5 + typescript: 5.5.2 yargs-parser: 21.1.1 dev: true - /ts-node@10.9.1(@swc/core@1.6.1)(@types/node@20.12.5)(typescript@5.4.5): + /ts-node@10.9.1(@swc/core@1.6.1)(@types/node@20.12.5)(typescript@5.5.2): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: '@swc/core': '>=1.2.50' '@swc/wasm': '>=1.2.50' '@types/node': '*' - typescript: 5.4.5 + typescript: 5.5.2 peerDependenciesMeta: '@swc/core': optional: true @@ -17509,7 +17461,7 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.4.5 + typescript: 5.5.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 @@ -17528,14 +17480,14 @@ packages: /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - /tsutils@3.21.0(typescript@5.4.5): + /tsutils@3.21.0(typescript@5.5.2): resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: - typescript: 5.4.5 + typescript: 5.5.2 dependencies: tslib: 1.14.1 - typescript: 5.4.5 + typescript: 5.5.2 dev: false /tsx@4.7.2: @@ -17722,8 +17674,8 @@ packages: dependencies: csstype: 3.1.3 - /typescript@5.4.5: - resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + /typescript@5.5.2: + resolution: {integrity: sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==} engines: {node: '>=14.17'} hasBin: true @@ -17853,7 +17805,7 @@ packages: consola: 3.2.3 effect: 3.1.5 fast-check: 3.18.0 - next: 15.0.0-rc.0(@babel/core@7.24.5)(@playwright/test@1.43.0)(react-dom@19.0.0-rc-f994737d14-20240522)(react@19.0.0-rc-f994737d14-20240522)(sass@1.77.4) + next: 15.0.0-rc.0(@babel/core@7.24.5)(@playwright/test@1.43.0)(babel-plugin-react-compiler@0.0.0-experimental-592953e-20240517)(react-dom@19.0.0-rc-f994737d14-20240522)(react@19.0.0-rc-f994737d14-20240522) std-env: 3.7.0 /uri-js@4.4.1: @@ -17935,10 +17887,10 @@ packages: engines: {node: '>= 0.8'} dev: false - /vue@3.4.23(typescript@5.4.5): + /vue@3.4.23(typescript@5.5.2): resolution: {integrity: sha512-X1y6yyGJ28LMUBJ0k/qIeKHstGd+BlWQEOT40x3auJFTmpIhpbKLgN7EFsqalnJXq1Km5ybDEsp6BhuWKciUDg==} peerDependencies: - typescript: 5.4.5 + typescript: 5.5.2 peerDependenciesMeta: typescript: optional: true @@ -17948,7 +17900,7 @@ packages: '@vue/runtime-dom': 3.4.23 '@vue/server-renderer': 3.4.23(vue@3.4.23) '@vue/shared': 3.4.23 - typescript: 5.4.5 + typescript: 5.5.2 dev: true /w3c-xmlserializer@4.0.0: diff --git a/test/package.json b/test/package.json index 3650a41923c..3dc956ade01 100644 --- a/test/package.json +++ b/test/package.json @@ -61,7 +61,7 @@ "slate": "0.91.4", "tempy": "^1.0.1", "ts-essentials": "7.0.3", - "typescript": "5.4.5", + "typescript": "5.5.2", "uploadthing": "^6.10.1" }, "overrides": {