Skip to content

Commit

Permalink
Merge pull request #45 from libp2p/fix/set-immediate
Browse files Browse the repository at this point in the history
fix/set immediate
  • Loading branch information
daviddias committed May 4, 2017
2 parents 843a43d + 9ec264b commit 924e870
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@
"benchmark": "^2.1.4",
"chai": "^3.5.0",
"dirty-chai": "^1.2.2",
"libp2p-ipfs-nodejs": "~0.23.0",
"libp2p-ipfs-nodejs": "~0.25.0",
"lodash.times": "^4.3.2",
"multiaddr": "^2.3.0",
"peer-id": "~0.8.7",
"peer-info": "~0.9.2",
"pre-commit": "^1.2.2"
},
"dependencies": {
"async": "^2.3.0",
"debug": "^2.6.3",
"async": "^2.4.0",
"debug": "^2.6.6",
"length-prefixed-stream": "^1.5.1",
"libp2p-crypto": "~0.8.7",
"libp2p-crypto": "~0.8.8",
"lodash.values": "^4.3.0",
"pull-pushable": "^2.0.1",
"time-cache": "~0.3.0"
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const config = require('./config')
const log = config.log
const multicodec = config.multicodec
const ensureArray = utils.ensureArray
const setImmediate = require('async/setImmediate')

/**
* FloodSub (aka dumbsub is an implementation of pubsub focused on
Expand Down
1 change: 1 addition & 0 deletions src/peer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
const lp = require('pull-length-prefixed')
const Pushable = require('pull-pushable')
const pull = require('pull-stream')
const setImmediate = require('async/setImmediate')

const rpc = require('./message').rpc.RPC

Expand Down

0 comments on commit 924e870

Please sign in to comment.