Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dotcom-reliability-kit/crash-handler

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcom-reliability-kit/crash-handler - npm Package Compare versions

Comparing version 4.1.2 to 4.1.3

types/index.d.ts

12

lib/index.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc