From a3e3c785f1f07ab955834df5ba50cdf50b63fd3c Mon Sep 17 00:00:00 2001 From: Dan Buchholz Date: Thu, 7 Dec 2023 14:39:46 -0800 Subject: [PATCH] chore: update helia, other deps; remove unused ts-expect-error --- package.json | 20 ++++++++++---------- test/index.spec.ts | 1 - 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 7393ce8..4a26a3a 100644 --- a/package.json +++ b/package.json @@ -158,26 +158,26 @@ "release": "aegir release" }, "dependencies": { - "@libp2p/logger": "^3.0.2", - "@multiformats/multiaddr": "^12.1.7", - "@multiformats/multiaddr-matcher": "^1.0.1", - "multiformats": "^12.1.1", - "p-retry": "^6.0.0" + "@libp2p/logger": "^4.0.1", + "@multiformats/multiaddr": "^12.1.11", + "@multiformats/multiaddr-matcher": "^1.1.0", + "multiformats": "^12.1.3", + "p-retry": "^6.1.0" }, "devDependencies": { - "@helia/interface": "^2.0.0", - "@helia/unixfs": "^1.4.1", + "@helia/interface": "^2.1.0", + "@helia/unixfs": "^1.4.3", "@ipfs-shipyard/pinning-service-client": "^1.0.3", "@types/express": "^4.17.17", - "aegir": "^40.0.12", + "aegir": "^41.1.14", "get-port": "^7.0.0", "mock-ipfs-pinning-service": "^0.4.2", "nyc": "^15.1.0", - "sinon": "^15.2.0" + "sinon": "^17.0.1" }, "peerDependencies": { "@ipfs-shipyard/pinning-service-client": "^1.0.3", - "helia": "^1.3.11" + "helia": "^2.1.0" }, "publishConfig": { "access": "public" diff --git a/test/index.spec.ts b/test/index.spec.ts index 99f15f3..6aa6163 100644 --- a/test/index.spec.ts +++ b/test/index.spec.ts @@ -24,7 +24,6 @@ describe('@helia/remote-pinning', function () { beforeEach(async function () { sinonSandbox = sinon.createSandbox() - // @ts-expect-error - broken types helia = await createHelia() heliaFs = unixfs(helia) dialStub = sinonSandbox.stub(helia.libp2p, 'dial')