Skip to content

Commit 2edd327

Browse files
authoredAug 16, 2022
fix: update types import path and deps (#248)
1 parent be0bfa9 commit 2edd327

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed
 

‎packages/ipfs-unixfs-exporter/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@
156156
"@multiformats/murmur3": "^1.0.3",
157157
"err-code": "^3.0.1",
158158
"hamt-sharding": "^3.0.0",
159-
"interface-blockstore": "^2.0.3",
160-
"ipfs-unixfs": "^6.0.0",
159+
"interface-blockstore": "^3.0.0",
160+
"ipfs-unixfs": "^7.0.0",
161161
"it-last": "^1.0.5",
162162
"multiformats": "^9.4.2",
163163
"uint8arrays": "^3.0.0"
@@ -166,9 +166,9 @@
166166
"@types/sinon": "^10.0.0",
167167
"abort-controller": "^3.0.0",
168168
"aegir": "^37.5.0",
169-
"blockstore-core": "^1.0.5",
169+
"blockstore-core": "^2.0.1",
170170
"crypto-browserify": "^3.12.0",
171-
"ipfs-unixfs-importer": "^9.0.0",
171+
"ipfs-unixfs-importer": "^10.0.0",
172172
"it-all": "^1.0.5",
173173
"it-buffer-stream": "^2.0.0",
174174
"it-first": "^1.0.6",

‎packages/ipfs-unixfs-exporter/test/importer.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ describe('configuration', () => {
11071107
path: 'path',
11081108
content: 'content'
11091109
}], block, {
1110-
/** @type {import('ipfs-unixfs-importer/src/types').DAGBuilder} */
1110+
/** @type {import('ipfs-unixfs-importer').DAGBuilder} */
11111111
dagBuilder: async function * (source, block, opts) { // eslint-disable-line require-await
11121112
yield function () {
11131113
return Promise.resolve({
@@ -1118,7 +1118,7 @@ describe('configuration', () => {
11181118
})
11191119
}
11201120
},
1121-
/** @type {import('ipfs-unixfs-importer/src/types').TreeBuilder} */
1121+
/** @type {import('ipfs-unixfs-importer').TreeBuilder} */
11221122
treeBuilder: async function * (source, block, opts) { // eslint-disable-line require-await
11231123
builtTree = true
11241124
yield * source

‎packages/ipfs-unixfs-importer/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@
156156
"bl": "^5.0.0",
157157
"err-code": "^3.0.1",
158158
"hamt-sharding": "^3.0.0",
159-
"interface-blockstore": "^2.0.3",
160-
"ipfs-unixfs": "^6.0.0",
159+
"interface-blockstore": "^3.0.0",
160+
"ipfs-unixfs": "^7.0.0",
161161
"it-all": "^1.0.5",
162162
"it-batch": "^1.0.8",
163163
"it-first": "^1.0.6",
@@ -170,9 +170,9 @@
170170
"devDependencies": {
171171
"aegir": "^37.5.0",
172172
"assert": "^2.0.0",
173-
"blockstore-core": "^1.0.5",
173+
"blockstore-core": "^2.0.1",
174174
"it-buffer-stream": "^2.0.0",
175-
"wherearewe": "^1.0.0"
175+
"wherearewe": "^2.0.1"
176176
},
177177
"browser": {
178178
"fs": false

0 commit comments

Comments
 (0)
Please sign in to comment.