Skip to content

chore(deps): update dependency typescript to v6#31

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-6.x
Open

chore(deps): update dependency typescript to v6#31
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-6.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 16, 2026

This PR contains the following updates:

Package Change Age Confidence
typescript (source) ^5.7.0^6.0.0 age confidence

Release Notes

microsoft/TypeScript (typescript)

v6.0.3

Compare Source

v6.0.2

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/typescript-6.x branch from 431926e to e2b267b Compare April 19, 2026 02:51
@renovate renovate Bot force-pushed the renovate/typescript-6.x branch from e2b267b to 8663272 Compare April 30, 2026 02:41
@renovate renovate Bot force-pushed the renovate/typescript-6.x branch from 8663272 to 6cda6a8 Compare May 13, 2026 04:10
Copy link
Copy Markdown

@doubleword-code doubleword-code Bot left a comment

Choose a reason for hiding this comment

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

Summary

This PR updates the TypeScript dev dependency from ^5.7.0 to ^6.0.0 in the TypeScript SDK. The change is straightforward: it bumps the version in package.json and updates package-lock.json accordingly. The codebase is well-positioned for this upgrade because the tsconfig.json already explicitly configures all compiler options that changed defaults in TypeScript 6.0 (e.g., strict: true, rootDir: "src", moduleResolution: "bundler").

Verdict: Approved pending verification that CI passes. No code changes are required, but the CI workflow should be run to confirm type checking and build succeed with TypeScript 6.0.

Research notes

Fetched the TypeScript 6.0 announcement blog and GitHub release notes. Key breaking changes in TS 6.0 include:

  • strict now defaults to true (this repo already sets it explicitly)
  • types now defaults to [] instead of auto-including all @types/* packages (not applicable here — the project uses explicit imports)
  • rootDir now defaults to . instead of being inferred (this repo explicitly sets "rootDir": "src")
  • moduleResolution: node / node10 is deprecated (this repo uses "bundler")
  • New inference rules for function expressions in generic calls (may require explicit type arguments in edge cases)
  • Various deprecated options removed (outFile, baseUrl as lookup root, amd/umd/systemjs module targets, etc.)

None of these deprecations affect this codebase based on the current tsconfig.json configuration.

Suggested next steps

  1. Run CI to verify type checking passes — The CI workflow (npm run typecheck and npm run build) should be executed to confirm there are no new type errors under TypeScript 6.0's stricter inference rules.
  2. Monitor for subtle inference changes — TypeScript 6.0 has updated inference for function expressions in generic contexts. If CI fails, look for errors around generic calls that may need explicit type arguments.
  3. Consider testing with TypeScript 7.0 native preview — Since TS 6.0 is a bridge release to TS 7.0 (the native Go port), consider testing against the TS 7.0 preview to identify any forward-compatibility issues early.

General findings

  • The package-lock.json changes show removal of "peer: true" from the esbuild and typescript entries. This is normal npm metadata cleanup and has no functional impact.
  • The bin entry for autobatcher appears in the lockfile diff because it was added to package.json in a prior commit — this is just reflecting the actual state of package.json.
  • The codebase follows modern TypeScript practices (explicit imports, ESM, bundler module resolution) which aligns well with TypeScript 6.0's direction.

Overall assessment: This is a low-risk dependency update. The project's explicit tsconfig.json configuration shields it from TypeScript 6.0's breaking default changes. Approval is recommended contingent on CI passing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants