@dotcom-reliability-kit/crash-handler
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -7,15 +7,5 @@ const { | ||
/** | ||
* @typedef {object} CrashHandlerOptions | ||
* @property {import('@dotcom-reliability-kit/log-error').Logger & {[key: string]: any}} [logger] | ||
* The logger to use to output errors. Defaults to Reliability Kit logger. | ||
* @property {import('process')} [process] | ||
* The Node.js process to add crash handlers for. | ||
*/ | ||
/** | ||
* Register a crash handler on a process. | ||
* | ||
* @public | ||
* @param {CrashHandlerOptions} [options] | ||
* Options to configure the crash handler. | ||
* @param {import('@dotcom-reliability-kit/crash-handler').CrashHandlerOptions} [options] | ||
*/ | ||
@@ -22,0 +12,0 @@ function registerCrashHandler(options = {}) { |
{ | ||
"name": "@dotcom-reliability-kit/crash-handler", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "A method to bind an uncaught exception handler to ensure that fatal application errors are logged", | ||
@@ -17,6 +17,7 @@ "repository": { | ||
}, | ||
"main": "lib", | ||
"main": "lib/index.js", | ||
"types": "types/index.d.ts", | ||
"dependencies": { | ||
"@dotcom-reliability-kit/log-error": "^4.1.2" | ||
"@dotcom-reliability-kit/log-error": "^4.1.3" | ||
} | ||
} |
6052
4
48