Skip to content

Commit 9218212

Browse files
authored
deps: update all deps (#401)
1 parent 7bdc912 commit 9218212

File tree

4 files changed

+22
-18
lines changed

4 files changed

+22
-18
lines changed

packages/ipfs-repo-migrations/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,12 @@
175175
"it-length": "^1.0.1",
176176
"multiaddr": "^10.0.1",
177177
"multiformats": "^9.0.4",
178-
"protobufjs": "^6.10.2",
178+
"protobufjs": "^7.0.0",
179179
"uint8arrays": "^3.0.0",
180180
"varint": "^6.0.0"
181181
},
182182
"devDependencies": {
183-
"@ipld/car": "^3.0.0",
183+
"@ipld/car": "^4.1.4",
184184
"@types/debug": "^4.1.5",
185185
"@types/rimraf": "^3.0.2",
186186
"@types/varint": "^6.0.0",
@@ -191,12 +191,13 @@
191191
"datastore-fs": "^7.0.0",
192192
"datastore-level": "^8.0.0",
193193
"datastore-s3": "^9.0.0",
194-
"just-safe-set": "^2.1.0",
194+
"protobufjs-cli": "^1.0.0",
195+
"just-safe-set": "^4.1.1",
195196
"level-5": "npm:level@^5.0.0",
196197
"level-6": "npm:level@^6.0.0",
197198
"npm-run-all": "^4.1.5",
198199
"rimraf": "^3.0.2",
199-
"sinon": "^12.0.1"
200+
"sinon": "^14.0.0"
200201
},
201202
"browser": {
202203
"datastore-fs": "datastore-level"

packages/ipfs-repo/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -196,32 +196,32 @@
196196
"it-map": "^1.0.5",
197197
"it-merge": "^1.0.2",
198198
"it-parallel-batch": "^1.0.9",
199-
"it-pipe": "^1.1.0",
200-
"it-pushable": "^1.4.0",
201-
"just-safe-get": "^2.0.0",
202-
"just-safe-set": "^2.1.0",
199+
"it-pipe": "^2.0.4",
200+
"it-pushable": "^3.1.0",
201+
"just-safe-get": "^4.1.1",
202+
"just-safe-set": "^4.1.1",
203203
"merge-options": "^3.0.4",
204-
"mortice": "^2.0.1",
204+
"mortice": "^3.0.0",
205205
"multiformats": "^9.0.4",
206-
"p-queue": "^6.0.0",
206+
"p-queue": "^7.3.0",
207207
"proper-lockfile": "^4.0.0",
208-
"sort-keys": "^4.2.0",
208+
"sort-keys": "^5.0.0",
209209
"uint8arrays": "^3.0.0"
210210
},
211211
"devDependencies": {
212-
"@ipld/dag-cbor": "^6.0.4",
212+
"@ipld/dag-cbor": "^7.0.2",
213213
"@types/bytes": "^3.1.0",
214214
"@types/debug": "^4.1.5",
215215
"@types/proper-lockfile": "^4.1.1",
216216
"@types/rimraf": "^3.0.2",
217217
"aegir": "^37.5.0",
218218
"blockstore-core": "^1.0.2",
219219
"blockstore-datastore-adapter": "^2.0.1",
220-
"ipfs-utils": "^8.1.3",
220+
"ipfs-utils": "^9.0.7",
221221
"it-all": "^1.0.2",
222-
"just-range": "^2.1.0",
222+
"just-range": "^4.1.1",
223223
"rimraf": "^3.0.2",
224-
"sinon": "^12.0.1"
224+
"sinon": "^14.0.0"
225225
},
226226
"browser": {
227227
"rimraf": false

packages/ipfs-repo/src/idstore.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import filter from 'it-filter'
3-
import pushable from 'it-pushable'
3+
import { pushable } from 'it-pushable'
44
import drain from 'it-drain'
55
import { CID } from 'multiformats/cid'
66
import errCode from 'err-code'
@@ -63,7 +63,9 @@ export function createIdStore (store) {
6363
// in order to return all blocks. we're going to assemble a seperate iterable
6464
// return rather than return the resolves of store.putMany using the same
6565
// process used by blockstore.putMany
66-
const output = pushable()
66+
const output = pushable({
67+
objectMode: true
68+
})
6769

6870
// process.nextTick runs on the microtask queue, setImmediate runs on the next
6971
// event loop iteration so is slower. Use process.nextTick if it is available.

packages/ipfs-repo/src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ class Repo {
8181
this.apiAddr = apiAddr(this.root)
8282

8383
/** @type {GCLock} */
84-
this.gcLock = mortice(path, {
84+
this.gcLock = mortice({
85+
name: path,
8586
singleProcess: this.options.repoOwner !== false
8687
})
8788

0 commit comments

Comments
 (0)