샘플
Distinguish detect-libc v2 async and sync functions from v1 static properties to avoid truthiness traps on isNonGlibcLinux and unawaited Promise comparisons
sha256:a90b93363862ab9bf1c31caec9cc9526ff412ebb50669f7f54a8559a3e2ce05a
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Distinguish detect-libc v2 async and sync functions from v1 static properties to avoid truthiness traps on isNonGlibcLinux and unawaited Promise comparisons HOW
- 패키지
- detect-libc 2.1.2
- 환경
- node
- 생성일
- 2026-08-16T06:22:11Z
컨트랙트
- typeof detectLibc.family === 'function'
- typeof detectLibc.version === 'function'
- typeof detectLibc.isNonGlibcLinux === 'function'
- detectLibc.family !== 'glibc'
- detectLibc.family() instanceof Promise
- typeof detectLibc.familySync() === 'string' || detectLibc.familySync() === null
- typeof detectLibc.isNonGlibcLinuxSync() === 'boolean'
- typeof detectLibc.versionSync() === 'string' || detectLibc.versionSync() === null
- detectLibc.method === undefined
파일
- 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