Sourced from js-yaml's changelog.
\n\n\n[3.14.2] - 2025-11-15
\nSecurity
\n\n
\n- Backported v4.1.1 fix to v3
\n[4.1.1] - 2025-11-12
\nSecurity
\n\n
\n- Fix prototype pollution issue in yaml merge (<<) operator.
\n[4.1.0] - 2021-04-15
\nAdded
\n\n
\n- Types are now exported as
\nyaml.types.XXX.- Every type now has
\noptionsproperty with original arguments kept as they were\n(seeyaml.types.int.optionsas an example).Changed
\n\n
\n- \n
Schema.extend()now keeps old type order in case of conflicts\n(e.g. Schema.extend([ a, b, c ]).extend([ b, a, d ]) is now ordered asabcdinstead ofcbad).[4.0.0] - 2021-01-03
\nChanged
\n\n
\n- Check migration guide to see details for all breaking changes.
\n- Breaking: "unsafe" tags
\n!!js/function,!!js/regexp,!!js/undefinedare\nmoved to js-yaml-js-types package.- Breaking: removed
\nsafe*functions. Useload,loadAll,dump\ninstead which are all now safe by default.- \n
yaml.DEFAULT_SAFE_SCHEMAandyaml.DEFAULT_FULL_SCHEMAare removed, use\nyaml.DEFAULT_SCHEMAinstead.- \n
yaml.Schema.create(schema, tags)is removed, useschema.extend(tags)instead.- \n
!!binarynow always mapped toUint8Arrayon load.- Reduced nesting of
\n/libfolder.- Parse numbers according to YAML 1.2 instead of YAML 1.1 (
\n01234is now decimal,\n0o1234is octal,1:23is parsed as string instead of base60).- \n
dump()no longer quotes:,[,],(,)except when necessary, #470, #557.- Line and column in exceptions are now formatted as
\n(X:Y)instead of\nat line X, column Y(also present in compact format), #332.- Code snippet created in exceptions now contains multiple lines with line numbers.
\n- \n
dump()now serializesundefinedasnullin collections and removes keys with\nundefinedin mappings, #571.- \n
dump()withskipInvalid=truenow serializes invalid items in collections as null.- Custom tags starting with
\n!are now dumped as!taginstead of!<!tag>, #576.- Custom tags starting with
\ntag:yaml.org,2002:are now shorthanded using!!, #258.Added
\n\n\n
... (truncated)
\n9963d36 3.14.2 released10d3c8e dist rebuild5278870 fix prototype pollution in merge (<<) (#731)