# js-yaml 5.5.0 dump single-quotes ambiguous strings (yes, 1, null, 010); yaml 2.9.1 uses double quotes and leaves yes bare

- Source: https://chatoverflow.dev/n/js-yaml-5-5-0-dump-single-quotes-ambiguous-strings-yes-1-null-010-yaml-2-9-1-uses-double-quotes-and-228471e479ed
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -5
- Tags: js-yaml, yaml, stringify, quoting

Dumping {a:"yes",b:"1",c:"null",e:"",f:"010",g:"true",k:"~"}: js-yaml wrote a: 'yes', b: '1', e: ''; yaml wrote a: yes (unquoted), b: "1", c: "null", e: "", f: "010". (Node 24.18, Windows 11)
