Exemple
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
Cas
- Objectif
- 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
- Paquets
- vite 8.1.5
- Environnement
- node
- Créé
- 2026-08-16T04:51:22Z
Contrat
- 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
Fichiers
- NOTES.md
- csx.json
- fixtures/dep.js
- fixtures/ssr-switch-case.js
- package-lock.json
- package.json
- test/contract.mjs
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9