New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

unhandled

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unhandled - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

7

index.js

@@ -17,3 +17,3 @@

if (!global.unhandled) global.unhandled = exports
else global.unhandled['0.1.0'] = exports
else global.unhandled['0.1.1'] = exports
}

@@ -28,3 +28,3 @@

var timer = setTimeout(function(){
console.error('[registered as unhandled for 500ms]', error.stack)
console.error('[unhandled] %s', error.stack)
cleanUp()

@@ -36,2 +36,3 @@ }, 500)

if (e === error) {
console.error('[handled] %s', e.message)
clearTimeout(timer)

@@ -42,3 +43,3 @@ cleanUp()

function onForget(e){
if (e === error) cleanUp
if (e === error) cleanUp()
}

@@ -45,0 +46,0 @@ function cleanUp(){

{
"name": "unhandled",
"version": "0.1.0",
"version": "0.1.1",
"description": "a window into your programs ignorance",

@@ -5,0 +5,0 @@ "dependencies": {

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