Upgrading js-yaml 0.3 to 1
Breaking0.3.7 → 1.0.3Breaking2Changed1Fixed5
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Words like yes, no, on and off are now read as plain text instead of true/false values.
- Loading a file with require now gives you one document, and it fails with an error if the file holds several documents.
Must act 2 items need code or config changes
Node.js requirement changed in 1.0.0: > 0.4.11 → >= 0.6.0.
Adds argparse ~ 0.1.3.
Installs 3 packages in all (was 0).
Also installs underscore, underscore.string.
What you must change
Breaking2
y, yes, n, no, on, off are no longer converted to Booleans.yyesnnoonoffrequire(filename) now returns a single document and throws an Error if the file contains more than one document.require(filename)