Packages

yaml

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

Upgrading yaml From 1.9.0 to 1.10.3

6 releases in betweennotes for 5

Other targets from 1.9.0Latest2.9.1
?
changes to make
1
advisory fixed
17+
new
9+
fixes

Counted from 5 of 6 release notes. Advisories are counted from the advisory database, in full.

Security

Fixes 1 advisory affecting 1.9.0

Release by release

  1. 1.10.3no release note

  2. 1.10.2

    13 Mar 20211 new
    • New

      Allow for unindented comment after node props (prettier/prettier#10510)

  3. 1.10.1

    13 Mar 20213 new · 3 fixes
    • New

      Support for __proto__ as mapping key & anchor identifier

    • New

      Add missing type for CST Node.rangeAsLinePos

    • New

      Allow for empty lines after node props

    • Fixed

      Fix broken TS type for BigInt toggle

    • Fixed

      Fix YAML.stringify() for certain null values

    • Fixed

      Do not break escaped chars with escaped newlines (#237, awslabs/cdk8s#494)

  4. 1.10.0

    16 May 202012 new · 5 fixes
    • New

      Use Rollup for Node.js & browser builds

    • New

      Document Schema.createPair() & make its ctx arg optional

    • New

      Always indent top-level scalars with lines starting with document markers or % directives

    • New

      Use double-space when forcing top-level block scalar indent, for clarity

  5. 1.9.2

    20 Apr 20201 fix
    • Fixed

      ts: Fix Node.toJSON() type

  6. 1.9.1

    18 Apr 20201 new
    • New

      Add onAnchor callback arg to doc.toJSON()

12 other lines we could not sort, mostly version bumps
  • Dump long keys properly

    1.10.1
  • When folding highly indented lines, require at least minContentWidth chars on the first line

    1.10.1
  • Set type: "module" within browser/dist/

    1.10.1
  • Use CommonJS for the browser endpoints yaml/types & yaml/util

    1.10.1
  • Always stringify non-Node object keys using explicit notation

    1.10.1
  • Specify node type of Document.Parsed.contents

    1.10.1
  • Prefer literal over folded block scalar when lineWidth=0 is set

    1.10.1
  • Update dev dependencies

    1.10.1
  • Throw more helpful error when setting Pair.commentBefore incorrectly

    1.10.0
  • Better errors for bad indents

    1.10.0

2 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.