From 33d337afca657153e6c836fc1f16868ac944c8fb Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 11 Jul 2019 12:30:43 +0100 Subject: [PATCH] chore: deps and linting --- package.json | 6 +++--- test/index.spec.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index aa938a2..194c44d 100644 --- a/package.json +++ b/package.json @@ -33,16 +33,16 @@ "bugs": "https://github.com/libp2p/js-peer-info/issues", "homepage": "https://github.com/libp2p/js-peer-info", "devDependencies": { - "aegir": "^18.2.2", + "aegir": "^19.0.5", "buffer-loader": "0.1.0", - "bundlesize": "~0.17.0", + "bundlesize": "~0.18.0", "chai": "^4.2.0", "dirty-chai": "^2.0.1" }, "dependencies": { "mafmt": "^6.0.7", "multiaddr": "^6.0.6", - "peer-id": "~0.12.2", + "peer-id": "libp2p/js-peer-id#feat/async-await", "unique-by": "^1.0.0" }, "contributors": [ diff --git a/test/index.spec.js b/test/index.spec.js index 5aea43c..9668ed3 100644 --- a/test/index.spec.js +++ b/test/index.spec.js @@ -15,12 +15,12 @@ describe('peer-info', () => { let pi beforeEach(async () => { - const id = await Id.create({bits: 512}) + const id = await Id.create({ bits: 512 }) pi = new Info(id) }) it('create with Id class', async () => { - const id = await Id.create({bits: 512}) + const id = await Id.create({ bits: 512 }) const pi = new Info(id) const pi2 = new Info(id) expect(pi.id).to.exist() @@ -53,7 +53,7 @@ describe('peer-info', () => { }) it('.create with existing id', async () => { - const id = await Id.create({bits: 512}) + const id = await Id.create({ bits: 512 }) const info = await Info.create(id) expect(info.id).to.exist() expect(info.id.isEqual(id)).to.equal(true)