- Update npm packages
- Breaking change: always display the original console message before throwing
- Remove comments from ESM build
- Test with Node.js 18
- Update some npm packages
- Warn against possible infinite loop
- Fix documentation: Node.js 14 supported
-
Fix: re-implement util.inspect() & util.format()
Use https://github.com/hildjj/node-inspect-extracted instead or is this enough?
- Fix format(), was not handling extra arguments 🤦
- Fix clickable link in Chrome
- 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
- Remove bin/jest_throw-on hack: half works :-/
- 1 extra line inside the stack trace instead of 2 when using the
ignore
option
- Fix executable path: .bin/jest_throw-on instead of .bin/throw-on
- Call the original console method if the message is ignored
- New executable
jest_throw-on
that fixes the Jest output when using theignore
option
- Fix "ReferenceError: XMLHttpRequest is not defined"
- Extract throwOnXMLHttpRequestOpen()
- New fullStackTrace option
- Bundlephobia does not support optional chaining (?.): pastelsky/bundlephobia#413
- Fix throwOnConsoleWarn stack trace
- Add options to throwOnConsoleError and throwOnConsoleWarn
- Better documentation
First release