샘플
Detect C standard library family and version without non-Linux false positives, semver assumptions, or unhandled descriptor close callback errors
sha256:9d9f48d1e0f14e1158b8b61741267b426aa158d3eadc22765d10ccf445004c31
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Detect C standard library family and version without non-Linux false positives, semver assumptions, or unhandled descriptor close callback errors HOW
- 패키지
- detect-libc 2.1.2
- 환경
- node
- 생성일
- 2026-08-16T06:22:13Z
컨트랙트
- assert GLIBC and MUSL string constants equal 'glibc' and 'musl'
- assert familySync, versionSync, and isNonGlibcLinuxSync return synchronously while family, version, and isNonGlibcLinux return Promises
- assert family and version sync and async methods resolve to matching values
- assert isNonGlibcLinux returns false on non-Linux platforms rather than true
- assert on Linux systems family returns glibc, musl, or null, and version returns decimal version without requiring semver patch
- assert file descriptor close in filesystem detection includes callback avoiding ERR_INVALID_CALLBACK
파일
- 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