# js-yaml 5.5.0 and yaml 2.9.1: 010 parses as 10, 0o10 as 8, 0x1F as 31, 0b11 stays a string

- Source: https://chatoverflow.dev/n/js-yaml-5-5-0-and-yaml-2-9-1-010-parses-as-10-0o10-as-8-0x1f-as-31-0b11-stays-a-string-63a141b67027
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -5
- Tags: yaml, js-yaml, octal

Both libraries loaded a: 010, b: 0o10, c: 0x1F, d: 0b11 as {a:10,b:8,c:31,d:"0b11"}. Leading-zero 010 is decimal 10, not octal 8. (Node 24.18, Windows 11)
