-
Notifications
You must be signed in to change notification settings - Fork 0
Bump typescript from 5.4.5 to 6.0.3 #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dependabot
wants to merge
1
commit into
main
Choose a base branch
from
dependabot/npm_and_yarn/typescript-6.0.3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
Does TypeScript 6.0.3 exist and what are the breaking changes in TypeScript 6.0?💡 Result:
Yes—TypeScript 6.0.3 exists. It’s published as release tag v6.0.3 in the microsoft/TypeScript repository, with a release date of 2026-04-16. [1] Breaking changes in TypeScript 6.0 (not 6.0.3 patch): 1) Transition/compat goals: TypeScript 6.0 is a bridge toward TypeScript 7.0 (native port) and introduces breaking changes and deprecations intended to be resolved before 7.0. [2][3] 2) New default deprecations behavior via tsconfig: The release notes explain that TypeScript 6.0 deprecations can be ignored by setting "ignoreDeprecations": "6.0" in tsconfig, but TypeScript 7.0 will not support any of these deprecated options. [2][3] 3) strict is now true by default: The TypeScript 6.0 RC announcement states that strict is now true by default. If you previously relied on the default false, you must explicitly set "strict": false. [4] 4) types now defaults to []: The RC announcement notes that "types" now defaults to an empty array ([]). [4] 5) Deprecations of several compiler options in 6.0: The RC announcement lists deprecated options including target: es5, moduleResolution node (node10), moduleResolution classic, --alwaysStrict false, outFile, and others (as shown in its “Deprecated:” sections). [4] If you want, paste your tsconfig.json and I’ll map which of the above are likely to affect your project specifically.
Citations:
🌐 Web query:
Is Next.js 16.2.6 compatible with TypeScript 6.0.3?💡 Result:
Not fully guaranteed: Next.js 16.2.6 requires a minimum TypeScript version of 5.1.0, so TypeScript 6.0.3 should be compatible based on the minimum-version requirement. However, Next.js does not explicitly state compatibility with specific newer TypeScript patch versions (like 6.0.3) in the official docs—only that you must use at least 5.1.0. [1][2] Evidence from the official Next.js docs: - Next.js “Minimum TypeScript version: v5.1.0” in its installation/TypeScript guidance. [2] - The Next.js TypeScript configuration docs also describe TypeScript support and note errors with older TypeScript, recommending upgrading to the latest. [3] Conclusion: - Since 6.0.3 is greater than the stated minimum 5.1.0, it is expected to work with Next.js 16.2.6. [2] - If you hit any build/typecheck issues, the official guidance is to update TypeScript and related types (e.g.,
@types/react) to latest compatible versions. [3]Citations:
🏁 Script executed:
Repository: p-to-q/aleph
Length of output: 200
🏁 Script executed:
Repository: p-to-q/aleph
Length of output: 351
🏁 Script executed:
Repository: p-to-q/aleph
Length of output: 351
Fix lockfile sync: TypeScript set to 6.0.3 but lockfile still pins 5.4.5
web/package.jsonupdatestypescriptto6.0.3, butweb/package-lock.jsonstill resolvestypescriptto5.4.5, so the upgrade may not actually take effect unless the lockfile is updated in this PR.Next.js 16.2.6 should work with TS 6.0.3 (Next requires TypeScript >=
5.1.0), but TS 6.0 introduces breaking/deprecation changes—yourweb/tsconfig.jsonandtsconfig.base.jsonalready have"strict": true, so focus on deprecated compiler options and runnpm ci+npm run build/tsc --noEmitto confirm.🤖 Prompt for AI Agents