fix(deps): update dependency log-process-errors to v12 #6077
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^8.0.0->^12.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
ehmicky/log-process-errors (log-process-errors)
v12.0.0Compare Source
Breaking changes
18.18.0v11.0.1Compare Source
Dependencies
v11.0.0Compare Source
Breaking changes
16.17.0v10.2.0Compare Source
Features
v10.1.1Compare Source
Internal
v10.1.0Compare Source
Features
is-error-instancev10.0.0Compare Source
Package size
The npm package size has been reduced by 98%, from 4500kB to 87kB.
Custom logic
The
logoption was renamed toonError. Its argumentsare
(originalError, event)instead of(error, level, originalError).The process error
eventis now passed as a second argument instead of beingset as
error.name. Its case is not capitalized anymore, to match the eventname in Node.js.
Before:
After:
Pretty-printing
Errors are not pretty-printed anymore. As a consequence, the
colorsoption wasremoved too. The
onErroroption can be used instead tocustomize how the errors are printed.
Filtering
The
levelsoption was removed. TheonErroroption canbe used for filtering.
Before:
After:
Testing option
The
testingoption was removed. TheonErroroption canbe used instead.
Before:
After:
Process exit
The
exitOnoption was changed from an array of strings to a simpler boolean.It was also renamed
exit.The exit is still graceful, i.e. it waits for ongoing tasks to complete, up to 3
seconds. However, if there are none, the process now exits immediately.
Before:
After:
Compatibility with other libraries
If other libraries (such as
Winston,
Bugsnag,
etc.) are also listening for process events, they might also try to exit the
process. This created conflicts with this library. This has been fixed by making
the
exitoption default tofalsewhen process eventslisteners already exist.
Bug fixes
--unhandled-rejections=stricterror.stackisundefinedornullTypeScript
TypeScript types have been simplified.
Internal
Added 100% test coverage.
v9.4.0Compare Source
Features
v9.3.0Compare Source
Documentation
modern-errorsv9.2.0Compare Source
Features
v9.1.0Compare Source
Features
v9.0.0Compare Source
Breaking changes
14.18.0Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.