Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 484d255

Browse files
authoredNov 24, 2021
chore: update aegir and multiformats (#3949)
Pulls in new ipjs which stubs files that require the node version of modules. Fixes #3938
1 parent 70c67e2 commit 484d255

File tree

29 files changed

+41
-41
lines changed

29 files changed

+41
-41
lines changed
 

‎packages/interface-ipfs-core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"@types/pako": "^1.0.2",
6868
"@types/readable-stream": "^2.3.11",
6969
"abort-controller": "^3.0.0",
70-
"aegir": "^35.1.1",
70+
"aegir": "^36.0.1",
7171
"blockstore-core": "^1.0.2",
7272
"copyfiles": "^2.4.1",
7373
"delay": "^5.0.0",
@@ -93,7 +93,7 @@
9393
"libp2p-crypto": "^0.19.7",
9494
"libp2p-websockets": "^0.16.2",
9595
"multiaddr": "^10.0.0",
96-
"multiformats": "^9.4.1",
96+
"multiformats": "^9.4.13",
9797
"nanoid": "^3.1.23",
9898
"native-abort-controller": "^1.0.3",
9999
"p-map": "^4.0.0",

‎packages/ipfs-cli/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"mafmt": "^10.0.0",
8787
"multiaddr": "^10.0.0",
8888
"multiaddr-to-uri": "^8.0.0",
89-
"multiformats": "^9.4.1",
89+
"multiformats": "^9.4.13",
9090
"parse-duration": "^1.0.0",
9191
"pretty-bytes": "^5.4.1",
9292
"progress": "^2.0.3",
@@ -98,7 +98,7 @@
9898
"@types/ncp": "^2.0.5",
9999
"@types/progress": "^2.0.3",
100100
"@types/yargs": "^16.0.0",
101-
"aegir": "^35.1.1",
101+
"aegir": "^36.0.1",
102102
"it-to-buffer": "^2.0.0",
103103
"nanoid": "^3.1.23",
104104
"ncp": "^2.0.0",

‎packages/ipfs-cli/src/commands/swarm/addrs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default {
3737
let res
3838
try {
3939
res = addr.decapsulate('ipfs').toString()
40-
} catch (_) {
40+
} catch (/** @type {any} */ _) {
4141
// peer addresses dont need to have /ipfs/ as we know their peerId
4242
// and can encapsulate on dial.
4343
res = addr.toString()

‎packages/ipfs-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"merge-options": "^3.0.4"
4747
},
4848
"devDependencies": {
49-
"aegir": "^35.1.1",
49+
"aegir": "^36.0.1",
5050
"rimraf": "^3.0.2"
5151
}
5252
}

‎packages/ipfs-core-config/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"uint8arrays": "^3.0.0"
106106
},
107107
"devDependencies": {
108-
"aegir": "^35.1.1",
108+
"aegir": "^36.0.1",
109109
"ipfs-core-utils": "^0.12.1",
110110
"rimraf": "^3.0.2"
111111
}

‎packages/ipfs-core-types/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
"dependencies": {
4747
"interface-datastore": "^6.0.2",
4848
"multiaddr": "^10.0.0",
49-
"multiformats": "^9.4.1"
49+
"multiformats": "^9.4.13"
5050
},
5151
"devDependencies": {
52-
"aegir": "^35.1.1",
52+
"aegir": "^36.0.1",
5353
"copyfiles": "^2.4.1",
5454
"rimraf": "^3.0.2"
5555
},

‎packages/ipfs-core-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@
127127
"merge-options": "^3.0.4",
128128
"multiaddr": "^10.0.0",
129129
"multiaddr-to-uri": "^8.0.0",
130-
"multiformats": "^9.4.1",
130+
"multiformats": "^9.4.13",
131131
"nanoid": "^3.1.23",
132132
"parse-duration": "^1.0.0",
133133
"timeout-abort-controller": "^1.1.1",
134134
"uint8arrays": "^3.0.0"
135135
},
136136
"devDependencies": {
137137
"@web-std/file": "^1.1.2",
138-
"aegir": "^35.1.1",
138+
"aegir": "^36.0.1",
139139
"rimraf": "^3.0.2"
140140
}
141141
}

‎packages/ipfs-core-utils/src/multipart-request.node.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export async function multipartRequest (source, abortController, headers = {}, b
7171

7272
index++
7373
}
74-
} catch (err) {
74+
} catch (/** @type {any} */ err) {
7575
log(err)
7676
// workaround for https://github.com/node-fetch/node-fetch/issues/753
7777
abortController.abort()

‎packages/ipfs-core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"mortice": "^2.0.0",
122122
"multiaddr": "^10.0.0",
123123
"multiaddr-to-uri": "^8.0.0",
124-
"multiformats": "^9.4.1",
124+
"multiformats": "^9.4.13",
125125
"native-abort-controller": "^1.0.3",
126126
"pako": "^1.0.2",
127127
"parse-duration": "^1.0.0",
@@ -133,7 +133,7 @@
133133
"@types/dlv": "^1.1.2",
134134
"@types/pako": "^1.0.2",
135135
"@types/rimraf": "^3.0.1",
136-
"aegir": "^35.1.1",
136+
"aegir": "^36.0.1",
137137
"delay": "^5.0.0",
138138
"go-ipfs": "0.9.1",
139139
"interface-blockstore-tests": "^2.0.1",

‎packages/ipfs-core/src/components/dag/export.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function createExport ({ repo, preload, codecs }) {
6060
writer,
6161
codecs)
6262
writer.close()
63-
} catch (e) {
63+
} catch (/** @type {any} */ e) {
6464
err = e
6565
}
6666
})()

‎packages/ipfs-core/src/components/object/links.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function findLinks (node, links = []) {
2525
Hash: CID.parse(val)
2626
})
2727
continue
28-
} catch (_) {
28+
} catch (/** @type {any} */ _) {
2929
// not a CID
3030
}
3131
}

‎packages/ipfs-core/src/ipns/routing/pubsub-datastore.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class IpnsPubsubDatastore {
5353
try {
5454
// @ts-ignore datastores take Key keys, this one takes Uint8Array keys
5555
res = await this._pubsubDs.get(key)
56-
} catch (e) {
56+
} catch (/** @type {any} */ e) {
5757
err = e
5858
}
5959

‎packages/ipfs-core/src/utils/service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class Service {
128128
// and try again. That way
129129
case 'starting': {
130130
// We do not want to error stop if start failed.
131-
try { await state.ready } catch (_) {}
131+
try { await state.ready } catch (/** @type {any} */ _) {}
132132
return await Service.stop(service)
133133
}
134134
// if service is stopping we just await for it to complete.

‎packages/ipfs-core/src/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
export const ipfsCore = '0.12.1'
3-
export const commit = 'fdc148b5c08c0be49eef77a18259d5baa895e3f9'
3+
export const commit = ''
44
export const interfaceIpfsCore = '^0.152.1'

‎packages/ipfs-daemon/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"libp2p-webrtc-star": "^0.24.0"
5757
},
5858
"devDependencies": {
59-
"aegir": "^35.1.1",
59+
"aegir": "^36.0.1",
6060
"node-fetch": "npm:@achingbrain/node-fetch@^2.6.4",
6161
"ws": "^7.3.1"
6262
},

‎packages/ipfs-grpc-client/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@
6161
"it-first": "^1.0.4",
6262
"it-pushable": "^1.4.2",
6363
"multiaddr": "^10.0.0",
64-
"multiformats": "^9.4.1",
64+
"multiformats": "^9.4.13",
6565
"p-defer": "^3.0.0",
6666
"protobufjs": "^6.10.2",
6767
"wherearewe": "^1.0.0",
6868
"ws": "^7.3.1"
6969
},
7070
"devDependencies": {
71-
"aegir": "^35.1.1",
71+
"aegir": "^36.0.1",
7272
"it-all": "^1.0.4",
7373
"rimraf": "^3.0.2",
7474
"sinon": "^11.1.1"

‎packages/ipfs-grpc-protocol/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"lint": "aegir ts -p check && aegir lint"
4141
},
4242
"devDependencies": {
43-
"aegir": "^35.1.1",
43+
"aegir": "^36.0.1",
4444
"mkdirp": "^1.0.4",
4545
"protobufjs": "^6.10.2",
4646
"rimraf": "^3.0.2"

‎packages/ipfs-grpc-server/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
},
6262
"devDependencies": {
6363
"@types/ws": "^7.4.0",
64-
"aegir": "^35.1.1",
64+
"aegir": "^36.0.1",
6565
"ipfs-core": "^0.12.1",
6666
"it-all": "^1.0.4",
6767
"it-drain": "^1.0.3",

‎packages/ipfs-http-client/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@
6767
"it-last": "^1.0.4",
6868
"merge-options": "^3.0.4",
6969
"multiaddr": "^10.0.0",
70-
"multiformats": "^9.4.1",
70+
"multiformats": "^9.4.13",
7171
"native-abort-controller": "^1.0.3",
7272
"parse-duration": "^1.0.0",
7373
"stream-to-it": "^0.2.2",
7474
"uint8arrays": "^3.0.0"
7575
},
7676
"devDependencies": {
77-
"aegir": "^35.1.1",
77+
"aegir": "^36.0.1",
7878
"delay": "^5.0.0",
7979
"go-ipfs": "0.9.1",
8080
"ipfsd-ctl": "^10.0.4",

‎packages/ipfs-http-client/test/log.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('.log', function () {
2222
const i = setInterval(async () => {
2323
try {
2424
await ipfs.add(uint8ArrayFromString('just adding some data to generate logs'))
25-
} catch (_) {
25+
} catch (/** @type {any} */ _) {
2626
// this can error if the test has finished and we're shutting down the node
2727
}
2828
}, 1000)

‎packages/ipfs-http-gateway/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@
6969
"it-last": "^1.0.4",
7070
"it-to-stream": "^1.0.0",
7171
"joi": "^17.2.1",
72-
"multiformats": "^9.4.1",
72+
"multiformats": "^9.4.13",
7373
"uint8arrays": "^3.0.0",
7474
"uri-to-multiaddr": "^6.0.0"
7575
},
7676
"devDependencies": {
7777
"@types/hapi-pino": "^8.0.1",
7878
"@types/hapi__hapi": "^20.0.5",
79-
"aegir": "^35.1.1",
79+
"aegir": "^36.0.1",
8080
"file-type": "^16.0.0",
8181
"rimraf": "^3.0.2",
8282
"sinon": "^11.1.1"

‎packages/ipfs-http-response/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
},
7575
"devDependencies": {
7676
"@types/ejs": "^3.1.0",
77-
"aegir": "^35.1.1",
77+
"aegir": "^36.0.1",
7878
"get-stream": "^6.0.0",
7979
"global": "^4.4.0",
8080
"ipfs-core": "^0.12.1",

‎packages/ipfs-http-response/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export async function getResponse (ipfsNode, ipfsPath) {
9090
} catch (/** @type {any} */ err) {
9191
return new Response(err.toString(), getHeader(500, 'Error fetching the file'))
9292
}
93-
} catch (error) {
93+
} catch (/** @type {any} */ error) {
9494
log(error)
9595
return handleResolveError(ipfsNode, ipfsPath, error)
9696
}

‎packages/ipfs-http-server/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"joi": "^17.2.1",
7373
"just-safe-set": "^2.2.1",
7474
"multiaddr": "^10.0.0",
75-
"multiformats": "^9.4.1",
75+
"multiformats": "^9.4.13",
7676
"native-abort-controller": "^1.0.3",
7777
"parse-duration": "^1.0.0",
7878
"stream-to-it": "^0.2.2",
@@ -82,7 +82,7 @@
8282
"devDependencies": {
8383
"@types/hapi-pino": "^8.0.1",
8484
"@types/hapi__hapi": "^20.0.5",
85-
"aegir": "^35.1.1",
85+
"aegir": "^36.0.1",
8686
"form-data": "^4.0.0",
8787
"ipfs-http-client": "^54.0.1",
8888
"iso-random-stream": "^2.0.0",
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
export const ipfsHttpClient = '^54.0.0'
2+
export const ipfsHttpClient = '^54.0.1'

‎packages/ipfs-message-port-client/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@
5151
"ipfs-message-port-protocol": "^0.10.3",
5252
"ipfs-unixfs": "^6.0.3",
5353
"it-peekable": "^1.0.2",
54-
"multiformats": "^9.4.1"
54+
"multiformats": "^9.4.13"
5555
},
5656
"devDependencies": {
57-
"aegir": "^35.1.1",
57+
"aegir": "^36.0.1",
5858
"interface-ipfs-core": "^0.152.1",
5959
"ipfs-core": "^0.12.1",
6060
"ipfs-message-port-server": "^0.10.3",

‎packages/ipfs-message-port-protocol/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@
7474
},
7575
"dependencies": {
7676
"ipfs-core-types": "^0.8.3",
77-
"multiformats": "^9.4.1"
77+
"multiformats": "^9.4.13"
7878
},
7979
"devDependencies": {
80-
"aegir": "^35.1.1",
80+
"aegir": "^36.0.1",
8181
"rimraf": "^3.0.2",
8282
"uint8arrays": "^3.0.0"
8383
},

‎packages/ipfs-message-port-server/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@
7070
"ipfs-core-types": "^0.8.3",
7171
"ipfs-message-port-protocol": "^0.10.3",
7272
"it-all": "^1.0.4",
73-
"multiformats": "^9.4.1"
73+
"multiformats": "^9.4.13"
7474
},
7575
"devDependencies": {
76-
"aegir": "^35.1.1",
76+
"aegir": "^36.0.1",
7777
"rimraf": "^3.0.2"
7878
},
7979
"engines": {

‎packages/ipfs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"devDependencies": {
8080
"@types/semver": "^7.3.4",
8181
"@types/update-notifier": "^5.0.0",
82-
"aegir": "^35.1.1",
82+
"aegir": "^36.0.1",
8383
"assert": "^2.0.0",
8484
"copyfiles": "^2.4.1",
8585
"cross-env": "^7.0.0",

0 commit comments

Comments
 (0)
This repository has been archived.