proback.js
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -5,3 +5,3 @@ module.exports = { | ||
if ( err ) { | ||
callback && callback( err ) | ||
callback && callback( err, null ) | ||
return reject(err) | ||
@@ -15,3 +15,3 @@ } | ||
if ( err ) { | ||
callback && callback( err ) | ||
callback && callback( err, null ) | ||
return reject(err) | ||
@@ -27,5 +27,5 @@ } | ||
rejecter: function (err, callback, reject) { | ||
callback && callback( err ) | ||
callback && callback( err, null ) | ||
reject( err ) | ||
} | ||
} |
{ | ||
"name": "proback.js", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Tiny libary to aid Promise/Callback dual API design", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9338