chore: update deps, including aegir

This commit is contained in:
David Dias 2017-12-14 05:52:48 +00:00
parent 6180213681
commit a25ecb19a7
4 changed files with 14248 additions and 15 deletions

14233
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -8,11 +8,11 @@
},
"scripts": {
"test": "exit(0)",
"build": "aegir-build --env node",
"lint": "aegir-lint",
"release": "aegir-release --env node",
"release-minor": "aegir-release --env node --type minor",
"release-major": "aegir-release --env node --type major",
"build": "aegir build -t node",
"lint": "aegir lint",
"release": "aegir release -t node",
"release-minor": "aegir release -t node --type minor",
"release-major": "aegir release -t node --type major",
"coverage": "exit(0)",
"coverage-publish": "exit(0)"
},
@ -32,18 +32,18 @@
},
"homepage": "https://github.com/libp2p/interface-stream-muxer",
"dependencies": {
"async": "^2.1.5",
"chai": "^4.0.1",
"async": "^2.6.0",
"chai": "^4.1.2",
"chai-checkmark": "^1.0.1",
"detect-node": "^2.0.3",
"libp2p-tcp": "~0.9.3",
"multiaddr": "^2.2.2",
"libp2p-tcp": "~0.11.1",
"multiaddr": "^3.0.1",
"pull-generate": "^2.2.0",
"pull-pair": "^1.1.0",
"pull-stream": "^3.5.0"
"pull-stream": "^3.6.1"
},
"devDependencies": {
"aegir": "^11.0.0"
"aegir": "^12.2.0"
},
"contributors": [
"David Dias <daviddias.p@gmail.com>",

View File

@ -112,7 +112,7 @@ module.exports = (common) => {
stream,
pull.collect((err, chunks) => {
expect(err).to.not.exist.mark()
expect(chunks).to.be.eql([Buffer('hey')]).mark()
expect(chunks).to.be.eql([Buffer.from('hey')]).mark()
})
)
@ -132,7 +132,7 @@ module.exports = (common) => {
stream,
pull.collect((err, chunks) => {
expect(err).to.not.exist.mark()
expect(chunks).to.be.eql([Buffer('hello')]).mark()
expect(chunks).to.be.eql([Buffer.from('hello')]).mark()
})
)
}

View File

@ -130,7 +130,7 @@ module.exports = (common) => {
conns.forEach((conn, i) => {
pull(
pull.values([Buffer('hello')]),
pull.values([Buffer.from('hello')]),
pull.asyncMap((val, cb) => {
setTimeout(() => {
cb(null, val)
@ -139,7 +139,7 @@ module.exports = (common) => {
conn,
pull.collect((err, data) => {
expect(err).to.not.exist.mark()
expect(data).to.be.eql([Buffer('hello')]).mark()
expect(data).to.be.eql([Buffer.from('hello')]).mark()
})
)
})