thenify-all
Advanced tools
Comparing version 1.5.1 to 1.6.0
1.5.0 / 2015-01-09 | ||
1.6.0 / 2015-01-11 | ||
================== | ||
* feat: exports thenify | ||
* support node 0.8+ | ||
1.5.0 / 2015-01-09 | ||
================== | ||
* feat: support backward compatible with callback |
@@ -5,2 +5,4 @@ | ||
module.exports = thenifyAll | ||
thenifyAll.withCallback = withCallback | ||
thenifyAll.thenify = thenify | ||
@@ -31,3 +33,3 @@ /** | ||
thenifyAll.withCallback= function(source, destination, methods) { | ||
function withCallback(source, destination, methods) { | ||
return promisifyAll(source, destination, methods, thenify.withCallback) | ||
@@ -34,0 +36,0 @@ } |
{ | ||
"name": "thenify-all", | ||
"description": "Promisifies all the selected functions in an object", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)", | ||
@@ -32,4 +32,4 @@ "license": "MIT", | ||
"engines": { | ||
"node": ">=0.10" | ||
"node": ">=0.8" | ||
} | ||
} |
@@ -29,3 +29,3 @@ | ||
### var obj = thenify(source, [obj], [methods]) | ||
### var obj = thenifyAll(source, [obj], [methods]) | ||
@@ -38,3 +38,3 @@ Promisifies all the selected functions in an object. | ||
### var obj = thenify.withCallback(source, [obj], [methods]) | ||
### var obj = thenifyAll.withCallback(source, [obj], [methods]) | ||
@@ -47,2 +47,6 @@ Promisifies all the selected functions in an object and backward compatible with callback. | ||
### thenifyAll.thenify | ||
Exports [thenify](https://github.com/thenables/thenify) this package uses. | ||
[gitter-image]: https://badges.gitter.im/thenables/thenify-all.png | ||
@@ -49,0 +53,0 @@ [gitter-url]: https://gitter.im/thenables/thenify-all |
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
6586
59
67