Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
fix: use async/setImmediate
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed May 19, 2017
1 parent 0ff0699 commit 0c6f754
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,19 @@
},
"homepage": "https://github.com/libp2p/js-ipfs-railing",
"devDependencies": {
"aegir": "^11.0.1",
"aegir": "^11.0.2",
"chai": "^3.5.0",
"libp2p-swarm": "~0.28.0",
"libp2p-tcp": "~0.10.0",
"libp2p-swarm": "~0.29.1",
"libp2p-tcp": "~0.10.1",
"pre-commit": "^1.2.2"
},
"dependencies": {
"debug": "^2.6.3",
"async": "^2.4.0",
"debug": "^2.6.8",
"lodash": "^4.17.4",
"multiaddr": "^2.3.0",
"peer-id": "~0.8.6",
"peer-info": "~0.9.0"
"peer-id": "~0.8.7",
"peer-info": "~0.9.2"
},
"pre-commit": [
"lint",
Expand All @@ -55,4 +56,4 @@
"Nuno Nogueira <nunofmn@gmail.com>",
"Richard Littauer <richard.littauer@gmail.com>"
]
}
}
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const multiaddr = require('multiaddr')
const EventEmitter = require('events').EventEmitter
const debug = require('debug')
const includes = require('lodash/includes')
const setImmediate = require('async/setImmediate')

const log = debug('libp2p:railing')
log.error = debug('libp2p:railing:error')
Expand Down

0 comments on commit 0c6f754

Please sign in to comment.