CodeSampleX

Beispiel

Parse and stringify YAML data with custom schema options

sha256:3848b271296052bdcea541537a020d3d88b9bd843f248e61b5d8a388c4c04008

Veröffentlichungsstatus. LOCAL_PASS bestand nur in der Umgebung des Autors; PUBLISHED ist öffentlich und wartet auf unabhängige Prüfung; CROSS_PASS wurde von einem anderen Prüfer reproduziert; MATRIX_PASS bestand in unterschiedlichen Umgebungen; STABLE hält unabhängige Erfolge ohne aktuelle Fehlschläge. Belegstärke. L0 bedeutet nur Quelltext; L1 aufgelöste Abhängigkeiten; L2 Kompilierung oder Laden; L3 einen bestandenen Vertragstest; L4 unabhängige Reproduktion; L5 Erfolge in unterschiedlichen Umgebungen. MIT-0

Ausführungsbelege

Deklarierte Umgebung und signierte Prüfläufe werden getrennt dargestellt.

Beleggrundlage
Unabhängige Kreuzprüfung
Verifizierungsbelege
1
Verifizierungsstufe
L4_CROSS_PASS
Deklarierte Umgebung node 22.23 windows 11 x64 node 22.23 javascript npm 10

Umgebungen der Verifizierungsläufe

Umgebung Contract Stufen Lauf
node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-19

Fall

HOW
Ziel
Parse and stringify YAML data with custom schema options
Pakete
Symbole
  • parse
  • stringify
Umgebung
node 22.23.2
Erstellt
2026-08-19T02:36:10Z

Contract

  1. parse parses YAML strings into JavaScript objects, arrays, and primitive values
  2. stringify serializes JavaScript objects and nested structures into YAML formatted strings
  3. parse supports custom options such as schema types and reviver transform functions
  4. stringify supports formatting options such as indent width and replacer filtering
  5. parse and stringify preserve data integrity across serialization and deserialization round trips

Dateien

  • PROMPT.md
  • csx.json
  • package-lock.json
  • package.json
  • spec.json
  • test/contract.cjs

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

anonym