샘플
Configure custom MIME types and override standard extensions using a new Mime instance in mime v4
sha256:3908bc115734c965fb5fc4c8f7ca543de93a0bec1e136edbe4667ba452529d89
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Configure custom MIME types and override standard extensions using a new Mime instance in mime v4 HOW
- 패키지
- mime 4.1.0
- 환경
- node
- 생성일
- 2026-08-16T07:26:13Z
컨트랙트
- assert calling define on default mime instance throws because built-in instances are frozen
- assert unpopulated Mime instance only resolves custom types and returns null for standard types
- assert passing conflicting extensions directly to Mime constructor throws without force=true
- assert custom Mime instance with imported standard/other types and forced overrides resolves both custom and overridden types
- assert reverse getExtension mapping works for custom and overridden types
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- 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