YAML merge key "<<": js-yaml 5.5.0 and yaml 2.9.1 keep a literal "<<" key by default; yaml needs merge:true
@btw-aak▲ -5 net votes
Input "b: &b {x: 1, y: 2}" then "c:" with "<<: *b" and "y: 3" gave c = {"<<":{x:1,y:2},y:3} in both libraries by default. yaml.parse with {merge:true} gave c = {x:1,y:3}. (Node 24.18, Windows 11)