Skip to content

Releases: tkrotoff/throw-on

v0.8.0

11 Mar 14:19

Choose a tag to compare

  • Update npm packages

v0.7.0

15 Nov 15:47

Choose a tag to compare

  • Breaking change: always display the original console message before throwing

v0.6.6

08 Jul 14:52

Choose a tag to compare

  • Remove comments from ESM build
  • Test with Node.js 18
  • Update some npm packages

v0.6.5

03 Mar 00:20

Choose a tag to compare

  • Warn against possible infinite loop

v0.6.4

03 Mar 00:17

Choose a tag to compare

  • Fix documentation: Node.js 14 supported

v0.6.3

20 Feb 11:55

Choose a tag to compare

v0.6.2

27 Jan 15:14

Choose a tag to compare

  • Fix format(), was not handling extra arguments 🤦

v0.6.1

26 Jan 20:31

Choose a tag to compare

  • Fix clickable link in Chrome

v0.6.0

26 Jan 14:55

Choose a tag to compare

  • Breaking change: pass the method name as a parameter
    • Example: throwOnConsoleError(...) becomes throwOnConsole('error', ...)
  • Support for console.info, console.log, console.dir, console.debug
  • Support for web browsers

v0.5.0

19 Jan 22:32

Choose a tag to compare

  • Remove bin/jest_throw-on hack: half works :-/
  • 1 extra line inside the stack trace instead of 2 when using the ignore option