Packages

yaml

2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed

Upgrading yaml From 1.3.2 to 2.9.1

51 releases in betweennotes for 49

Other targets from 1.3.2Newest 1.x, Clears its advisory1.10.3
  1. 1.3.2yours
  2. 1.4.0breaking
  3. 17 releases
  4. 2.0.0major
  5. 7 releases
  6. 2.2.2security
  7. 15 releases
  8. 2.7.0breaking
  9. 6 releases
  10. 2.9.0security
  11. 2.9.1target
33+
changes to make
1
advisory fixed
106+
new
52+
fixes

Counted from 49 of 51 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking2.7.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0

Security

Fixes 1 advisory affecting 1.3.2

  • Up to now, I've considered these as security vulnerabilities, and in fact it's the only category of error for which yaml CVEs have been issued so far.

    2.9.0
  • Starting from this release, I'll be considering such errors as bugs, but not vulnerabilities.

    2.9.0
  • Corner case failure in error pretty-printer (CVE-2023-2251)

    2.2.2

Release by release

  1. 2.9.1nothing new or fixed in the note

  2. 2.9.0

    Security fix11 May 20262 fixes
    • Security

      Up to now, I've considered these as security vulnerabilities, and in fact it's the only category of error for which yaml CVEs have been issued so far.

    • Security

      Starting from this release, I'll be considering such errors as bugs, but not vulnerabilities.

    • Fixed

      Avoid calling Array.prototype.push.apply() with large source array

    • Fixed

      lexer: Avoid recursive calls that may exhaust the call stack

  3. 2.8.4

    2 May 20261 fix
    • Fixed

      Handle invalid unicode escapes

  4. 2.8.3

    21 Mar 20261 new
    • New

      Add trailingComma ToString option for multiline flow formatting

  5. 2.8.2

    30 Nov 20251 fix
    • Fixed

      Do not double newlines for empty map values

  6. 2.8.1nothing new or fixed in the note

  7. 2.8.0

    15 May 20253 new
    • New

      Add node cache for faster alias resolution

    • New

      Add --merge option to CLI tool

    • New

      Allow empty string as plain scalar representation, for failsafe schema

  8. 2.7.1

    29 Mar 20251 fix
    • Fixed

      Do not allow seq with single-line collection value on same line with map key

61 other lines we could not sort, mostly version bumps
  • Limit recursive merge aliases (#685, #713)

    2.9.1
  • Simplify line unfolding during quoted string parsing

    2.9.1
  • Disable alias resolution with maxAliasCount:0

    2.8.4
  • Apply minFractionDigits only to decimal strings

    2.8.4
  • Catch stack overflow during node composition

    2.8.3
  • Serialize -0 as -0

    2.8.2
  • Preserve empty block literals

    2.8.1
  • Re-introduce compatibility with Node.js 14.6

    2.8.0
  • Improve error for tag resolution error on null value

    2.8.0
  • Improve warning & avoid TypeError on bad YAML 1.1 nodes

    2.7.1

8 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.