Skip to content

v3.0.0

Choose a tag to compare

@jeffijoe jeffijoe released this 15 Aug 15:18
· 4 commits to master since this release
fcdd2f0

3.0.0 (2022-08-15)

chore

  • package: upgrade deps + target >=Node 14 (bd4248c)
  • tsconfig: bump target to ES2020 (914f0cc)

Features

  • allow specifying a function for the message (e970a6d)
  • assert: use asserts instead of returning the value (5f2daf6)

BREAKING CHANGES

  • assert: assert no longer returns a value, rather it narrows
    the input type. Functions returned by makeAssert maintain the old
    behavior of returning the non-falsy input value.
  • tsconfig: This may break runtimes earlier than Node 14
  • package: bump supported Node version to 14