From 8bcd9a880ef9417d786f293402eb215a19ce4a5f Mon Sep 17 00:00:00 2001 From: Jacob Heun Date: Tue, 23 Jul 2019 13:32:46 +0100 Subject: [PATCH] chore: revert async dep change (#97) * chore: revert async dep change * chore: update async to 2.6.3 --- package.json | 4 ++-- src/bin.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 069513f..16b1efb 100644 --- a/package.json +++ b/package.json @@ -34,14 +34,14 @@ }, "homepage": "https://github.com/libp2p/js-peer-id", "devDependencies": { - "aegir": "^18.2.2", + "aegir": "^20.0.0", "bundlesize": "~0.17.1", "chai": "^4.2.0", "dirty-chai": "^2.0.1" }, "dependencies": { "libp2p-crypto": "~0.16.1", - "async": "^3.0.1", + "async": "^2.6.3", "class-is": "^1.1.0", "multihashes": "~0.4.15" }, diff --git a/src/bin.js b/src/bin.js index 9388e68..a103824 100755 --- a/src/bin.js +++ b/src/bin.js @@ -9,5 +9,6 @@ PeerId.create((err, id) => { throw err } + // eslint-disable-next-line console.log(JSON.stringify(id.toJSON(), null, 2)) })