Skip to content

Bump typescript from 5.9.3 to 6.0.3 in /src/textmate#19485

Open
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/npm_and_yarn/src/textmate/typescript-6.0.3
Open

Bump typescript from 5.9.3 to 6.0.3 in /src/textmate#19485
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/npm_and_yarn/src/textmate/typescript-6.0.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps typescript from 5.9.3 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:

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 19, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot enabled auto-merge (squash) April 19, 2026 23:33
Copy link
Copy Markdown
Contributor

@microsoft-github-policy-service microsoft-github-policy-service Bot left a comment

Choose a reason for hiding this comment

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

:shipit:

@microsoft-github-policy-service microsoft-github-policy-service Bot added the auto-merge Automatically merge this PR label Apr 19, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 19, 2026

Test this change out locally with the following install scripts (Action run 24909021007)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 24909021007
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 24909021007"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 24909021007
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 24909021007"

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/src/textmate/typescript-6.0.3 branch 3 times, most recently from 1ed1bba to 36d3fe4 Compare April 20, 2026 00:04
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>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/src/textmate/typescript-6.0.3 branch from 36d3fe4 to 277bc1d Compare April 22, 2026 21:39
@anthony-c-martin
Copy link
Copy Markdown
Member

@copilot fix pls

…nfig

Agent-Logs-Url: https://github.com/Azure/bicep/sessions/f7988320-739c-4ba7-995d-29fbaa2a02fc

Co-authored-by: anthony-c-martin <38542602+anthony-c-martin@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 24, 2026

@copilot fix pls

Fixed in c6a68b1. TypeScript 6.0 deprecated moduleResolution=node10 (which ts-jest hardcodes internally), causing TS5107 errors. With noEmitOnError: true in tsconfig, this made ts-jest's emitSkipped become true, crashing the test suite. The fix adds "ignoreDeprecations": "6.0" to src/textmate/tsconfig.json to suppress the deprecation error, unblocking emit.

@anthony-c-martin
Copy link
Copy Markdown
Member

@copilot this feels more like a temporary bandaid. Is there a "proper" solution to this?

…ompatibility

Agent-Logs-Url: https://github.com/Azure/bicep/sessions/2cd45c2e-eb63-48d8-a61e-2e0bde2587a3

Co-authored-by: anthony-c-martin <38542602+anthony-c-martin@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 24, 2026

@copilot this feels more like a temporary bandaid. Is there a "proper" solution to this?

Updated in 71c4bad. The root cause is that ts-jest v29 hardcodes moduleResolution: Node10 internally (in fixupCompilerOptionsForModuleKind), which TypeScript 6 deprecated. There's no way to override this in ts-jest v29 — it'll be fixed in ts-jest v30.

The proper migration path for ts-jest + TypeScript 6 is:

  1. "isolatedModules": true in tsconfig.json — ts-jest's own documented recommendation; makes ts-jest use transpileModule() instead of the language service (also required for ts-jest v30)
  2. diagnostics: false in jest transform config — disables ts-jest's in-process type checking, which is where the Node10 crash occurs; type checking still runs via npm run build

This keeps tsconfig.json clean (no ignoreDeprecations), scopes the workaround to the test runner only, and aligns with the ts-jest v30 migration path.

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

Labels

auto-merge Automatically merge this PR 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.

2 participants