Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

afterward

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

afterward - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.travis.yml

2

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc