Skip to content

Commit

Permalink
deps: update all deps (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored Aug 11, 2022
1 parent 7bdc912 commit 9218212
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
9 changes: 5 additions & 4 deletions packages/ipfs-repo-migrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@
"it-length": "^1.0.1",
"multiaddr": "^10.0.1",
"multiformats": "^9.0.4",
"protobufjs": "^6.10.2",
"protobufjs": "^7.0.0",
"uint8arrays": "^3.0.0",
"varint": "^6.0.0"
},
"devDependencies": {
"@ipld/car": "^3.0.0",
"@ipld/car": "^4.1.4",
"@types/debug": "^4.1.5",
"@types/rimraf": "^3.0.2",
"@types/varint": "^6.0.0",
Expand All @@ -191,12 +191,13 @@
"datastore-fs": "^7.0.0",
"datastore-level": "^8.0.0",
"datastore-s3": "^9.0.0",
"just-safe-set": "^2.1.0",
"protobufjs-cli": "^1.0.0",
"just-safe-set": "^4.1.1",
"level-5": "npm:level@^5.0.0",
"level-6": "npm:level@^6.0.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"sinon": "^12.0.1"
"sinon": "^14.0.0"
},
"browser": {
"datastore-fs": "datastore-level"
Expand Down
22 changes: 11 additions & 11 deletions packages/ipfs-repo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,32 +196,32 @@
"it-map": "^1.0.5",
"it-merge": "^1.0.2",
"it-parallel-batch": "^1.0.9",
"it-pipe": "^1.1.0",
"it-pushable": "^1.4.0",
"just-safe-get": "^2.0.0",
"just-safe-set": "^2.1.0",
"it-pipe": "^2.0.4",
"it-pushable": "^3.1.0",
"just-safe-get": "^4.1.1",
"just-safe-set": "^4.1.1",
"merge-options": "^3.0.4",
"mortice": "^2.0.1",
"mortice": "^3.0.0",
"multiformats": "^9.0.4",
"p-queue": "^6.0.0",
"p-queue": "^7.3.0",
"proper-lockfile": "^4.0.0",
"sort-keys": "^4.2.0",
"sort-keys": "^5.0.0",
"uint8arrays": "^3.0.0"
},
"devDependencies": {
"@ipld/dag-cbor": "^6.0.4",
"@ipld/dag-cbor": "^7.0.2",
"@types/bytes": "^3.1.0",
"@types/debug": "^4.1.5",
"@types/proper-lockfile": "^4.1.1",
"@types/rimraf": "^3.0.2",
"aegir": "^37.5.0",
"blockstore-core": "^1.0.2",
"blockstore-datastore-adapter": "^2.0.1",
"ipfs-utils": "^8.1.3",
"ipfs-utils": "^9.0.7",
"it-all": "^1.0.2",
"just-range": "^2.1.0",
"just-range": "^4.1.1",
"rimraf": "^3.0.2",
"sinon": "^12.0.1"
"sinon": "^14.0.0"
},
"browser": {
"rimraf": false
Expand Down
6 changes: 4 additions & 2 deletions packages/ipfs-repo/src/idstore.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

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

// process.nextTick runs on the microtask queue, setImmediate runs on the next
// event loop iteration so is slower. Use process.nextTick if it is available.
Expand Down
3 changes: 2 additions & 1 deletion packages/ipfs-repo/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ class Repo {
this.apiAddr = apiAddr(this.root)

/** @type {GCLock} */
this.gcLock = mortice(path, {
this.gcLock = mortice({
name: path,
singleProcess: this.options.repoOwner !== false
})

Expand Down

0 comments on commit 9218212

Please sign in to comment.