proback.js
Advanced tools
Comparing version 1.5.1 to 1.5.2
module.exports = { | ||
dummy: function ( res, callback ) { | ||
return new Promise( (resolve, reject) => { | ||
console.log( res ) | ||
if (callback) callback( null, res ) | ||
resolve(res) | ||
} ) | ||
}, | ||
quicker: function ( res, callback ) { | ||
@@ -3,0 +10,0 @@ return new Promise( (resolve, reject) => { |
{ | ||
"name": "proback.js", | ||
"version": "1.5.1", | ||
"version": "1.5.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
10807
254