Skip to content

Commit 7aed876

Browse files
dependabot[bot]mastermanas805claude
authored
chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 (#160)
* chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.9.3...v6.0.3) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix(ts): TypeScript 6.0 compat — ignoreDeprecations for baseUrl + node types TS 6.0.3 turns the `baseUrl` deprecation into a hard error (TS5101) and stops auto-including @types/node ambient globals for the src project, so test files using fs/path/__dirname fail (TS2591/TS2304). - add `"ignoreDeprecations": "6.0"` to silence the baseUrl deprecation - add `"types": ["node"]` so node module/global types resolve (vite/client stays covered by the /// reference in vite-env.d.ts) `npm run gate` (tsc --noEmit && build && vitest) green: 79 files, 1107 passed / 3 skipped. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Manas Srivastava <mastermanas805@gmail.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Manas Srivastava <40285830+mastermanas805@users.noreply.github.com>
1 parent 4829fc5 commit 7aed876

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@vitest/coverage-v8": "^4.1.7",
3939
"jsdom": "^29.1.1",
4040
"size-limit": "^11.0.0",
41-
"typescript": "^5.9.3",
41+
"typescript": "^6.0.3",
4242
"vite": "^8.0.14",
4343
"vitest": "^4.1.7"
4444
},

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"noUnusedLocals": false,
1616
"noUnusedParameters": false,
1717
"noFallthroughCasesInSwitch": true,
18+
"ignoreDeprecations": "6.0",
19+
"types": ["node"],
1820
"baseUrl": ".",
1921
"paths": {
2022
"@/*": ["src/*"]

0 commit comments

Comments
 (0)