샘플
Configure runtime color formatting and disable ANSI codes in Chalk v5 via chalk.level instead of deprecated chalk.enabled or missing chalk.supportsColor
sha256:525f14e9ff41964b2cf8700329f042389c75335c2b13dc4d12796c1cbb8e0f28
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Configure runtime color formatting and disable ANSI codes in Chalk v5 via chalk.level instead of deprecated chalk.enabled or missing chalk.supportsColor HOW
- 패키지
- chalk 5.4.1
- 환경
- node
- 생성일
- 2026-08-16T07:28:33Z
컨트랙트
- assert that chalk.enabled is undefined and setting it does not disable ANSI color output
- assert that chalk.supportsColor is undefined on the default export
- set chalk.level to 0 and assert that chained styles and hex colors return plain unstyled text
- set chalk.level to 1 and assert that ANSI escape sequences are restored
- assert that Chalk constructor rejects invalid level values with an error
파일
- 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