v0.7.0
Pre-release
Pre-release
-
Fix
writeUintSafeandwriteIntSafeby encoding too large numbers in a canonical way.Although the library provides assertions that reject valid inputs, it allows users to disable them.
Even when assertions are disabled, the library must still provide valid encoded values.
Previously,writeUintSafeandwriteIntSafemight output a non-canonical encoding for numbers that were too large.
It now robustly handles invalid input numbers that are too large. -
BREAKING CHANGES: require Node.js 16.9.0 or above.
This allows us to remove code for
BareError#causewhich is now natively supported byError.