promise-finally
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -1,2 +0,2 @@ | ||
import Promise = require('native-or-bluebird'); | ||
import Promise = require('any-promise'); | ||
export default function promiseFinally(value: any, cb: Function): Promise<any>; |
@@ -1,2 +0,2 @@ | ||
var Promise = require('native-or-bluebird'); | ||
var Promise = require('any-promise'); | ||
function promiseFinally(value, cb) { | ||
@@ -3,0 +3,0 @@ return Promise.resolve(value) |
var test = require('blue-tape'); | ||
var Promise = require('native-or-bluebird'); | ||
var Promise = require('any-promise'); | ||
var promise_finally_1 = require('./promise-finally'); | ||
@@ -4,0 +4,0 @@ test('promise-finally', function (t) { |
{ | ||
"name": "promise-finally", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Simple wrapper to run promise \"finally\" logic", | ||
@@ -45,2 +45,3 @@ "main": "dist/promise-finally.js", | ||
"blue-tape": "^0.1.10", | ||
"bluebird": "^3.0.5", | ||
"istanbul": "^0.3.6", | ||
@@ -52,4 +53,4 @@ "pre-commit": "^1.0.6", | ||
"dependencies": { | ||
"native-or-bluebird": "^1.2.0" | ||
"any-promise": "^1.0.0" | ||
} | ||
} |
@@ -18,3 +18,3 @@ # Promise Finally | ||
Uses [`native-or-bluebird`](https://github.com/normalize/native-or-bluebird). | ||
Uses [`any-promise`](https://github.com/kevinbeaty/any-promise) internally. | ||
@@ -21,0 +21,0 @@ ```js |
{ | ||
"dependencies": { | ||
"native-or-bluebird": "https://raw.githubusercontent.com/typings/typed-native-or-bluebird/e9b7a479d68931ef88895d578860456bfbe91faa/typings.json" | ||
"any-promise": "github:typings/typed-any-promise#74ba6cf22149ff4de39c2338a9cb84f9ded6f042" | ||
}, | ||
"devDependencies": { | ||
"blue-tape": "https://raw.githubusercontent.com/typings/typed-blue-tape/a4e41a85d6f760e7c60088127968eae7d3a556fa/typings.json" | ||
"blue-tape": "github:typings/typed-blue-tape#a4e41a85d6f760e7c60088127968eae7d3a556fa" | ||
}, | ||
"ambientDependencies": { | ||
"node": "https://raw.githubusercontent.com/borisyankov/DefinitelyTyped/98d3168c2c570352a3a7393788e2ec9fbb08ade6/node/node.d.ts" | ||
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#1c56e368e17bb28ca57577250624ca5bd561aa81" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7142
6
+ Addedany-promise@^1.0.0
+ Addedany-promise@1.3.0(transitive)
- Removednative-or-bluebird@^1.2.0
- Removednative-or-bluebird@1.2.0(transitive)