Skip to content

chore(deps)(deps-dev): bump typescript from 5.9.3 to 6.0.3#87

Merged
adm01-debug merged 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-6.0.3
May 9, 2026
Merged

chore(deps)(deps-dev): bump typescript from 5.9.3 to 6.0.3#87
adm01-debug merged 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 May 4, 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

Summary by CodeRabbit

Notas de Lançamento

  • Chores
    • Versão do TypeScript atualizada para ^6.0.3.

Review Change Stack

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 4, 2026

Labels

The following labels could not be found: automated, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 4, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Validation error: String must contain at most 250 character(s) at "tone_instructions"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 369f8233-9445-4e47-b56e-ae4580614052

📥 Commits

Reviewing files that changed from the base of the PR and between 52cfb10 and 1b2706e.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json

📝 Walkthrough

Walkthrough

A dependência de desenvolvimento typescript em package.json foi atualizada de ^5.5.3 para ^6.0.3, alterando a versão do compilador usada por lint e checagem de tipos.

Changes

TypeScript Dependency Update

Layer / File(s) Summary
Dependency Version
package.json
TypeScript devDependencies entry bumped from ^5.5.3 to ^6.0.3.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

Eu pulo nas teclas com um brilho no olhar,
Um bump no TypeScript faz os tipos dançar,
Compilador novo, passos a rimar,
Eu roio um bug e deixo o build cantar,
Coelhinho feliz vê o código alinhar.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Title check ⚠️ Warning O título refere-se a uma versão diferente (5.9.3) da que está no sumário (5.5.3), criando imprecisão e potencial confusão. Atualize o título para refletir a versão correta: 'chore(deps)(deps-dev): bump typescript from 5.5.3 to 6.0.3' ou verifique qual versão anterior é a correta.
Description check ⚠️ Warning A descrição não segue o template obrigatório do repositório, faltam seções críticas como Descrição, Tipo de mudança, Checklist de validação e Como testar. Preencha o template completo com: descrição breve, tipo de mudança (Chore), checklist de validação (incluindo 'npx tsc --noEmit'), passos para testar e notas do review.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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


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

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 55a0183 to 4eb3da0 Compare May 6, 2026 22:21
Copy link
Copy Markdown
Contributor

@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 current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 178: The package.json currently pins "typescript": "^6.0.3" which is
incompatible with the installed `@typescript-eslint` v8.18.0; update package.json
to fix the mismatch by either upgrading both `@typescript-eslint/parser` and
`@typescript-eslint/eslint-plugin` to >=8.58.0 (recommended) or by downgrading
"typescript" to a supported ^5.x (e.g., ^5.4); ensure you update the
corresponding devDependencies entries for "@typescript-eslint/parser" and
"@typescript-eslint/eslint-plugin" when choosing the upgrade path and run
npm/yarn install and your lint/typecheck scripts to verify.
🪄 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: e70c765c-9cd4-40d1-bb89-8a0461bd41d1

📥 Commits

Reviewing files that changed from the base of the PR and between 55a0183 and 4eb3da0.

⛔ 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
"tailwindcss": "^3.4.19",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.5.3",
"typescript": "^6.0.3",
Copy link
Copy Markdown
Contributor

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:

For @typescript-eslint/parser8.18.0 and@typescript-eslint/eslint-plugin 8.18.0, what TypeScript versions are officially supported? Does the support range include TypeScript 6.0.x?

💡 Result:

For @typescript-eslint/parser 8.18.0 and @typescript-eslint/eslint-plugin 8.18.0, the officially supported TypeScript versions are >=4.8.4 and <5.8.0.[1][2] This is indicated by the peer dependency range in the parser's package.json ("typescript": ">=4.8.4 <5.8.0"), which the plugin shares via shared internals like @typescript-eslint/typescript-estree.[3][4] The parser warns on unsupported versions, with examples showing ranges like >=4.7.4 <5.7.0 in nearby versions, confirming the pattern of supporting recent TS versions (less than 2 years old).[3][4] TypeScript 6.0.x is not supported, as it exceeds the upper bound <5.8.0; support for TS 6 was added later in v8.58.0.[5][6]

Citations:


🌐 Web query:

Does Vite 5.4.19 (and @vitejs/plugin-react-swc 3.11.0) officially support TypeScript 6.0.x in type-checking and development workflows?

💡 Result:

No—there is no official statement from Vite 5.4.19 or @vitejs/plugin-react-swc 3.11.0 that they “support TypeScript 6.0.x” specifically for type-checking and development workflows. Why: 1) Vite itself does not perform TypeScript type checking; it only transpiles TypeScript files, and it explicitly notes that type checking is handled by your IDE/build process, not by Vite. So any “type-checking support” is not something Vite claims for any particular TypeScript version (including 6.0.x) [1]. 2) The official Vite plugin page for TypeScript behavior indicates transpilation-only behavior and discusses tsconfig handling, but it does not claim compatibility guarantees with a specific TypeScript major/minor range [1]. 3) The official @vitejs/plugin-react-swc documentation we found describes behavior/limits (e.g., tsconfig not resolved; target ignored and defaults used), but we did not find any official peer dependency or stated TypeScript version range that explicitly includes TypeScript 6.0.x [2]. What we can confirm from authoritative sources we found: - Vite 5.4.19 exists as a release (but the release notes/changelog we saw are about other fixes, not TypeScript 6 compatibility) [3][4]. - The Vite core repository later includes an internal/template change upgrading TypeScript to 6 (commit/issues from 2026-04), which suggests ecosystem movement toward TS 6, but it is not an explicit claim that Vite 5.4.19 (or plugin 3.11.0) officially supports TS 6.0.x in the specific way you asked [5][6]. Conclusion: Based on the official docs we located, Vite 5.4.19 and @vitejs/plugin-react-swc 3.11.0 do not “officially support TypeScript 6.0.x in type-checking workflows” (because Vite doesn’t do type checking) and we also did not find an official compatibility guarantee specifically naming TS 6.0.x for those versions [1][2]. If you want, tell me whether your workflow uses (a) IDE-only type checking (tsserver), (b) tsc --noEmit, (c) vite type-checking via a separate tool (e.g., vue-tsc / eslint), or (d) testing tools, and I can research which part of the toolchain needs TS 6 support.

Citations:


@typescript-eslint 8.18.0 does not support TypeScript 6.0.3—upgrade to 8.58.0+ or downgrade TypeScript.

TypeScript 6.0.3 requires @typescript-eslint/parser and @typescript-eslint/eslint-plugin v8.58.0 or later. The pinned version 8.18.0 only supports TypeScript >=4.8.4 <5.8.0, which excludes TS 6.0.x. Since your lint and typecheck scripts both run tsc --noEmit, this incompatibility will cause failures. Either upgrade both ESLint-TypeScript packages to ^8.58.0+ or pin TypeScript to ^5.4 instead.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 178, The package.json currently pins "typescript":
"^6.0.3" which is incompatible with the installed `@typescript-eslint` v8.18.0;
update package.json to fix the mismatch by either upgrading both
`@typescript-eslint/parser` and `@typescript-eslint/eslint-plugin` to >=8.58.0
(recommended) or by downgrading "typescript" to a supported ^5.x (e.g., ^5.4);
ensure you update the corresponding devDependencies entries for
"@typescript-eslint/parser" and "@typescript-eslint/eslint-plugin" when choosing
the upgrade path and run npm/yarn install and your lint/typecheck scripts to
verify.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from 4eb3da0 to f8d4c32 Compare May 6, 2026 22:51
Copy link
Copy Markdown
Owner

@coderabbitai full review


Generated by Claude Code

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 6, 2026

Tip

For best results, initiate chat on the files or code changes.

@adm01-debug, here is a summary of what to watch for with this TypeScript 5.8.3 → 6.0.3 bump, followed by the full review.


⚠️ TypeScript 6.0 — Key Breaking Changes to Verify

TypeScript 6.0 is a significant transition release designed to prepare for TypeScript 7.0. While it remains API-compatible with TypeScript 5.9 for type checking, it introduces a number of breaking changes and deprecations.

Here are the most impactful areas to check in your project's tsconfig.json:

Area Change
target target: es5 is now deprecated — you'll need to migrate to a newer target or use an external compiler.
moduleResolution moduleResolution: classic has been removed entirely. All practical use cases are now served by nodenext or bundler.
esModuleInterop esModuleInterop and allowSyntheticDefaultImports can no longer be set to false. The safer interop behavior is now always enabled.
downlevelIteration Setting --downlevelIteration at all will now lead to a deprecation error.
strict If you never had "strict": true in your tsconfig and relied on the old default of false, you may get a wall of new errors.
types TypeScript previously auto-included every @types/* package in node_modules. Now types defaults to []. You'll need to add "types": ["node"] (or whatever packages you need) explicitly.
moduleResolution silent shift Projects using --module commonjs without explicit moduleResolution now get bundler instead of node10.
"use strict" emission TypeScript will now unconditionally emit "use strict" in non-ESM files. ESM files are already strict by spec, so this only affects CommonJS output.

✅ Recommendations

  1. Run the automated migration tool before or after merging: npx @andrewbranch/ts5to6`` — this tool handles the two most disruptive changes (baseUrl removal and rootDir inference) automatically.
  2. Run a dry type-check: npx tsc --noEmit to surface any new errors introduced by the bump.
  3. Review your tsconfig.json against the changes above, particularly target, moduleResolution, and types.

💡 If you have an explicit tsconfig.json that sets strict, module, target, and types explicitly, you probably won't see many issues.


Triggering a full review of the PR now.

[full_review]
User requested a full review of PR #87 (TypeScript 5.8.3 → 6.0.3 bump).

@adm01-debug
Copy link
Copy Markdown
Owner

🔴 Parecer técnico — SEGURAR. NÃO mergear sem teste extensivo

Tipo: Linguagem major (5.8.3 → 6.0.3)
Risco: Alto
Categoria: TypeScript compiler — afeta TODO o codebase

TypeScript 6.0 é uma release nova. Apesar do TS ter histórico de transições suaves, sempre há:

  • Novos checks habilitados por padrão (mais erros)
  • APIs deprecadas removidas
  • Mudanças em narrowing/inference que revelam bugs antes silenciosos

Para o PromoGifts especificamente:

  • Baseline ESLint atual já tem 1.571 erros — TS 6.0 pode aumentar drasticamente esse número
  • O time está em fase de cleanup (Fase 1 da auditoria) — adicionar uma migração de linguagem em paralelo é alto risco
  • Não há benefício competitivo claro em estar no TS 6.0 ainda (5.8 tem todos os features modernos)

Recomendação: fechar este PR como will not adopt now e configurar Dependabot pra ignorar majors de TypeScript:

# .github/dependabot.yml
ignore:
  - dependency-name: typescript
    update-types: [version-update:semver-major]

Reabrir manualmente quando time decidir migrar (provavelmente Q3/Q4 2026 após Fase 1-3 da auditoria fecharem).

— Claude (housekeeping de PRs, 08/05/2026)

@dependabot dependabot Bot changed the title chore(deps)(deps-dev): bump typescript from 5.8.3 to 6.0.3 chore(deps)(deps-dev): bump typescript from 5.9.3 to 6.0.3 May 9, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.3 branch from e4b9c26 to 52cfb10 Compare May 9, 2026 12:31
@dependabot dependabot Bot requested a review from adm01-debug as a code owner May 9, 2026 12:31
@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
promo-gifts Ready Ready Preview, Comment May 9, 2026 2:38pm

@adm01-debug
Copy link
Copy Markdown
Owner

@dependabot rebase

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/typescript-6.0.3 branch from 52cfb10 to 1b2706e Compare May 9, 2026 14:37
@adm01-debug adm01-debug merged commit 9c94284 into main May 9, 2026
13 of 14 checks passed
@adm01-debug adm01-debug deleted the dependabot/npm_and_yarn/typescript-6.0.3 branch May 9, 2026 14:52
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.

1 participant