Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(deps): update dependency typescript to v7 (#20875)

renovate[bot]1d1ed2283d27
diff --git a/frontend/package.json b/frontend/package.json
index 62a030eed6..20a731f592 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -19,7 +19,7 @@
"test": "vitest run --passWithNoTests",
"precoverage": "pnpm run prepare:artifacts",
"coverage": "vitest --coverage",
- "i18n": "TS_NODE_PROJECT='./tsconfig.i18n.json' ts-node i18n.ts && pnpm fix",
+ "i18n": "TS_NODE_PROJECT='./tsconfig.i18n.json' ts-node --compiler typescript-6 i18n.ts && pnpm fix",
"sort:i18n": "node scripts/sort_i18n_keys.mjs",
"generate:openapi-index": "node scripts/generate_openapi_index.js"
},
@@ -140,7 +140,8 @@
"rollup": "4.62.2",
"tailwindcss": "4.3.2",
"ts-node": "^10.9.2",
- "typescript": "6.0.3",
+ "typescript": "7.0.2",
+ "typescript-6": "npm:[email protected]",
"unified": "^11.0.5",
"vite": "8.1.4",
"vite-bundle-visualizer": "^1.2.1",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index e8f16e58e2..4b722bd1b7 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -111,7 +111,7 @@ importers:
version: 1.11.13
i18next:
specifier: ^26.0.10
- version: 26.3.6([email protected])
+ version: 26.3.6([email protected])
immer:
specifier: ^11.1.8
version: 11.1.11
@@ -147,7 +147,7 @@ importers:
version: 1.0.1
pev2:
specifier: 1.22.0
pouchdb:
specifier: ^9.0.0
version: 9.0.0
@@ -174,7 +174,7 @@ importers:
version: 19.2.7([email protected])
react-i18next:
specifier: ^17.0.0
react-markdown:
specifier: ^10.1.0
version: 10.1.0(@types/[email protected])([email protected])
@@ -222,7 +222,7 @@ importers:
version: 3.5.0
vue:
specifier: 3.5.39
- version: 3.5.39([email protected])
+ version: 3.5.39([email protected])
zustand:
specifier: ^5.0.13
@@ -352,10 +352,13 @@ importers:
version: 4.3.2
ts-node:
specifier: ^10.9.2
- version: 10.9.2(@types/[email protected])([email protected])
+ version: 10.9.2(@types/[email protected])([email protected])
typescript:
- specifier: 6.0.3
- version: 6.0.3
+ specifier: 7.0.2
+ version: 7.0.2
+ typescript-6:
+ specifier: npm:[email protected]
unified:
specifier: ^11.0.5
version: 11.0.5
@@ -1991,6 +1994,126 @@ packages:
resolution: {integrity: sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==}
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [ppc64]
+ os: [aix]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [freebsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [loong64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [mips64el]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [ppc64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==}
+ engines: {node: '>=16.20.0'}
+ cpu: [s390x]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [netbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [netbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [openbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [openbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [sunos]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [win32]
+
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
deprecated: Potential CWE-502 - Update to 1.3.1 or higher
@@ -3943,6 +4066,11 @@ packages:
engines: {node: '>=14.17'}
hasBin: true
+ resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==}
+ engines: {node: '>=16.20.0'}
+ hasBin: true
+
resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==}
@@ -5334,10 +5462,10 @@ snapshots:
dependencies:
'@fortawesome/fontawesome-common-types': 6.7.2
dependencies:
'@fortawesome/fontawesome-svg-core': 6.7.2
- vue: 3.5.39([email protected])
+ vue: 3.5.39([email protected])
'@jridgewell/[email protected]':
dependencies:
@@ -5904,6 +6032,66 @@ snapshots:
'@types/[email protected]': {}
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
'@ungap/[email protected]': {}
@@ -6016,26 +6204,26 @@ snapshots:
'@vue/shared': 3.5.39
csstype: 3.2.3
dependencies:
'@vue/compiler-ssr': 3.5.39
'@vue/shared': 3.5.39
- vue: 3.5.39([email protected])
+ vue: 3.5.39([email protected])
'@vue/[email protected]': {}
dependencies:
'@types/web-bluetooth': 0.0.21
'@vueuse/metadata': 14.3.0
- '@vueuse/shared': 14.3.0([email protected]([email protected]))
- vue: 3.5.39([email protected])
+ '@vueuse/shared': 14.3.0([email protected]([email protected]))
+ vue: 3.5.39([email protected])
'@vueuse/[email protected]': {}
dependencies:
- vue: 3.5.39([email protected])
+ vue: 3.5.39([email protected])
dependencies:
@@ -6743,9 +6931,9 @@ snapshots:
optionalDependencies:
- typescript: 6.0.3
+ typescript: 7.0.2
dependencies:
@@ -7486,12 +7674,12 @@ snapshots:
dependencies:
'@fortawesome/fontawesome-svg-core': 6.7.2
'@fortawesome/free-solid-svg-icons': 6.7.2
- '@fortawesome/vue-fontawesome': 3.1.3(@fortawesome/[email protected])([email protected]([email protected]))
- '@vueuse/core': 14.3.0([email protected]([email protected]))
+ '@fortawesome/vue-fontawesome': 3.1.3(@fortawesome/[email protected])([email protected]([email protected]))
+ '@vueuse/core': 14.3.0([email protected]([email protected]))
bootstrap: 5.3.8(@popperjs/[email protected])
d3: 7.9.0
d3-flextree: 2.1.2
@@ -7499,10 +7687,10 @@ snapshots:
humanize-duration: 3.33.2
lodash: 4.18.1
- vue: 3.5.39([email protected])
+ vue: 3.5.39([email protected])
vue-clipboard3: 2.0.0
transitivePeerDependencies:
- '@emotion/is-prop-valid'
- '@popperjs/core'
@@ -7703,16 +7891,16 @@ snapshots:
react: 19.2.7
scheduler: 0.27.0
dependencies:
'@babel/runtime': 7.29.7
html-parse-stringify: 3.0.1
- i18next: 26.3.6([email protected])
+ i18next: 26.3.6([email protected])
react: 19.2.7
use-sync-external-store: 1.6.0([email protected])
optionalDependencies:
react-dom: 19.2.7([email protected])
- typescript: 6.0.3
+ typescript: 7.0.2
@@ -8018,9 +8206,9 @@ snapshots:
dependencies:
- vue: 3.5.39([email protected])
+ vue: 3.5.39([email protected])
dependencies:
@@ -8146,7 +8334,7 @@ snapshots:
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
@@ -8160,7 +8348,7 @@ snapshots:
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
- typescript: 6.0.3
+ typescript: 7.0.2
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
@@ -8168,6 +8356,29 @@ snapshots:
+ optionalDependencies:
+ '@typescript/typescript-aix-ppc64': 7.0.2
+ '@typescript/typescript-darwin-arm64': 7.0.2
+ '@typescript/typescript-darwin-x64': 7.0.2
+ '@typescript/typescript-freebsd-arm64': 7.0.2
+ '@typescript/typescript-freebsd-x64': 7.0.2
+ '@typescript/typescript-linux-arm': 7.0.2
+ '@typescript/typescript-linux-arm64': 7.0.2
+ '@typescript/typescript-linux-loong64': 7.0.2
+ '@typescript/typescript-linux-mips64el': 7.0.2
+ '@typescript/typescript-linux-ppc64': 7.0.2
+ '@typescript/typescript-linux-riscv64': 7.0.2
+ '@typescript/typescript-linux-s390x': 7.0.2
+ '@typescript/typescript-linux-x64': 7.0.2
+ '@typescript/typescript-netbsd-arm64': 7.0.2
+ '@typescript/typescript-netbsd-x64': 7.0.2
+ '@typescript/typescript-openbsd-arm64': 7.0.2
+ '@typescript/typescript-openbsd-x64': 7.0.2
+ '@typescript/typescript-sunos-x64': 7.0.2
+ '@typescript/typescript-win32-arm64': 7.0.2
+ '@typescript/typescript-win32-x64': 7.0.2
+
@@ -8342,20 +8553,20 @@ snapshots:
dependencies:
clipboard: 2.0.11
dependencies:
tippy.js: 6.3.7
- vue: 3.5.39([email protected])
+ vue: 3.5.39([email protected])
dependencies:
'@vue/compiler-dom': 3.5.39
'@vue/compiler-sfc': 3.5.39
'@vue/runtime-dom': 3.5.39
- '@vue/server-renderer': 3.5.39([email protected]([email protected]))
+ '@vue/server-renderer': 3.5.39([email protected]([email protected]))
'@vue/shared': 3.5.39
optionalDependencies:
- typescript: 6.0.3
+ typescript: 7.0.2
diff --git a/frontend/scripts/check-react-layering.mjs b/frontend/scripts/check-react-layering.mjs
index 6f84e3d49f..69f642689a 100644
--- a/frontend/scripts/check-react-layering.mjs
+++ b/frontend/scripts/check-react-layering.mjs
@@ -14,7 +14,9 @@
import { readFileSync, readdirSync } from "node:fs";
import { dirname, relative, resolve } from "node:path";
import { fileURLToPath } from "node:url";
-import ts from "typescript";
+// typescript 7 (the native compiler) no longer ships the JS compiler API,
+// so this scanner parses with the pinned typescript 6 alias instead.
+import ts from "typescript-6";
const __dirname = dirname(fileURLToPath(import.meta.url));
const ROOT = resolve(__dirname, "..");
diff --git a/frontend/tsconfig.app.json b/frontend/tsconfig.app.json
index c4cb7f9058..00dc02a2ca 100644
--- a/frontend/tsconfig.app.json
+++ b/frontend/tsconfig.app.json
@@ -20,8 +20,6 @@
"noEmit": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"lib": ["ES2025", "DOM", "DOM.Iterable"],
- "baseUrl": ".",
- "ignoreDeprecations": "6.0",
"strict": true,
"skipLibCheck": true,
"paths": {
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index ec6b2fdcc5..9d2a3be5a4 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -1,7 +1,5 @@
{
"compilerOptions": {
- "baseUrl": ".",
- "ignoreDeprecations": "6.0",
"paths": {
"@/*": ["./src/*"]
}
diff --git a/renovate.json b/renovate.json
index 655309c05f..9886a2cb08 100644
--- a/renovate.json
+++ b/renovate.json
@@ -59,6 +59,7 @@
],
"ignoreDeps": [
"github.com/pingcap/tidb/pkg/parser",
- "github.com/elastic/go-elasticsearch/v7"
+ "github.com/elastic/go-elasticsearch/v7",
+ "typescript-6"
]
}