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

monk-middleware-handle-callback

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monk-middleware-handle-callback - npm Package Compare versions

Comparing version

to
0.2.1

3

index.js

@@ -13,3 +13,4 @@ function thenFn (fn) {

if (fn && typeof fn === 'function') {
return fn(err) // do not throw if there is a callback
fn(err) // do not throw if there is a callback
return
}

@@ -16,0 +17,0 @@ throw err

{
"name": "monk-middleware-handle-callback",
"description": "A monk middleware to handle callback",
"version": "0.2.0",
"version": "0.2.1",
"main": "index.js",

@@ -6,0 +6,0 @@ "keywords": [