Skip to content

Commit a32453b

Browse files
deps(dev): bump aegir from 38.1.8 to 39.0.6 (#326)
* deps(dev): bump aegir from 38.1.8 to 39.0.6 Bumps [aegir](https://github.com/ipfs/aegir) from 38.1.8 to 39.0.6. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](ipfs/aegir@v38.1.8...v39.0.6) --- updated-dependencies: - dependency-name: aegir dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix linting * chore: fix up deps --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Potsides <alex@achingbrain.net>
1 parent 9287255 commit a32453b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+213
-212
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"release": "npm run docs:no-publish && aegir run release && npm run docs"
3737
},
3838
"devDependencies": {
39-
"aegir": "^38.1.2"
39+
"aegir": "^39.0.6"
4040
},
4141
"workspaces": [
4242
"packages/*"

packages/ipfs-unixfs-exporter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
"devDependencies": {
157157
"@types/readable-stream": "^2.3.15",
158158
"@types/sinon": "^10.0.0",
159-
"aegir": "^38.1.2",
159+
"aegir": "^39.0.6",
160160
"blockstore-core": "^4.0.1",
161161
"delay": "^5.0.0",
162162
"ipfs-unixfs-importer": "^15.0.0",

packages/ipfs-unixfs-exporter/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import errCode from 'err-code'
2+
import last from 'it-last'
23
import { CID } from 'multiformats/cid'
34
import resolve from './resolvers/index.js'
4-
import last from 'it-last'
5-
import type { UnixFS } from 'ipfs-unixfs'
65
import type { PBNode } from '@ipld/dag-pb'
7-
import type { Blockstore } from 'interface-blockstore'
86
import type { Bucket } from 'hamt-sharding'
7+
import type { Blockstore } from 'interface-blockstore'
8+
import type { UnixFS } from 'ipfs-unixfs'
99
import type { ProgressOptions, ProgressEvent } from 'progress-events'
1010

1111
export interface ExportProgress {

packages/ipfs-unixfs-exporter/src/resolvers/dag-cbor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { CID } from 'multiformats/cid'
2-
import errCode from 'err-code'
31
import * as dagCbor from '@ipld/dag-cbor'
2+
import errCode from 'err-code'
3+
import { CID } from 'multiformats/cid'
44
import type { Resolver } from '../index.js'
55

66
const resolve: Resolver = async (cid, name, path, toResolve, resolve, depth, blockstore, options) => {

packages/ipfs-unixfs-exporter/src/resolvers/identity.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import errCode from 'err-code'
2+
import * as mh from 'multiformats/hashes/digest'
3+
import { CustomProgressEvent } from 'progress-events'
24
import extractDataFromBlock from '../utils/extract-data-from-block.js'
35
import validateOffsetAndLength from '../utils/validate-offset-and-length.js'
4-
import * as mh from 'multiformats/hashes/digest'
56
import type { ExporterOptions, Resolver, ExportProgress } from '../index.js'
6-
import { CustomProgressEvent } from 'progress-events'
77

88
const rawContent = (node: Uint8Array): ((options?: ExporterOptions) => AsyncGenerator<Uint8Array, void, undefined>) => {
99
async function * contentGenerator (options: ExporterOptions = {}): AsyncGenerator<Uint8Array, void, undefined> {

packages/ipfs-unixfs-exporter/src/resolvers/index.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
import errCode from 'err-code'
21

3-
import * as dagPb from '@ipld/dag-pb'
42
import * as dagCbor from '@ipld/dag-cbor'
3+
import * as dagPb from '@ipld/dag-pb'
4+
import errCode from 'err-code'
55
import * as raw from 'multiformats/codecs/raw'
66
import { identity } from 'multiformats/hashes/identity'
7-
8-
import dagPbResolver from './unixfs-v1/index.js'
9-
import rawResolver from './raw.js'
107
import dagCborResolver from './dag-cbor.js'
118
import identifyResolver from './identity.js'
9+
import rawResolver from './raw.js'
10+
import dagPbResolver from './unixfs-v1/index.js'
1211
import type { Resolve, Resolver } from '../index.js'
1312

1413
const resolvers: Record<number, Resolver> = {
@@ -25,7 +24,7 @@ const resolve: Resolve = async (cid, name, path, toResolve, depth, blockstore, o
2524
throw errCode(new Error(`No resolver for code ${cid.code}`), 'ERR_NO_RESOLVER')
2625
}
2726

28-
return await resolver(cid, name, path, toResolve, resolve, depth, blockstore, options)
27+
return resolver(cid, name, path, toResolve, resolve, depth, blockstore, options)
2928
}
3029

3130
export default resolve

packages/ipfs-unixfs-exporter/src/resolvers/raw.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import errCode from 'err-code'
2-
import type { ExporterOptions, Resolver, ExportProgress } from '../index.js'
2+
import { CustomProgressEvent } from 'progress-events'
33
import extractDataFromBlock from '../utils/extract-data-from-block.js'
44
import validateOffsetAndLength from '../utils/validate-offset-and-length.js'
5-
import { CustomProgressEvent } from 'progress-events'
5+
import type { ExporterOptions, Resolver, ExportProgress } from '../index.js'
66

77
const rawContent = (node: Uint8Array): ((options?: ExporterOptions) => AsyncGenerator<Uint8Array, void, undefined>) => {
88
async function * contentGenerator (options: ExporterOptions = {}): AsyncGenerator<Uint8Array, void, undefined> {

packages/ipfs-unixfs-exporter/src/resolvers/unixfs-v1/content/directory.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import filter from 'it-filter'
2+
import map from 'it-map'
13
import parallel from 'it-parallel'
24
import { pipe } from 'it-pipe'
3-
import map from 'it-map'
4-
import filter from 'it-filter'
5-
import type { ExporterOptions, ExportWalk, UnixfsV1DirectoryContent, UnixfsV1Resolver } from '../../../index.js'
65
import { CustomProgressEvent } from 'progress-events'
6+
import type { ExporterOptions, ExportWalk, UnixfsV1DirectoryContent, UnixfsV1Resolver } from '../../../index.js'
77

88
const directoryContent: UnixfsV1Resolver = (cid, node, unixfs, path, resolve, depth, blockstore) => {
99
async function * yieldDirectoryContent (options: ExporterOptions = {}): UnixfsV1DirectoryContent {

packages/ipfs-unixfs-exporter/src/resolvers/unixfs-v1/content/file.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
import extractDataFromBlock from '../../../utils/extract-data-from-block.js'
2-
import validateOffsetAndLength from '../../../utils/validate-offset-and-length.js'
3-
import { UnixFS } from 'ipfs-unixfs'
4-
import errCode from 'err-code'
51
import * as dagPb from '@ipld/dag-pb'
6-
import * as raw from 'multiformats/codecs/raw'
7-
import { Pushable, pushable } from 'it-pushable'
2+
import errCode from 'err-code'
3+
import { UnixFS } from 'ipfs-unixfs'
4+
import map from 'it-map'
85
import parallel from 'it-parallel'
96
import { pipe } from 'it-pipe'
10-
import map from 'it-map'
7+
import { type Pushable, pushable } from 'it-pushable'
8+
import * as raw from 'multiformats/codecs/raw'
119
import PQueue from 'p-queue'
12-
import type { ExporterOptions, UnixfsV1FileContent, UnixfsV1Resolver, ReadableStorage, ExportProgress, ExportWalk } from '../../../index.js'
1310
import { CustomProgressEvent } from 'progress-events'
11+
import extractDataFromBlock from '../../../utils/extract-data-from-block.js'
12+
import validateOffsetAndLength from '../../../utils/validate-offset-and-length.js'
13+
import type { ExporterOptions, UnixfsV1FileContent, UnixfsV1Resolver, ReadableStorage, ExportProgress, ExportWalk } from '../../../index.js'
1414

1515
async function walkDAG (blockstore: ReadableStorage, node: dagPb.PBNode | Uint8Array, queue: Pushable<Uint8Array>, streamPosition: bigint, start: bigint, end: bigint, options: ExporterOptions): Promise<void> {
1616
// a `raw` node

packages/ipfs-unixfs-exporter/src/resolvers/unixfs-v1/content/hamt-sharded-directory.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import { decode, type PBNode } from '@ipld/dag-pb'
2+
import map from 'it-map'
13
import parallel from 'it-parallel'
24
import { pipe } from 'it-pipe'
3-
import map from 'it-map'
4-
import { decode, PBNode } from '@ipld/dag-pb'
5-
import type { ExporterOptions, Resolve, UnixfsV1DirectoryContent, UnixfsV1Resolver, ReadableStorage, ExportWalk } from '../../../index.js'
65
import { CustomProgressEvent } from 'progress-events'
6+
import type { ExporterOptions, Resolve, UnixfsV1DirectoryContent, UnixfsV1Resolver, ReadableStorage, ExportWalk } from '../../../index.js'
77

88
const hamtShardedDirectoryContent: UnixfsV1Resolver = (cid, node, unixfs, path, resolve, depth, blockstore) => {
99
function yieldHamtDirectoryContent (options: ExporterOptions = {}): UnixfsV1DirectoryContent {

packages/ipfs-unixfs-exporter/src/resolvers/unixfs-v1/content/raw.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CustomProgressEvent } from 'progress-events'
2-
import type { ExporterOptions, ExportProgress, ExportWalk, UnixfsV1Resolver } from '../../../index.js'
32
import extractDataFromBlock from '../../../utils/extract-data-from-block.js'
43
import validateOffsetAndLength from '../../../utils/validate-offset-and-length.js'
4+
import type { ExporterOptions, ExportProgress, ExportWalk, UnixfsV1Resolver } from '../../../index.js'
55

66
const rawContent: UnixfsV1Resolver = (cid, node, unixfs, path, resolve, depth, blockstore) => {
77
function * yieldRawContent (options: ExporterOptions = {}): Generator<Uint8Array, void, undefined> {

packages/ipfs-unixfs-exporter/src/resolvers/unixfs-v1/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
import { decode, type PBNode } from '@ipld/dag-pb'
12
import errCode from 'err-code'
23
import { UnixFS } from 'ipfs-unixfs'
34
import findShardCid from '../../utils/find-cid-in-shard.js'
4-
import { decode, PBNode } from '@ipld/dag-pb'
5-
import contentFile from './content/file.js'
65
import contentDirectory from './content/directory.js'
6+
import contentFile from './content/file.js'
77
import contentHamtShardedDirectory from './content/hamt-sharded-directory.js'
8-
import type { CID } from 'multiformats/cid'
98
import type { Resolver, UnixfsV1Resolver } from '../../index.js'
9+
import type { CID } from 'multiformats/cid'
1010

1111
const findLinkCid = (node: PBNode, name: string): CID | undefined => {
1212
const link = node.Links.find(link => link.Name === name)

packages/ipfs-unixfs-exporter/src/utils/find-cid-in-shard.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
import { Bucket, BucketPosition, createHAMT } from 'hamt-sharding'
3-
import { decode, PBLink, PBNode } from '@ipld/dag-pb'
2+
import { decode, type PBLink, type PBNode } from '@ipld/dag-pb'
43
import { murmur3128 } from '@multiformats/murmur3'
4+
import { Bucket, type BucketPosition, createHAMT } from 'hamt-sharding'
55
import type { ExporterOptions, ShardTraversalContext, ReadableStorage } from '../index.js'
66
import type { CID } from 'multiformats/cid'
77

@@ -120,7 +120,7 @@ const findShardCid = async (node: PBNode, name: string, blockstore: ReadableStor
120120
const block = await blockstore.get(link.Hash, options)
121121
node = decode(block)
122122

123-
return await findShardCid(node, name, blockstore, context, options)
123+
return findShardCid(node, name, blockstore, context, options)
124124
}
125125

126126
export default findShardCid

packages/ipfs-unixfs-exporter/test/exporter-esoteric.spec.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/* eslint-env mocha */
22

3+
import * as dagPb from '@ipld/dag-pb'
34
import { expect } from 'aegir/chai'
4-
import all from 'it-all'
55
import { MemoryBlockstore } from 'blockstore-core'
6-
import { concat, concat as uint8ArrayConcat } from 'uint8arrays/concat'
7-
import { exporter } from './../src/index.js'
6+
import { UnixFS } from 'ipfs-unixfs'
87
import randomBytes from 'iso-random-stream/src/random.js'
9-
import { sha256 } from 'multiformats/hashes/sha2'
8+
import all from 'it-all'
109
import { CID } from 'multiformats/cid'
1110
import * as raw from 'multiformats/codecs/raw'
12-
import { UnixFS } from 'ipfs-unixfs'
13-
import * as dagPb from '@ipld/dag-pb'
14-
import type { Blockstore } from 'interface-blockstore'
11+
import { sha256 } from 'multiformats/hashes/sha2'
12+
import { concat, concat as uint8ArrayConcat } from 'uint8arrays/concat'
1513
import { isNode } from 'wherearewe'
14+
import { exporter } from './../src/index.js'
15+
import type { Blockstore } from 'interface-blockstore'
1616

1717
describe('exporter esoteric DAGs', () => {
1818
let block: Blockstore

packages/ipfs-unixfs-exporter/test/exporter-sharded.spec.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/* eslint-env mocha */
22

3+
import * as dagPb from '@ipld/dag-pb'
34
import { expect } from 'aegir/chai'
5+
import { MemoryBlockstore } from 'blockstore-core'
46
import { UnixFS } from 'ipfs-unixfs'
7+
import { importer } from 'ipfs-unixfs-importer'
58
import all from 'it-all'
6-
import last from 'it-last'
79
import randomBytes from 'it-buffer-stream'
8-
import { exporter, walkPath } from '../src/index.js'
9-
import { importer } from 'ipfs-unixfs-importer'
10-
import * as dagPb from '@ipld/dag-pb'
11-
import { concat as uint8ArrayConcat } from 'uint8arrays/concat'
12-
import asAsyncIterable from './helpers/as-async-iterable.js'
10+
import last from 'it-last'
1311
import { CID } from 'multiformats/cid'
1412
import { sha256 } from 'multiformats/hashes/sha2'
15-
import { MemoryBlockstore } from 'blockstore-core'
13+
import { concat as uint8ArrayConcat } from 'uint8arrays/concat'
14+
import { exporter, walkPath } from '../src/index.js'
15+
import asAsyncIterable from './helpers/as-async-iterable.js'
1616

1717
const SHARD_SPLIT_THRESHOLD = 10
1818

@@ -22,7 +22,7 @@ describe('exporter sharded', function () {
2222
const block = new MemoryBlockstore()
2323

2424
const createShard = async (numFiles: number): Promise<CID> => {
25-
return await createShardWithFileNames(numFiles, (index) => `file-${index}`)
25+
return createShardWithFileNames(numFiles, (index) => `file-${index}`)
2626
}
2727

2828
const createShardWithFileNames = async (numFiles: number, fileName: (index: number) => string): Promise<CID> => {
@@ -31,7 +31,7 @@ describe('exporter sharded', function () {
3131
content: asAsyncIterable(Uint8Array.from([0, 1, 2, 3, 4, index]))
3232
}))
3333

34-
return await createShardWithFiles(files)
34+
return createShardWithFiles(files)
3535
}
3636

3737
const createShardWithFiles = async (files: Array<{ path: string, content: AsyncIterable<Uint8Array> }>): Promise<CID> => {

packages/ipfs-unixfs-exporter/test/exporter-subtree.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/* eslint-env mocha */
22

33
import { expect } from 'aegir/chai'
4+
import { MemoryBlockstore } from 'blockstore-core'
45
import { importer } from 'ipfs-unixfs-importer'
56
import all from 'it-all'
6-
import last from 'it-last'
7-
import { MemoryBlockstore } from 'blockstore-core'
87
import randomBytes from 'it-buffer-stream'
8+
import last from 'it-last'
99
import { concat as uint8ArrayConcat } from 'uint8arrays/concat'
10-
import asAsyncIterable from './helpers/as-async-iterable.js'
1110
import { exporter, walkPath } from './../src/index.js'
11+
import asAsyncIterable from './helpers/as-async-iterable.js'
1212

1313
const ONE_MEG = Math.pow(1024, 2)
1414

packages/ipfs-unixfs-exporter/test/exporter.spec.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
/* eslint-env mocha */
22

3+
import * as dagCbor from '@ipld/dag-cbor'
4+
import * as dagPb from '@ipld/dag-pb'
35
import { expect } from 'aegir/chai'
6+
import { MemoryBlockstore } from 'blockstore-core'
7+
import delay from 'delay'
48
import { UnixFS } from 'ipfs-unixfs'
5-
import { CID } from 'multiformats/cid'
6-
import * as dagPb from '@ipld/dag-pb'
7-
import * as dagCbor from '@ipld/dag-cbor'
8-
import { sha256 } from 'multiformats/hashes/sha2'
9-
import { identity } from 'multiformats/hashes/identity'
10-
import * as raw from 'multiformats/codecs/raw'
11-
import { exporter, recursive } from '../src/index.js'
129
import { importer } from 'ipfs-unixfs-importer'
10+
import { fixedSize } from 'ipfs-unixfs-importer/chunker'
11+
import { balanced, type FileLayout, flat, trickle } from 'ipfs-unixfs-importer/layout'
1312
import all from 'it-all'
14-
import last from 'it-last'
15-
import first from 'it-first'
1613
import randomBytes from 'it-buffer-stream'
17-
import { MemoryBlockstore } from 'blockstore-core'
14+
import first from 'it-first'
15+
import last from 'it-last'
16+
import toBuffer from 'it-to-buffer'
17+
import { CID } from 'multiformats/cid'
18+
import * as raw from 'multiformats/codecs/raw'
19+
import { identity } from 'multiformats/hashes/identity'
20+
import { sha256 } from 'multiformats/hashes/sha2'
21+
import { Readable } from 'readable-stream'
1822
import { concat as uint8ArrayConcat } from 'uint8arrays/concat'
1923
import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
2024
import { toString as uint8ArrayToString } from 'uint8arrays/to-string'
25+
import { isNode } from 'wherearewe'
26+
import { exporter, recursive } from '../src/index.js'
2127
import asAsyncIterable from './helpers/as-async-iterable.js'
22-
import delay from 'delay'
2328
import type { PBNode } from '@ipld/dag-pb'
2429
import type { Blockstore } from 'interface-blockstore'
25-
import { balanced, FileLayout, flat, trickle } from 'ipfs-unixfs-importer/layout'
2630
import type { Chunker } from 'ipfs-unixfs-importer/chunker'
27-
import { fixedSize } from 'ipfs-unixfs-importer/chunker'
28-
import toBuffer from 'it-to-buffer'
29-
import { Readable } from 'readable-stream'
30-
import { isNode } from 'wherearewe'
3131

3232
const ONE_MEG = Math.pow(1024, 2)
3333

@@ -336,7 +336,7 @@ describe('exporter', () => {
336336
async get (cid: CID) {
337337
await delay(Math.random() * 10)
338338

339-
return await block.get(cid)
339+
return block.get(cid)
340340
}
341341
}
342342

@@ -1005,7 +1005,7 @@ describe('exporter', () => {
10051005
throw new Error('Unexpected type')
10061006
}
10071007

1008-
return await expect(first(exported.content())).to.eventually.deep.equal(node)
1008+
return expect(first(exported.content())).to.eventually.deep.equal(node)
10091009
})
10101010

10111011
it('errors when exporting a node with no resolver', async () => {
@@ -1219,7 +1219,7 @@ describe('exporter', () => {
12191219
const customBlock = {
12201220
get: async (cid: CID, options: { signal: AbortSignal }) => {
12211221
// promise will never resolve, so reject it when the abort signal is sent
1222-
return await new Promise((resolve, reject) => {
1222+
return new Promise((resolve, reject) => {
12231223
options.signal.addEventListener('abort', () => {
12241224
reject(new Error(message))
12251225
})
@@ -1275,7 +1275,7 @@ describe('exporter', () => {
12751275
const contentIterator = file.content()
12761276

12771277
const readableStreamToBytes = async (readableStream: Readable): Promise<Uint8Array> => {
1278-
return await new Promise((resolve, reject) => {
1278+
return new Promise((resolve, reject) => {
12791279
const chunks: any[] = []
12801280
readableStream.on('data', chunk => {
12811281
chunks.push(chunk)

packages/ipfs-unixfs-exporter/test/import-export-dir-sharding.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/* eslint-env mocha */
22

3-
import { importer } from 'ipfs-unixfs-importer'
4-
import { exporter, UnixFSDirectory, UnixFSEntry } from '../src/index.js'
53
import { expect } from 'aegir/chai'
4+
import { MemoryBlockstore } from 'blockstore-core'
5+
import { importer } from 'ipfs-unixfs-importer'
66
import all from 'it-all'
77
import last from 'it-last'
8-
import { MemoryBlockstore } from 'blockstore-core'
98
import { concat as uint8ArrayConcat } from 'uint8arrays/concat'
109
import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
1110
import { toString as uint8ArrayToString } from 'uint8arrays/to-string'
11+
import { exporter, type UnixFSDirectory, type UnixFSEntry } from '../src/index.js'
1212
import asAsyncIterable from './helpers/as-async-iterable.js'
1313
import type { CID } from 'multiformats/cid'
1414

packages/ipfs-unixfs-exporter/test/import-export-nested-dir.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/* eslint-env mocha */
22

33
import { expect } from 'aegir/chai'
4-
import all from 'it-all'
5-
import { importer } from 'ipfs-unixfs-importer'
6-
import { exporter, UnixFSEntry } from '../src/index.js'
74
import { MemoryBlockstore } from 'blockstore-core'
5+
import { importer } from 'ipfs-unixfs-importer'
6+
import all from 'it-all'
87
import { concat as uint8ArrayConcat } from 'uint8arrays/concat'
98
import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
109
import { toString as uint8ArrayToString } from 'uint8arrays/to-string'
10+
import { exporter, type UnixFSEntry } from '../src/index.js'
1111
import asAsyncIterable from './helpers/as-async-iterable.js'
1212
import type { CID } from 'multiformats/cid'
1313

0 commit comments

Comments
 (0)