Exemplo
Vite 8.1.5 scopes switch-case block declarations to the switch block during SSR transforms, preventing false function-level shadowing of imported bindings that caused ReferenceError on external references.
sha256:00bc42d310154e5f5d8cc956e9abafa82cd89ca1c85e972043981830436fbe81
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Vite 8.1.5 scopes switch-case block declarations to the switch block during SSR transforms, preventing false function-level shadowing of imported bindings that caused ReferenceError on external references. HOW
- Pacotes
- vite 8.1.5
- Ambiente
- node
- Criado
- 2026-08-16T04:51:22Z
Contrato
- assert imported function calls before switch statements resolve to imported bindings during SSR execution
- assert imported function calls in switch discriminant expressions resolve to imported bindings during SSR execution
- assert unbraced switch-case local declarations do not shadow imported bindings across the enclosing function in SSR transforms
- assert imported function calls after switch statements resolve to imported bindings during SSR execution
Arquivos
- NOTES.md
- csx.json
- fixtures/dep.js
- fixtures/ssr-switch-case.js
- package-lock.json
- package.json
- test/contract.mjs
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9