Packages

js-yaml

5.5.0 · 15 Oct 2026MIT322.7M / weekRepositoryHomepagenpmAtom feed

Your version

94 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 5.x · latest line
  2. 5.5.0

    15 Oct 2026
    • Updated argparse to v3.

    • Updated development dependencies.

    • Correct percent-encoding of shorthand and verbatim tags.

  3. 5.4.3

    5 Oct 2026
    • Fixed loading a whitespace-only block scalar followed by a less indented line, #802.

  4. 5.4.2

    13 Sep 2026
    • forceQuotes no longer quotes non-string scalars, #798.

  5. 5.4.1

    26 Aug 2026
    • security

      Count empty mappings in merge sequences toward maxTotalMergeKeys to limit CPU usage, #797.

    • Hard-limit merge sequence size to 100.

  6. 5.4.0

    25 Aug 2026
    • breaking

      Flattened the low-level AST node style representation. Scalar and collection nodes now use SCALAR_STYLE and COLLECTION_STYLE values; explicit tags use the separate tagged property. Alias nodes now contain only kind and anchor. This only affects code that directly constructs or edits AST nodes.

    • breaking

      The sortKeys option was rewritten using AST mutation to avoid side effects.

    • Added the scalarStyleRules dumper option to customize string formatting. See Scalar styling for details.

  7. 5.3.0

    14 Aug 2026
    • deprecated

      Deprecated flat constant exports. Use grouped ones instead.

    • breaking

      Removed the MERGE_KEY export (not used anymore after last fixes).

    • Added completely new documentation.

  8. 5.2.3

    1 Aug 2026
    • Prevent prototype fallback when resolving tags and mapping entries, #782.

    • Resolve !!timestamp years 0000-0099 correctly, #775.

    • Preserve implicit null mapping values before document markers and reject unpaired mapping event streams, #784.

  9. 5.2.2

    23 Jul 2026
    • security

      Avoid exponential parsing time for nested flow sequence pairs.

    • Quote flow scalars where a colon precedes a flow indicator, #773.

  10. 5.2.1

    2 Jul 2026
    • security

      Remove quadratic complexity from !!omap addItem. Regression from v5 (usually not critical, because YAML11_SCHEMA is not default anymore).

    • Add Map support to !!omap (should work when realMapTag used)

  11. 5.2.0

    26 Jun 2026
    • breaking

      maxMergeSeqLength replaced with maxTotalMergeKeys for limiting YAML merge processing.

    • Added maxTotalMergeKeys (10000) loader option to limit the total number of keys processed by YAML merge (<<) across one load() / loadAll() call.

    • Added maxAliases (-1) loader option to limit the number of YAML aliases per document.

  12. 5.1.0

    22 Jun 2026
    • breaking

      quoteStyle now selects the preferred quote style; use the restored forceQuotes option to force quoting non-key strings.

    • Collection tags can finalize an incrementally populated carrier into a different result value.

  13. 5.0.0

    20 Jun 2026
    • deprecated

      Deprecated the loadAll signature with an iterator (still works, but is a candidate for removal).

    • breaking

      Removed deprecated safeLoad(), safeLoadAll() and safeDump() exports.

    • breaking

      Removed DEFAULT_SCHEMA and the nested types export.

  14. 4.x
  15. 4.3.1 – 4.3.22 releases without a noteShow each
  16. 4.3.0

    26 Jun 2026

    Reading the note…

  17. 4.2.0

    31 May 2026

    Reading the note…

  18. 4.1.1

    12 Nov 2025

    Reading the note…

  19. 4.1.0

    14 Apr 2021

    Reading the note…

  20. 4.0.0

    3 Jan 2021

    Reading the note…

  21. 3.x
  22. 3.15.1 – 3.15.22 releases without a noteShow each
  23. 3.15.0

    26 Jun 2026

    Reading the note…

  24. 3.14.2

    14 Nov 2025

    Reading the note…

  25. 3.14.1

    7 Dec 2020

    Reading the note…

  26. 3.14.0

    22 May 2020

    Reading the note…

  27. 3.13.1

    5 Apr 2019

    Reading the note…

  28. 3.13.0

    20 Mar 2019

    Reading the note…

  29. 3.12.2

    26 Feb 2019

    Reading the note…

  30. 3.12.1

    5 Jan 2019

    Reading the note…

  31. 3.12.0

    1 Jun 2018

    Reading the note…

  32. 3.11.0

    5 Mar 2018

    Reading the note…

  33. 3.10.0

    11 Sep 2017

    Reading the note…

  34. 3.9.1

    30 Jul 2017

    Reading the note…

  35. 3.9.0

    8 Jul 2017

    Reading the note…

  36. 3.8.4

    8 May 2017

    Reading the note…

  37. 3.8.3

    5 Apr 2017

    Reading the note…

  38. 3.8.2

    2 Mar 2017

    Reading the note…

  39. 3.8.1

    7 Feb 2017

    Reading the note…

  40. 3.8.0

    7 Feb 2017

    Reading the note…

  41. 3.7.0

    12 Nov 2016

    Reading the note…

  42. 3.6.1

    11 May 2016

    Reading the note…

  43. 3.6.0

    15 Apr 2016

    Reading the note…

  44. 3.5.5

    17 Mar 2016

    Reading the note…

  45. 3.5.4

    9 Mar 2016

    Reading the note…

  46. 3.5.3

    11 Feb 2016

    Reading the note…

  47. 3.5.2

    11 Jan 2016

    Reading the note…

  48. 3.5.1

    11 Jan 2016

    Reading the note…

  49. 3.5.0

    10 Jan 2016

    Reading the note…

  50. 3.4.6

    26 Nov 2015

    Reading the note…

  51. 3.4.5

    23 Nov 2015

    Reading the note…