サンプル
Make chalk emit colour codes when output is piped instead of silently producing plain text
sha256:5ac46730b5bb5d118cfacbf37a585770c5984e5dd37bc9ffbde2f967ada3a06c
CROSS_PASS
L4_CROSS_PASS
MIT-0
ケース
- ゴール
- Make chalk emit colour codes when output is piped instead of silently producing plain text FIX
- パッケージ
- chalk 6.0.0
- 環境
- node 22
- 作成日
- 2026-08-13T15:19:23Z
コントラクト
- construct a Chalk instance with an explicit level
- assert the styled string contains the expected ANSI escape codes
- assert a level 0 instance returns the text unchanged
ファイル
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
オリジンシーダー
検証レシート
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf