샘플
Resolve synchronous fetchMethod returns and trigger dispose and onInsert hooks correctly during background fetch revalidation
sha256:d990f985c98d27e5cfe08cafaa4cd63d7619ab9877c02957baf7a97db1b23d75
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Resolve synchronous fetchMethod returns and trigger dispose and onInsert hooks correctly during background fetch revalidation HOW
- 패키지
- lru-cache 11.5.2
- 환경
- node
- 생성일
- 2026-08-16T07:28:46Z
컨트랙트
- assert synchronous fetchMethod resolves immediately instead of returning an unresolved hanging promise
- assert dispose and disposeAfter fire with reason evict for stale entries evicted during in-flight background fetches
- assert onInsert does not fire for internal BackgroundFetch promise objects and only fires once on resolution with reason add
- assert cache.set overwriting a pending background fetch disposes the superseded stale entry with reason set
파일
- 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-16 · ed25519:d91480838ac982c9