promise-finally
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -0,1 +1,2 @@ | ||
import Promise = require('native-or-bluebird'); | ||
export default function promiseFinally(value: any, cb: Function): Promise<any>; |
@@ -0,1 +1,2 @@ | ||
var Promise = require('native-or-bluebird'); | ||
function promiseFinally(value, cb) { | ||
@@ -2,0 +3,0 @@ return Promise.resolve(value) |
var test = require('blue-tape'); | ||
var Promise = require('native-or-bluebird'); | ||
var promise_finally_1 = require('./promise-finally'); | ||
require('es6-promise').polyfill(); | ||
test('promise-finally', function (t) { | ||
@@ -5,0 +5,0 @@ t.test('run on resolve', function (t) { |
{ | ||
"name": "promise-finally", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "Simple wrapper to run promise \"finally\" logic", | ||
@@ -44,3 +44,2 @@ "main": "dist/promise-finally.js", | ||
"blue-tape": "^0.1.10", | ||
"es6-promise": "^3.0.2", | ||
"istanbul": "^0.3.6", | ||
@@ -50,3 +49,6 @@ "pre-commit": "^1.0.6", | ||
"typescript": "^1.6.2" | ||
}, | ||
"dependencies": { | ||
"native-or-bluebird": "^1.2.0" | ||
} | ||
} |
@@ -18,3 +18,3 @@ # Promise Finally | ||
Requires `Promise` to exist globally. | ||
Uses [`native-or-bluebird`](https://github.com/normalize/native-or-bluebird). | ||
@@ -21,0 +21,0 @@ ```js |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
6747
5
30
1
+ Addednative-or-bluebird@^1.2.0
+ Addednative-or-bluebird@1.2.0(transitive)