From a2a367966dcf79fa3f3755667b4d46d16215e61d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 May 2023 15:13:38 +0000 Subject: [PATCH 1/2] deps: bump it-all from 2.0.1 to 3.0.2 Bumps [it-all](https://github.com/achingbrain/it) from 2.0.1 to 3.0.2. - [Release notes](https://github.com/achingbrain/it/releases) - [Commits](https://github.com/achingbrain/it/compare/it-all-v2.0.1...it-all-v3.0.2) --- updated-dependencies: - dependency-name: it-all dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- packages/ipfs-unixfs-exporter/package.json | 2 +- packages/ipfs-unixfs-importer/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ipfs-unixfs-exporter/package.json b/packages/ipfs-unixfs-exporter/package.json index ca49cdf7..1f609e57 100644 --- a/packages/ipfs-unixfs-exporter/package.json +++ b/packages/ipfs-unixfs-exporter/package.json @@ -160,7 +160,7 @@ "delay": "^5.0.0", "ipfs-unixfs-importer": "^15.0.0", "iso-random-stream": "^2.0.2", - "it-all": "^2.0.0", + "it-all": "^3.0.2", "it-buffer-stream": "^3.0.0", "it-first": "^2.0.0", "merge-options": "^3.0.4", diff --git a/packages/ipfs-unixfs-importer/package.json b/packages/ipfs-unixfs-importer/package.json index a4165d49..15f9073e 100644 --- a/packages/ipfs-unixfs-importer/package.json +++ b/packages/ipfs-unixfs-importer/package.json @@ -166,7 +166,7 @@ "interface-blockstore": "^5.0.0", "interface-store": "^5.0.1", "ipfs-unixfs": "^11.0.0", - "it-all": "^2.0.0", + "it-all": "^3.0.2", "it-batch": "^3.0.2", "it-first": "^2.0.0", "it-parallel-batch": "^3.0.1", From bf609500e22cc48f3b3ec79c4589471129bfd4fd Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 11 May 2023 16:16:05 +0100 Subject: [PATCH 2/2] chore: update linting --- packages/ipfs-unixfs-importer/test/chunker-rabin.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/ipfs-unixfs-importer/test/chunker-rabin.spec.ts b/packages/ipfs-unixfs-importer/test/chunker-rabin.spec.ts index f6788e2c..2fb11180 100644 --- a/packages/ipfs-unixfs-importer/test/chunker-rabin.spec.ts +++ b/packages/ipfs-unixfs-importer/test/chunker-rabin.spec.ts @@ -102,8 +102,7 @@ describe('chunker: rabin', function () { } try { - // @ts-expect-error invalid opts - await all(rabin(asAsyncIterable([]), opts)) + await all(rabin(opts)(asAsyncIterable([]))) throw new Error('Should have thrown') } catch (err: any) { expect(err.code).to.equal('ERR_INVALID_AVG_CHUNK_SIZE')