From 6c2f2fd4b82978fd9aa21b7273c2ce1e88292bfd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Aug 2023 10:27:06 +0000 Subject: [PATCH 1/2] deps(dev): bump aegir from 39.0.13 to 40.0.11 Bumps [aegir](https://github.com/ipfs/aegir) from 39.0.13 to 40.0.11. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](https://github.com/ipfs/aegir/compare/v39.0.13...v40.0.11) --- updated-dependencies: - dependency-name: aegir dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- packages/ipfs-unixfs-exporter/package.json | 2 +- packages/ipfs-unixfs-importer/package.json | 2 +- packages/ipfs-unixfs/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 7823f27a..525fa6b5 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "release": "npm run docs:no-publish && aegir run release && npm run docs" }, "devDependencies": { - "aegir": "^39.0.6" + "aegir": "^40.0.11" }, "workspaces": [ "packages/*" diff --git a/packages/ipfs-unixfs-exporter/package.json b/packages/ipfs-unixfs-exporter/package.json index 09845c00..28745e04 100644 --- a/packages/ipfs-unixfs-exporter/package.json +++ b/packages/ipfs-unixfs-exporter/package.json @@ -156,7 +156,7 @@ "devDependencies": { "@types/readable-stream": "^2.3.15", "@types/sinon": "^10.0.0", - "aegir": "^39.0.6", + "aegir": "^40.0.11", "blockstore-core": "^4.0.1", "delay": "^6.0.0", "ipfs-unixfs-importer": "^15.0.0", diff --git a/packages/ipfs-unixfs-importer/package.json b/packages/ipfs-unixfs-importer/package.json index ad07d1a1..8b10b70d 100644 --- a/packages/ipfs-unixfs-importer/package.json +++ b/packages/ipfs-unixfs-importer/package.json @@ -177,7 +177,7 @@ "uint8arrays": "^4.0.2" }, "devDependencies": { - "aegir": "^39.0.6", + "aegir": "^40.0.11", "blockstore-core": "^4.0.1", "it-last": "^3.0.2", "wherearewe": "^2.0.1" diff --git a/packages/ipfs-unixfs/package.json b/packages/ipfs-unixfs/package.json index e38eec14..a1547da4 100644 --- a/packages/ipfs-unixfs/package.json +++ b/packages/ipfs-unixfs/package.json @@ -144,7 +144,7 @@ "uint8arraylist": "^2.4.3" }, "devDependencies": { - "aegir": "^39.0.6", + "aegir": "^40.0.11", "protons": "^7.0.2", "uint8arrays": "^4.0.2" }, From e98c0c5f319dc7dd462075e90cebfa6c28de30d1 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 24 Aug 2023 17:38:57 +0100 Subject: [PATCH 2/2] chore: fix linting --- packages/ipfs-unixfs-exporter/src/resolvers/index.ts | 1 - .../ipfs-unixfs-exporter/src/utils/extract-data-from-block.ts | 1 - packages/ipfs-unixfs-exporter/src/utils/find-cid-in-shard.ts | 1 - packages/ipfs-unixfs-exporter/test/helpers/as-async-iterable.ts | 1 - packages/ipfs-unixfs-importer/src/chunker/index.ts | 1 - packages/ipfs-unixfs-importer/test/helpers/as-async-iterable.ts | 1 - packages/ipfs-unixfs-importer/test/helpers/random-byte-stream.ts | 1 - 7 files changed, 7 deletions(-) diff --git a/packages/ipfs-unixfs-exporter/src/resolvers/index.ts b/packages/ipfs-unixfs-exporter/src/resolvers/index.ts index 4f3279cd..6fffc8cc 100644 --- a/packages/ipfs-unixfs-exporter/src/resolvers/index.ts +++ b/packages/ipfs-unixfs-exporter/src/resolvers/index.ts @@ -1,4 +1,3 @@ - import * as dagCbor from '@ipld/dag-cbor' import * as dagPb from '@ipld/dag-pb' import errCode from 'err-code' diff --git a/packages/ipfs-unixfs-exporter/src/utils/extract-data-from-block.ts b/packages/ipfs-unixfs-exporter/src/utils/extract-data-from-block.ts index ab75562c..43c998f3 100644 --- a/packages/ipfs-unixfs-exporter/src/utils/extract-data-from-block.ts +++ b/packages/ipfs-unixfs-exporter/src/utils/extract-data-from-block.ts @@ -1,4 +1,3 @@ - function extractDataFromBlock (block: Uint8Array, blockStart: bigint, requestedStart: bigint, requestedEnd: bigint): Uint8Array { const blockLength = BigInt(block.length) const blockEnd = BigInt(blockStart + blockLength) diff --git a/packages/ipfs-unixfs-exporter/src/utils/find-cid-in-shard.ts b/packages/ipfs-unixfs-exporter/src/utils/find-cid-in-shard.ts index 3b257320..a02912e3 100644 --- a/packages/ipfs-unixfs-exporter/src/utils/find-cid-in-shard.ts +++ b/packages/ipfs-unixfs-exporter/src/utils/find-cid-in-shard.ts @@ -1,4 +1,3 @@ - import { decode, type PBLink, type PBNode } from '@ipld/dag-pb' import { murmur3128 } from '@multiformats/murmur3' import { Bucket, type BucketPosition, createHAMT } from 'hamt-sharding' diff --git a/packages/ipfs-unixfs-exporter/test/helpers/as-async-iterable.ts b/packages/ipfs-unixfs-exporter/test/helpers/as-async-iterable.ts index ef9b811b..4e612fa4 100644 --- a/packages/ipfs-unixfs-exporter/test/helpers/as-async-iterable.ts +++ b/packages/ipfs-unixfs-exporter/test/helpers/as-async-iterable.ts @@ -1,4 +1,3 @@ - async function * asAsyncIterable (arr: Uint8Array | Uint8Array[]): AsyncGenerator { if (!Array.isArray(arr)) { arr = [arr] diff --git a/packages/ipfs-unixfs-importer/src/chunker/index.ts b/packages/ipfs-unixfs-importer/src/chunker/index.ts index 1ba0231a..98ef07f8 100644 --- a/packages/ipfs-unixfs-importer/src/chunker/index.ts +++ b/packages/ipfs-unixfs-importer/src/chunker/index.ts @@ -1,4 +1,3 @@ - export interface Chunker { (source: AsyncIterable): AsyncIterable } export { rabin } from './rabin.js' diff --git a/packages/ipfs-unixfs-importer/test/helpers/as-async-iterable.ts b/packages/ipfs-unixfs-importer/test/helpers/as-async-iterable.ts index ef9b811b..4e612fa4 100644 --- a/packages/ipfs-unixfs-importer/test/helpers/as-async-iterable.ts +++ b/packages/ipfs-unixfs-importer/test/helpers/as-async-iterable.ts @@ -1,4 +1,3 @@ - async function * asAsyncIterable (arr: Uint8Array | Uint8Array[]): AsyncGenerator { if (!Array.isArray(arr)) { arr = [arr] diff --git a/packages/ipfs-unixfs-importer/test/helpers/random-byte-stream.ts b/packages/ipfs-unixfs-importer/test/helpers/random-byte-stream.ts index dfaf0720..b9d92ece 100644 --- a/packages/ipfs-unixfs-importer/test/helpers/random-byte-stream.ts +++ b/packages/ipfs-unixfs-importer/test/helpers/random-byte-stream.ts @@ -1,4 +1,3 @@ - async function * randomByteStream (seed: number): AsyncGenerator { while (true) { const r = Math.floor(random(seed) * 256)