샘플
Handle lru-cache TTL stale entry reads without get() silently evicting the entry on first read or maxSize dropping oversized items without error
sha256:45ba1445da9dc36a83c5aad3029d51db56180dc067c54674860a7701622f3552
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Handle lru-cache TTL stale entry reads without get() silently evicting the entry on first read or maxSize dropping oversized items without error HOW
- 패키지
- lru-cache 11.5.2
- 환경
- node
- 생성일
- 2026-08-15T11:02:30Z
컨트랙트
- assert allowStale: true alone returns stale value once and immediately deletes entry, requiring noDeleteOnStaleGet: true for repeated reads
- assert has() always returns false for expired keys even when allowStale is enabled
- assert updateAgeOnGet: true does not revive already-stale entries on get()
- assert cache.size retains expired entries until get() or purgeStale() while iterators skip them without purging
- assert maxSize without sizeCalculation throws TypeError on set, while oversized items are silently dropped without error
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-15 · ed25519:d91480838ac982c9