Sourced from yaml's releases.
v2.2.2
This patch release includes a fix for an error that could be thrown in
parseDocument
for degenerate input. Otherwise, it's a patch release uplifting a few fixes from the ongoing v2.3 work to v2.2:
- Corner case failure in error pretty-printer (CVE-2023-2251)
- Use correct argument order when stringifying flow collection comments (#443)
- First-line folding for block scalars (#422)
v2.2.1
- Quote top-level map keys containing document markers (#431)
v2.2.0
New Features
- Add
flowCollectionPadding
toString option (#420)- Use indicator line for props on block collection values of mappings (#425)
Bugfixes
- Minor relaxation of types for custom tags (#429)
f21fa45
2.2.2984f578
fix: Corner case failure in error pretty-printer443e3aa
fix: First-line folding for block scalars (fixes #422)5af5d3d
fix: Use correct argument order when stringifying flow collection comments (f...c914dcc
2.2.1c8551eb
fix: Quote top-level map keys containing document markers (fixes #431)3576408
2.2.0ab52daa
ci: Remove all @types
except for node when testing types on old TS85be08d
chore: Explicitly set supported types in tsconfig.json4732502
ci: Uninstall @jest/types
before testing types on TS 4.2