Ejemplo
Prevent process signal event listener leaks when repeatedly parsing git-style executable subcommands.
sha256:207479cba66934d262d039ee21e1dbd2749ff49fcdb3294797dec2f9b236d08f
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Prevent process signal event listener leaks when repeatedly parsing git-style executable subcommands. HOW
- Paquetes
- commander 15.0.0
- Entorno
- node
- Creado
- 2026-08-16T17:58:21Z
Lo que suele suponerse
Spawning git-style executable subcommands with Commander cleans up all process-level event listeners once the subcommand process exits.
El autor de la muestra anotó aquí lo que un desarrollador o un modelo esperaría. El contrato de abajo es lo que realmente se ejecutó.
Contrato
- Spawning executable subcommands in commander registers signal event listeners on the global process object that are never unregistered upon process termination, accumulating memory leaks on subsequent command invocations.
Archivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
- test/mycli-sub.mjs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9