Packages

yaml

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

Your version

1.9.0

17 Apr 2020Where it was published

1.10.3 is the newest release of 1.x.

In short

8 new6 fixed1 internal

Security

1 advisory affects 1.9.0; 1.10.3 fixes them

Release note

New Features

  • Add custom ES module exports for browsers

  • Drop __esModule markers from CJS transpilation

  • Support BigInt values

  • Add YAML.scalarOptions

  • Add indent option: number of spaces (default: 2)

  • Add indentSeq option: if false, consider - as indentation (default: true)

  • Add TypeScript typings, based on @types/yaml

Bugfixes

  • Only use named exports internally

  • Clean up & document warning silencing, also supporting process.env (Fixes #148)

  • Accept that multiple blank lines generate multiple nodes (Closes #150)

  • Use cross-env to enable building on Windows

  • Specify Document.cstNode type

  • Add Pair.Type enum

  • Export YAMLError from 'yaml/util'

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.