Packages

@types/yaml

1.9.7 · 23 Apr 2020MIT119.4k / weekRepositorynpmAtom feed

Deprecated by its maintainers: This is a stub types definition. yaml provides its own type definitions, so you do not need this installed.What to use instead
Your version

1.9.0

23 Apr 2020Where it was published

1.9.7 is the newest release of 1.x.

In short

8 new6 fixed1 internal

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.