thenify
Advanced tools
Comparing version 3.1.1 to 3.2.0
var Promise = require('native-or-bluebird') | ||
var Promise = require('any-promise') | ||
var assert = require('assert') | ||
@@ -4,0 +4,0 @@ |
{ | ||
"name": "thenify", | ||
"description": "Promisify a callback-based function", | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)", | ||
@@ -9,8 +9,8 @@ "license": "MIT", | ||
"dependencies": { | ||
"native-or-bluebird": "1" | ||
"any-promise": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"bluebird": "2", | ||
"istanbul": "0", | ||
"mocha": "2" | ||
"bluebird": "^3.1.1", | ||
"istanbul": "^0.4.0", | ||
"mocha": "^2.0.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "scripts": { |
@@ -11,6 +11,6 @@ | ||
Promisify a callback-based function. | ||
Promisify a callback-based function using [`any-promise`](https://github.com/kevinbeaty/any-promise). | ||
- Preserves function names | ||
- Uses a native promise implementation if available and tries to fall back to `bluebird` | ||
- Uses a native promise implementation if available and tries to fall back to a promise implementation such as `bluebird` | ||
- Converts multiple arguments from the callback into an `Array` | ||
@@ -17,0 +17,0 @@ - Resulting function never deoptimizes |
Sorry, the diff of this file is not supported yet
5877
+ Addedany-promise@^1.0.0
+ Addedany-promise@1.3.0(transitive)
- Removednative-or-bluebird@1
- Removednative-or-bluebird@1.2.0(transitive)