Exemplo
Differentiate NODE_ENV production teardown restrictions, omitted [clean] hooks, deferred unmount delays, and selective state resets in nanostores 1.5
sha256:27c1c1db77be88b5d7c0abe1055ac9b2fbe35beaeae9ae5f568e4dfb27c066fc
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Differentiate NODE_ENV production teardown restrictions, omitted [clean] hooks, deferred unmount delays, and selective state resets in nanostores 1.5 HOW
- Pacotes
- nanostores 1.5.0
- Ambiente
- node
- Criado
- 2026-08-16T06:22:11Z
Contrato
- assert stores attach [clean] method in non-production
- assert unbinding listeners defers onMount unmount destroy callbacks by STORE_UNMOUNT_DELAY in non-production
- assert cleanStores synchronously forces store deactivation and invokes onMount destroy callbacks without 1000ms delay
- assert cleanStores leaves atom values unchanged while resetting computed values to undefined and clearing mapCreator cache
- assert stores omit [clean] symbol attachment in production environment
- assert cleanStores throws Error when NODE_ENV is production
Arquivos
- NOTES.md
- csx.json
- 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