Skip to content

build(deps): bump react-router-dom from 6.30.2 to 7.13.1#3

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-router-dom-7.13.1
Closed

build(deps): bump react-router-dom from 6.30.2 to 7.13.1#3
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-router-dom-7.13.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 3, 2026

Bumps react-router-dom from 6.30.2 to 7.13.1.

Release notes

Sourced from react-router-dom's releases.

v7.1.3

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v713

Changelog

Sourced from react-router-dom's changelog.

7.13.1

Patch Changes

  • Updated dependencies:
    • react-router@7.13.1

7.13.0

Patch Changes

  • Updated dependencies:
    • react-router@7.13.0

7.12.0

Patch Changes

  • Updated dependencies:
    • react-router@7.12.0

7.11.0

Patch Changes

  • Updated dependencies:
    • react-router@7.11.0

7.10.1

Patch Changes

  • Updated dependencies:
    • react-router@7.10.1

7.10.0

Patch Changes

  • Updated dependencies:
    • react-router@7.10.0

7.9.6

Patch Changes

  • Updated dependencies:
    • react-router@7.9.6

7.9.5

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 3, 2026

Labels

The following labels could not be found: automerge, 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 Mar 3, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Free

Run ID: 2e4a92c3-62e7-4ee8-9402-01a2f07bf707

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.30.2 to 7.13.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.13.1/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-version: 7.13.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/react-router-dom-7.13.1 branch from 0909334 to 7b65fb7 Compare March 12, 2026 11:00
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 12, 2026

Superseded by #6.

@dependabot dependabot Bot closed this Mar 12, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/react-router-dom-7.13.1 branch March 12, 2026 11:05
adm01-debug added a commit that referenced this pull request May 8, 2026
Validacao cruzada plano-vs-repo executada em 08/05/2026.

Metricas Fase 0 corrigidas:
- TS/TSX files: 1.671 -> 1.632
- Linhas de codigo: ~281k -> ~183k (gap nao-investigado de ~98k)
- Edge functions: 87 -> 81 (F1-6.6 removeu 6)
- Paginas top-level: 75 -> 50 (12 documentadas + 13 nao-rastreadas)
- Sub-paginas: 50 -> 49
- Migrations: 366 -> 368 (+2: passkey + public_token)

Atualizacoes:
- F1-6.13 e Anexo C 🟡-10: 26 mencoes -> 11 mencoes (caiu organicamente)
- F1-4: total de rotas 102 -> 98
- Adicionada nota de discrepancia explicita na tabela de metricas
- Adicionada secao F1-9 (Investigacao de gap de metricas) com 5 tarefas
- Adicionada entry 1.6 no Changelog

Validacoes confirmadas:
- 11 commits citados existem no historico
- Typecheck verde (0 erros)
- F1-1, F1-3, F1-6, F1-7, F1-8: 100 porcento das remocoes confirmadas
- ESLint baseline: 1.571 erros congelados (confere)
- Decisoes F3 (#2, #3, #4, #5, #7): codigo presente conforme esperado

Sem mudancas em codigo. Apenas documentacao.
adm01-debug added a commit that referenced this pull request May 10, 2026
….x Onda C #3)

## Onda C #3 — fix tipado em src/lib/external-db/products.ts

O arquivo `enrichProducts` (em products.ts) recebia records do bridge
externo (`invokeBatchBridge`) e os armazenava como
`Record<string, unknown>[]`. Toda iteração depois (`variantsRecords.forEach((variant) => ...)`,
`imagesRecords.forEach((img) => ...)`) acessava propriedades que TS via
como `unknown` — gerando 36 erros TS2322/TS2345 em cascata.

## Fix

1. **Tipos auxiliares** específicos no topo do arquivo:
   - `VariantRow`: id, product_id, sku, color_id, color_name, color_code, color_hex, stock_quantity, selected_thumbnail, images
   - `ImageRow`: product_id, variant_id, url_cdn, url_original, filename, image_type, is_primary, is_og_image, applies_to_color, display_order, supplier_code, alt_text, title_text
   - `SupplierRow`: id, name, code
   - `ColorVariationRow`: id, name, slug, group_id
   - `ColorGroupRow`: id, name, slug

2. **Trocas pontuais nos 5 arrays de records**:
   - `Record<string, unknown>[]` → `{Variant,Image,Supplier,ColorVariation,ColorGroup}Row[]`
   - `as unknown[]` → cast pra tipo específico
   - Cast errado `as ExternalProduct[]` em suppliers → `as SupplierRow[]`

3. **Limpeza de `as string` redundantes** em `colorVariationMap`/
   `colorGroupMap` agora que os tipos são específicos.

## Resultado

| Métrica | Antes | Depois | Delta |
|---|---|---|---|
| Total tsc errors | 960 | **924** | **-36 (-3.8%)** |
| products.ts | 36 | **0** | **-100%** ✨ |

## Validação runtime

🟢 **Equivalente**. Os tipos das rows refletem o schema real do bridge
(verifiquei contra o uso em `forEach`/`map` no mesmo arquivo). Cast
puramente TS — JS gerado é idêntico. `r.data.records as VariantRow[]`
não muda comportamento.

## Risk

🟢 **Baixo**. Mudança puramente de tipos:
- Comportamento runtime equivalente (mesmos métodos/spreads)
- Tipos específicos refletem campos efetivamente acessados no código
- Nenhum caller externo precisa mudar

## Test plan

- [x] tsc total: 960 → 924 (-36)
- [x] products.ts: 36 → 0 (-100%)
- [x] .tsc-baseline.json regenerado
- [ ] CI verde
- [ ] CodeRabbit OK
adm01-debug added a commit that referenced this pull request May 10, 2026
….x Onda C #3) (#126)

## Onda C #3 — fix tipado em src/lib/external-db/products.ts

O arquivo `enrichProducts` (em products.ts) recebia records do bridge
externo (`invokeBatchBridge`) e os armazenava como
`Record<string, unknown>[]`. Toda iteração depois (`variantsRecords.forEach((variant) => ...)`,
`imagesRecords.forEach((img) => ...)`) acessava propriedades que TS via
como `unknown` — gerando 36 erros TS2322/TS2345 em cascata.

## Fix

1. **Tipos auxiliares** específicos no topo do arquivo:
   - `VariantRow`: id, product_id, sku, color_id, color_name, color_code, color_hex, stock_quantity, selected_thumbnail, images
   - `ImageRow`: product_id, variant_id, url_cdn, url_original, filename, image_type, is_primary, is_og_image, applies_to_color, display_order, supplier_code, alt_text, title_text
   - `SupplierRow`: id, name, code
   - `ColorVariationRow`: id, name, slug, group_id
   - `ColorGroupRow`: id, name, slug

2. **Trocas pontuais nos 5 arrays de records**:
   - `Record<string, unknown>[]` → `{Variant,Image,Supplier,ColorVariation,ColorGroup}Row[]`
   - `as unknown[]` → cast pra tipo específico
   - Cast errado `as ExternalProduct[]` em suppliers → `as SupplierRow[]`

3. **Limpeza de `as string` redundantes** em `colorVariationMap`/
   `colorGroupMap` agora que os tipos são específicos.

## Resultado

| Métrica | Antes | Depois | Delta |
|---|---|---|---|
| Total tsc errors | 960 | **924** | **-36 (-3.8%)** |
| products.ts | 36 | **0** | **-100%** ✨ |

## Validação runtime

🟢 **Equivalente**. Os tipos das rows refletem o schema real do bridge
(verifiquei contra o uso em `forEach`/`map` no mesmo arquivo). Cast
puramente TS — JS gerado é idêntico. `r.data.records as VariantRow[]`
não muda comportamento.

## Risk

🟢 **Baixo**. Mudança puramente de tipos:
- Comportamento runtime equivalente (mesmos métodos/spreads)
- Tipos específicos refletem campos efetivamente acessados no código
- Nenhum caller externo precisa mudar

## Test plan

- [x] tsc total: 960 → 924 (-36)
- [x] products.ts: 36 → 0 (-100%)
- [x] .tsc-baseline.json regenerado
- [ ] CI verde
- [ ] CodeRabbit OK
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