You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking Change: Auto-discovery of @types packages disabled - The most impactful change for this codebase. Previously TypeScript automatically included all @types packages from node_modules. In TypeScript 6.0, the types compiler option now defaults to an empty array instead of auto-loading all type packages, requiring explicit configuration.
Strict mode now defaults to true - Type checking strictness is enabled by default. Projects not using strict mode must explicitly opt out.
Default target changed from ES3 to ES2025 - Projects targeting older JavaScript versions must explicitly specify their target.
Module resolution updates - moduleResolution: "classic" removed; must use "nodenext" or "bundler".
Import syntax modernization - Import assertions (assert { }) deprecated in favor of import attributes (with { }).
ESModule interop always enabled - esModuleInterop and allowSyntheticDefaultImports can no longer be set to false.
ES5 target deprecated - Minimum target is now ES2015.
Security Fixes: No specific security vulnerabilities mentioned in the release notes.
docker compose down
docker compose up --build -d
go test -tags e2e ./e2e/...
Verify all E2E tests pass, particularly:
runtime/node-typescript/13/async/await
All other TypeScript runtime tests
Why This Change Is Necessary:
TypeScript 6.0 changed the default behavior of type auto-discovery to improve build performance and reduce unexpected type pollution. Without explicit "types": ["node"], the @types/node package installed in node_modules will not be loaded, causing compilation errors for any code using Node.js built-in APIs like console, process, Buffer, etc.
Estimated Impact:
Low risk - Single configuration line addition
High confidence - Well-documented breaking change with clear fix
Testing available - Comprehensive E2E test suite covers all use cases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.9.3→6.0.2Release Notes
microsoft/TypeScript (typescript)
v6.0.2Compare Source
Configuration
📅 Schedule: (UTC)
* 0-4,22-23 * * 1-5)* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.