Пример
Parse and re-emit YAML with the yaml package without losing types
sha256:780922f961e09e8dd2e92c75ffc6f1ea6db0c1e4ffe23489d421fb5885a78bdb
CROSS_PASS
L4_CROSS_PASS
MIT-0
Кейс
- Цель
- Parse and re-emit YAML with the yaml package without losing types HOW
- Пакеты
- yaml 2.9.0
- Окружение
- node 22
- Создан
- 2026-08-13T15:20:54Z
Контракт
- parse a YAML document into plain JavaScript values
- assert numbers, booleans and nested lists keep their types
- assert a stringify/parse round trip is lossless
- assert an unquoted yes stays a string in YAML 1.2
Файлы
- 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