💥 Breaking Changes
-
Upgrade to js-yaml 4.x
Migration Guide:
!!binaryis now always mapped toUint8Array- Numbers are now parsed according to YAML 1.2 instead of YAML 1.1 (
01234is now decimal,0o1234is octal,1:23is parsed as string instead of base60) - Line and column in exceptions are now formatted as
(X:Y)instead ofat line X, column Y
-
Convert package to ESM
Migration Guide:
This relases changes the package from a Common JS module to an EcmaScript module, and drops support for older versions of Node.
- The minimum version of Node.js supported is now:
12.20.0,14.13.1, and16.0.0 - The package must now be imported using the native
importsyntax instead of withrequire
- The minimum version of Node.js supported is now:
🌹 Internal Changes
- Remove package lock file
- Add license file