샘플
Define custom MIME types and override mappings using Mime instance in mime v4
sha256:4bee1294ea2016465962d0cec020436b9816db1314ca6c68af54a0a9e6697805
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Define custom MIME types and override mappings using Mime instance in mime v4 HOW
- 패키지
- mime 4.1.0
- 환경
- node
- 생성일
- 2026-08-16T07:07:36Z
컨트랙트
- assert default mime object throws on mime.define because it is frozen in v4
- create a custom Mime instance with standardTypes to allow custom definitions
- assert defining a conflicting extension throws unless force=true is supplied
- assert starred extensions define reverse lookup without hijacking getType
- assert getAllExtensions returns a Set rather than an Array and returns null for unknown 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