Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
var setImmediate = require('set-immediate-shim') | ||
var setImmediate = require('timers').setImmediate | ||
@@ -3,0 +3,0 @@ module.exports = function afterward (done, cb) { |
{ | ||
"name": "afterward", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Execute an error-first callback upon resolution or rejection of a promise (and return the promise)", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "make npm-test", | ||
"coverage": "make npm-coverage" | ||
}, | ||
"repository": { | ||
@@ -32,13 +28,19 @@ "type": "git", | ||
"devDependencies": { | ||
"eslint": "~0.24.1", | ||
"@jasonpincin/standard": "~5.0.0-7", | ||
"function-bind": "~1.0.2", | ||
"istanbul": "~0.3.17", | ||
"opn": "~1.0.1", | ||
"phantomjs": "~1.9.18", | ||
"promise-polyfill": "~2.1.0", | ||
"tap-dot": "~1.0.0", | ||
"tap-spec": "~4.0.2", | ||
"tape": "~4.0.0" | ||
"tap-spec": "~4.1.0", | ||
"tape": "~4.2.0", | ||
"zuul": "~3.3.0" | ||
}, | ||
"dependencies": { | ||
"set-immediate-shim": "~1.0.1" | ||
"dependencies": {}, | ||
"scripts": { | ||
"test": "make npm-test", | ||
"coverage": "make npm-coverage", | ||
"browser-test": "make browser-test" | ||
} | ||
} |
@@ -42,5 +42,5 @@ # afterward | ||
### prom = afterward(prom, cb) | ||
### prom = afterward(prom [, cb]) | ||
Upon resolution or rejection of the promise `prom`, execute the error-first style callback `cb`. The promise `prom` is returned. | ||
Upon resolution or rejection of the promise `prom`, execute the optional error-first style callback `cb`. The promise `prom` is returned. | ||
@@ -47,0 +47,0 @@ ## testing |
@@ -5,2 +5,4 @@ var test = require('tape'), | ||
Function.prototype.bind = Function.prototype.bind || require('function-bind') // eslint-disable-line no-extend-native | ||
test('afterward', function (t) { | ||
@@ -7,0 +9,0 @@ t.plan(8) |
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
10278
0
10
59
10
- Removedset-immediate-shim@~1.0.1
- Removedset-immediate-shim@1.0.1(transitive)