Skip to content

chore(deps-dev): bump typescript from 5.5.4 to 6.0.3#653

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-6.0.3
Open

chore(deps-dev): bump typescript from 5.5.4 to 6.0.3#653
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-6.0.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 17, 2026

Bumps typescript from 5.5.4 to 6.0.3.

Release notes

Sourced from typescript's releases.

TypeScript 6.0.3

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0 Beta

For release notes, check out the release announcement.

Downloads are available on:

TypeScript 5.9.3

Note: this tag was recreated to point at the correct commit. The npm package contained the correct content.

For release notes, check out the release announcement

Downloads are available on:

TypeScript 5.9

Note: this tag was recreated to point at the correct commit. The npm package contained the correct content.

For release notes, check out the release announcement

... (truncated)

Commits
  • 050880c Bump version to 6.0.3 and LKG
  • eeae9dd 🤖 Pick PR #63401 (Also check package name validity in...) into release-6.0 (#...
  • ad1c695 🤖 Pick PR #63368 (Harden ATA package name filtering) into release-6.0 (#63372)
  • 0725fb4 🤖 Pick PR #63310 (Mark class property initializers as...) into release-6.0 (#...
  • 607a22a Bump version to 6.0.2 and LKG
  • 9e72ab7 🤖 Pick PR #63239 (Fix missing lib files in reused pro...) into release-6.0 (#...
  • 35ff23d 🤖 Pick PR #63163 (Port anyFunctionType subtype fix an...) into release-6.0 (#...
  • e175b69 Bump version to 6.0.1-rc and LKG
  • af4caac Update LKG
  • 8efd7e8 Merge remote-tracking branch 'origin/main' into release-6.0
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 17, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 17, 2026 17:43
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 17, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 17, 2026

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: lokalise/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: eaa8e622-bd6c-431a-b02f-5c0565cbe2de

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The TypeScript development dependency in package.json was updated from version ^5.5.4 to ^6.0.3. This is a single version bump in the project's build tooling configuration. No other dependencies, scripts, or package configurations were modified.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically summarizes the main change: updating the TypeScript development dependency from version 5.5.4 to 6.0.3.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The pull request description clearly describes the TypeScript dependency update from 5.5.4 to 6.0.3, including release notes and commit information.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/typescript-6.0.3

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 42: package.json currently pins "typescript": "^6.0.3" but the toolchain
dependencies Vite and Vitest must be upgraded to be compatible; update the
package.json dependency entries for "vite" to 6.0+ and "vitest" to 4.0+ (and any
related Vite plugins or vite-related devDependencies) so they support TypeScript
6, then run build/test/lint as described; locate and update the "vite" and
"vitest" dependency lines in package.json and ensure any plugins (e.g.,
vite-plugin-*) are upgraded to versions compatible with Vite 6 before merging.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: lokalise/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: cdbae9eb-6cd1-440c-8b58-3cc2c47f284f

📥 Commits

Reviewing files that changed from the base of the PR and between 64a802f and 7d669e0.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"@semantic-release/release-notes-generator": "^14.1.0",
"semantic-release": "^25.0.3",
"typescript": "^5.5.4",
"typescript": "^6.0.3",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

TypeScript 6.0 breaking changes and migration guide

💡 Result:

TypeScript 6.0, released on March 23, 2026, is a transition release preparing for the native Go-based TypeScript 7.0. It introduces breaking changes through new defaults, deprecations (ignored via "ignoreDeprecations": "6.0" but removed in 7.0), and behavioral shifts. ## Key Breaking Changes and New Defaults - strict: true (was false) - Enables all strict type-checking options. - target: es2025 (was ES3/ES5, lowest now es2015). - types: [] (was [""] auto-installing all @types/) - Explicitly list needed types like ["node"]. - rootDir: config directory (was inferred) - Set explicitly e.g. "./src". - moduleResolution: bundler/nodenext (node10/classic deprecated). - esModuleInterop: true by default. - noUncheckedSideEffectImports: true. - lib: dom includes dom.iterable/asynciterable. - --outFile removed - Migrate to bundlers like esbuild/webpack. - Deprecated: baseUrl, module=namespace (use namespace), import assert { } (use with { }), triple-slash refs, downlevelIteration, legacy module targets (AMD/UMD/System). ## Behavioral Changes - Less context-sensitivity for this-less functions (may affect inference). - Type ordering may differ (use --stableTypeOrdering flag to preview 7.0 behavior). ## Migration Guide / Checklist 1. npm install -D typescript@latest (6.0+). 2. Add "ignoreDeprecations": "6.0" temporarily to tsconfig.json to suppress warnings. 3. Explicitly set changed defaults: "strict": true/false, "target": "es2022"/runtime match, "types": ["node"], "rootDir": "./src". 4. Update module/moduleResolution: e.g. "module": "nodenext", "moduleResolution": "bundler". 5. Replace deprecated import assert {} with with {}. 6. Remove baseUrl/outFile/downlevelIteration etc. 7. Run npx tsc --noEmit to check errors. 8. Test with --stableTypeOrdering. 9. Use codemod ts5to6 for baseUrl/rootDir auto-fixes. 10. Verify with TypeScript 7.0 native preview if available. Official docs: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-6-0.html. Address deprecations before 7.0 as ignoreDeprecations won't work there. Most projects need types[] and rootDir fixes first.

Citations:


🌐 Web query:

TypeScript 6.0 compatibility with Vite 5.4 and Vitest 3.2

💡 Result:

TypeScript 6.0 is not compatible with Vite 5.4 or Vitest 3.2. Vite 5.4 supports up to TypeScript 5.6, as shown in its dependency updates. Vitest 3.2, released in June 2025, also aligns with TypeScript versions prior to 6.0. TypeScript 6.0, released around April 2026, introduces breaking changes like new defaults (strict: true, target: es2025) and deprecations that require updates. Vite added TypeScript 6.0 support in April 2026 via PR #22110, which updates templates and configs (e.g., typescript: ~6.0.2, handling new behaviors like moduleResolution: bundler and ignoreDeprecations: '6.0'). This is in Vite 6+ or main branch, not backported to 5.4. Vitest 4.0 requires Vite >=6.0.0, implying it supports TypeScript 6.0 alongside newer Vite. To use TypeScript 6.0, upgrade to Vite 6+ and Vitest 4+. Follow TypeScript 6.0 migration guide for tsconfig changes (e.g., explicit target/moduleResolution, handle baseUrl removal). No reported specific compatibility issues beyond general TS 6.0 migration needs.

Citations:


🏁 Script executed:

#!/bin/bash
# Description: Verify TypeScript compilation and type checking works after the upgrade

# Check if package-lock.json or node_modules reflect the update
echo "=== Checking TypeScript version in lockfile ==="
fd -t f "package-lock.json" --exec jq -r '.packages."node_modules/typescript".version' {} \;

# Look for any TypeScript configuration files
echo -e "\n=== TypeScript configuration files ==="
fd -e json "tsconfig" --exec echo {} \;

# Check for any .d.ts files that might be affected
echo -e "\n=== Checking for type definition files ==="
fd -e ts ".d.ts$" | head -20

# Look for potential type errors in source files
echo -e "\n=== Source TypeScript files ==="
fd -e ts -e tsx --type f -E "node_modules" -E "dist" | head -20

Repository: lokalise/npm-package-template

Length of output: 305


🏁 Script executed:

#!/bin/bash
# Read the tsconfig.json to see current configuration
cat -n tsconfig.json

Repository: lokalise/npm-package-template

Length of output: 525


Upgrade Vite to 6.0+ and Vitest to 4.0+ to support TypeScript 6.0.

TypeScript 6.0.3 is incompatible with Vite 5.4.11 and Vitest 3.2.4. Vite 5.x supports only up to TypeScript 5.6, and Vitest 3.2 does not support TypeScript 6.0. These toolchain dependencies must be upgraded to Vite 6.0+ and Vitest 4.0+ for the TypeScript 6.0 upgrade to work.

Additionally, TypeScript 6.0 introduces major breaking changes and new defaults. While the tsconfig.json is mostly compatible (target: ESNext, moduleResolution: bundler, strict: true, and explicit types are all appropriate), you must follow the TypeScript 6.0 migration checklist before merging:

  1. Verify the build succeeds with Vite 6.0+ and Vitest 4.0+
  2. Run npm run lint:ts to ensure type checking passes with the new defaults
  3. Run npm run test and npm run build to verify the full pipeline works
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 42, package.json currently pins "typescript": "^6.0.3"
but the toolchain dependencies Vite and Vitest must be upgraded to be
compatible; update the package.json dependency entries for "vite" to 6.0+ and
"vitest" to 4.0+ (and any related Vite plugins or vite-related devDependencies)
so they support TypeScript 6, then run build/test/lint as described; locate and
update the "vite" and "vitest" dependency lines in package.json and ensure any
plugins (e.g., vite-plugin-*) are upgraded to versions compatible with Vite 6
before merging.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 7d669e0 to 49c9dcc Compare April 27, 2026 21:42
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 49c9dcc to 09fa0ac Compare April 27, 2026 21:43
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 09fa0ac to 77e36ba Compare April 27, 2026 21:45
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 77e36ba to 484110d Compare April 30, 2026 17:45
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 484110d to 81b3b8b Compare April 30, 2026 17:47
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 81b3b8b to 52a51c5 Compare April 30, 2026 17:49
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 52a51c5 to 700a8d7 Compare May 8, 2026 17:45
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 700a8d7 to 74b16aa Compare May 8, 2026 17:47
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 74b16aa to 508761c Compare May 8, 2026 17:48
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 508761c to f68301f Compare May 8, 2026 20:57
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from f68301f to 82c87d1 Compare May 12, 2026 00:55
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 82c87d1 to 2478320 Compare May 12, 2026 22:27
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 2478320 to 9dbaf63 Compare May 12, 2026 22:29
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 9dbaf63 to 6549491 Compare May 12, 2026 22:30
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 6.0.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.5.4...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>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 6549491 to f79ff30 Compare May 12, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants