1
0
mirror of https://github.com/fluencelabs/js-libp2p-interfaces synced 2025-04-02 18:41:07 +00:00

chore: update deps and fix linting

This commit is contained in:
Jacob Heun 2018-11-09 16:19:18 +01:00
parent ecdaf40107
commit 84166fa0ea
3 changed files with 13 additions and 8 deletions

1
.gitignore vendored

@ -1,6 +1,7 @@
**/node_modules/ **/node_modules/
**/*.log **/*.log
test/repo-tests* test/repo-tests*
package-lock.json
# Logs # Logs
logs logs

@ -8,6 +8,9 @@
"url": "https://github.com/libp2p/interface-transport.git" "url": "https://github.com/libp2p/interface-transport.git"
}, },
"main": "src/index.js", "main": "src/index.js",
"files": [
"src"
],
"scripts": { "scripts": {
"lint": "aegir lint", "lint": "aegir lint",
"test": "aegir test", "test": "aegir test",
@ -19,8 +22,7 @@
"coverage-publish": "exit(0)" "coverage-publish": "exit(0)"
}, },
"pre-commit": [ "pre-commit": [
"lint", "lint"
"test"
], ],
"keywords": [ "keywords": [
"IPFS" "IPFS"
@ -31,15 +33,15 @@
}, },
"homepage": "https://github.com/libp2p/interface-transport", "homepage": "https://github.com/libp2p/interface-transport",
"devDependencies": { "devDependencies": {
"aegir": "^13.0.6", "aegir": "^17.0.1",
"dirty-chai": "^2.0.1" "dirty-chai": "^2.0.1"
}, },
"dependencies": { "dependencies": {
"chai": "^4.1.2", "chai": "^4.2.0",
"multiaddr": "^4.0.0", "multiaddr": "^5.0.2",
"pull-goodbye": "0.0.2", "pull-goodbye": "~0.0.2",
"pull-serializer": "^0.3.2", "pull-serializer": "~0.3.2",
"pull-stream": "^3.6.7" "pull-stream": "^3.6.9"
}, },
"contributors": [ "contributors": [
"David Dias <daviddias.p@gmail.com>", "David Dias <daviddias.p@gmail.com>",

@ -63,6 +63,7 @@ module.exports = (common) => {
}) })
describe('events', () => { describe('events', () => {
// eslint-disable-next-line
// TODO: figure out why it fails in the full test suite // TODO: figure out why it fails in the full test suite
it.skip('connection', (done) => { it.skip('connection', (done) => {
const finish = plan(2, done) const finish = plan(2, done)
@ -89,6 +90,7 @@ module.exports = (common) => {
listener.listen(addrs[0]) listener.listen(addrs[0])
}) })
// eslint-disable-next-line
// TODO: how to get the listener to emit an error? // TODO: how to get the listener to emit an error?
it.skip('error', (done) => { it.skip('error', (done) => {
const listener = transport.createListener() const listener = transport.createListener()