Skip to content

v0.7.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Jan 22:29
· 2 commits to main since this release
v0.7.0
4e372d4
  • Fix writeUintSafe and writeIntSafe by 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, writeUintSafe and writeIntSafe might 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#cause which is now natively supported by Error.