proback.js
Advanced tools
Comparing version 1.6.1 to 1.6.5
module.exports = { | ||
embracer: function (promise, callback) { | ||
return new Promise( (resolve, resject) => { | ||
promise | ||
.then( (res) => { module.exports.resolver(res, callback, resolve) } ) | ||
.catch( (reason) => { module.exports.rejecter(reason, callback, resject) } ) | ||
} ) | ||
}, | ||
dummy: function ( res, callback ) { | ||
@@ -3,0 +10,0 @@ return new Promise( (resolve, reject) => { |
{ | ||
"name": "proback.js", | ||
"version": "1.6.1", | ||
"version": "1.6.5", | ||
"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
12655
309