diff --git a/packages/ipfs/package.json b/packages/ipfs/package.json index 2fda536..5c0927e 100644 --- a/packages/ipfs/package.json +++ b/packages/ipfs/package.json @@ -2,7 +2,7 @@ "dependencies": { "@dstack-js/transport": "^0.2.43", "graphql-request": "^4.2.0", - "ipfs-core": "0.14.1", + "ipfs-core": "0.14.3", "tslib": "2.3.1" }, "homepage": "https://dstack.dev", diff --git a/packages/lib/package.json b/packages/lib/package.json index a385472..3937698 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -14,7 +14,7 @@ "@types/events": "3.0.0", "@types/lru-cache": "7.5.0", "@types/uuid": "8.3.4", - "ipfs-core": "0.14.1" + "ipfs-core": "0.14.3" }, "homepage": "https://dstack.dev", "license": "GPL-3.0", diff --git a/yarn.lock b/yarn.lock index 76c5a4c..ca6e22e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2729,7 +2729,7 @@ __metadata: dependencies: "@dstack-js/transport": ^0.2.43 graphql-request: ^4.2.0 - ipfs-core: 0.14.1 + ipfs-core: 0.14.3 tslib: 2.3.1 languageName: unknown linkType: soft @@ -2763,7 +2763,7 @@ __metadata: "@types/uuid": 8.3.4 buffer: 6.0.3 events: 3.3.0 - ipfs-core: 0.14.1 + ipfs-core: 0.14.3 it-all: 1.0.6 it-drain: 1.0.5 it-last: 1.0.6 @@ -3434,14 +3434,15 @@ __metadata: languageName: node linkType: hard -"@ipld/car@npm:^3.1.0": - version: 3.2.3 - resolution: "@ipld/car@npm:3.2.3" +"@ipld/car@npm:^4.1.0": + version: 4.1.2 + resolution: "@ipld/car@npm:4.1.2" dependencies: "@ipld/dag-cbor": ^7.0.0 + cborg: ^1.9.0 multiformats: ^9.5.4 varint: ^6.0.0 - checksum: df532bc2e106c3b6a731f99f04a799999f53ae3d87f839ce7ec06f13472c592911c4ee67ed6b5aef20e43e736e4330efe0e941bb2e36f4e2bd896aaa660d5ae6 + checksum: 94da89587e92d3db127dc9449400da718a126963e51fabc7efad55dcf38106d63f6919f022e00bef69ef9c486c05d11e93f96c5cf9a28d640e0aeb8fe929faea languageName: node linkType: hard @@ -9493,6 +9494,15 @@ __metadata: languageName: node linkType: hard +"cborg@npm:^1.9.0": + version: 1.9.2 + resolution: "cborg@npm:1.9.2" + bin: + cborg: cli.js + checksum: e95c8d827d33cf113371341ecf582500d255f21aaf6f36874bf1b394b98b43f8522da1e33d2df6de5665ec63545ad64023d80e632532686062a0a2c143167d2b + languageName: node + linkType: hard + "ccount@npm:^1.0.0, ccount@npm:^1.0.3": version: 1.1.0 resolution: "ccount@npm:1.1.0" @@ -15576,9 +15586,9 @@ __metadata: languageName: node linkType: hard -"ipfs-core-config@npm:^0.3.1": - version: 0.3.1 - resolution: "ipfs-core-config@npm:0.3.1" +"ipfs-core-config@npm:^0.3.3": + version: 0.3.3 + resolution: "ipfs-core-config@npm:0.3.3" dependencies: "@chainsafe/libp2p-noise": ^5.0.1 blockstore-datastore-adapter: ^2.0.2 @@ -15590,14 +15600,14 @@ __metadata: hashlru: ^2.3.0 interface-datastore: ^6.0.2 ipfs-repo: ^14.0.1 - ipfs-utils: ^9.0.2 + ipfs-utils: ^9.0.6 ipns: ^0.16.0 is-ipfs: ^6.0.1 it-all: ^1.0.4 it-drain: ^1.0.3 it-foreach: ^0.1.1 libp2p-floodsub: ^0.29.0 - libp2p-gossipsub: ^0.13.0 + libp2p-gossipsub: 0.13.0 libp2p-kad-dht: ^0.28.5 libp2p-mdns: ^0.18.0 libp2p-mplex: ^0.10.2 @@ -15606,33 +15616,35 @@ __metadata: libp2p-websockets: ^0.16.2 p-queue: ^6.6.1 uint8arrays: ^3.0.0 - checksum: 9cc3875f1cdfb51b8e597928823ad377f71eb7d742b63cf9e6716eb66aeca7ecd57b05a541fed550902bb110a56a163d7dc7bf8a9743fa7a895fd5a51935f53f + checksum: 1ca8a1f9ca7af7cab5eead832d663e758ae60c561e61c39317991cdca57c0850bc9c708694245af932dfec156bf7160f3ac26a99c91215e0b0e9231ccbc2ad06 languageName: node linkType: hard -"ipfs-core-types@npm:^0.10.1": - version: 0.10.1 - resolution: "ipfs-core-types@npm:0.10.1" +"ipfs-core-types@npm:^0.10.3": + version: 0.10.3 + resolution: "ipfs-core-types@npm:0.10.3" dependencies: + "@ipld/dag-pb": ^2.1.3 interface-datastore: ^6.0.2 + ipfs-unixfs: ^6.0.3 multiaddr: ^10.0.0 multiformats: ^9.5.1 - checksum: bc8fc18c79cf57da7d5146b94e88296c7b2c11be2efd6985edcf1e3307ca24b26b4b1b77bd4a79c9a798a88f6d113708535bb9df9aa94f1c6316ad61471fed98 + checksum: 2a36b0ac72b98011aed333b57253d87fd5888e9e102fa3dd8f9e2dcf1b5e8c8f5582fbe3957ec24a445cec207943ea4ce4cc839770a794b273fd8b66a7a0de9d languageName: node linkType: hard -"ipfs-core-utils@npm:^0.14.1": - version: 0.14.1 - resolution: "ipfs-core-utils@npm:0.14.1" +"ipfs-core-utils@npm:^0.14.3": + version: 0.14.3 + resolution: "ipfs-core-utils@npm:0.14.3" dependencies: any-signal: ^3.0.0 blob-to-it: ^1.0.1 browser-readablestream-to-it: ^1.0.1 debug: ^4.1.1 err-code: ^3.0.1 - ipfs-core-types: ^0.10.1 + ipfs-core-types: ^0.10.3 ipfs-unixfs: ^6.0.3 - ipfs-utils: ^9.0.2 + ipfs-utils: ^9.0.6 it-all: ^1.0.4 it-map: ^1.0.4 it-peekable: ^1.0.2 @@ -15645,16 +15657,16 @@ __metadata: parse-duration: ^1.0.0 timeout-abort-controller: ^3.0.0 uint8arrays: ^3.0.0 - checksum: ff2430a341bdd4e4e44e1dccad08bec9ef334ca41fe8888a218c49abe467b7d7c91ad4e9f167b23e0ef000df2e1cc4ffa1952ea84ce1bc1c7c132f3e689ca526 + checksum: ed1bceef0677e050a06db3cc0fdd659ffaac256d89fedfa01633747675c1519ba01985d5adf5db40d7d82631028c363564a2c53678b9a665c54c75d287065d08 languageName: node linkType: hard -"ipfs-core@npm:0.14.1": - version: 0.14.1 - resolution: "ipfs-core@npm:0.14.1" +"ipfs-core@npm:0.14.3": + version: 0.14.3 + resolution: "ipfs-core@npm:0.14.3" dependencies: "@chainsafe/libp2p-noise": ^5.0.0 - "@ipld/car": ^3.1.0 + "@ipld/car": ^4.1.0 "@ipld/dag-cbor": ^7.0.0 "@ipld/dag-json": ^8.0.1 "@ipld/dag-pb": ^2.1.3 @@ -15674,15 +15686,15 @@ __metadata: interface-blockstore: ^2.0.2 interface-datastore: ^6.0.2 ipfs-bitswap: ^10.0.1 - ipfs-core-config: ^0.3.1 - ipfs-core-types: ^0.10.1 - ipfs-core-utils: ^0.14.1 - ipfs-http-client: ^56.0.1 + ipfs-core-config: ^0.3.3 + ipfs-core-types: ^0.10.3 + ipfs-core-utils: ^0.14.3 + ipfs-http-client: ^56.0.3 ipfs-repo: ^14.0.1 ipfs-unixfs: ^6.0.3 ipfs-unixfs-exporter: ^7.0.3 ipfs-unixfs-importer: ^9.0.3 - ipfs-utils: ^9.0.2 + ipfs-utils: ^9.0.6 ipns: ^0.16.0 is-domain-name: ^1.0.1 is-ipfs: ^6.0.1 @@ -15717,13 +15729,13 @@ __metadata: peer-id: ^0.16.0 timeout-abort-controller: ^3.0.0 uint8arrays: ^3.0.0 - checksum: ba5d090ce61de9e40e922180c0253b03d27e40bf11fbadcdfe6c69365747ba104e75532df415938cd80300bff49784e091cdde6e646258e8d6818f5987d1125a + checksum: 417f73ce8ddf4a0ded3010051d759bb66f8f6fb225f08417d5b0a609b1a818f11f52cb7e286b82ca631eba7301cc5e1c94886a59457d66f3f51930379bb3e826 languageName: node linkType: hard -"ipfs-http-client@npm:^56.0.1": - version: 56.0.1 - resolution: "ipfs-http-client@npm:56.0.1" +"ipfs-http-client@npm:^56.0.3": + version: 56.0.3 + resolution: "ipfs-http-client@npm:56.0.3" dependencies: "@ipld/dag-cbor": ^7.0.0 "@ipld/dag-json": ^8.0.1 @@ -15732,9 +15744,9 @@ __metadata: dag-jose: ^1.0.0 debug: ^4.1.1 err-code: ^3.0.1 - ipfs-core-types: ^0.10.1 - ipfs-core-utils: ^0.14.1 - ipfs-utils: ^9.0.2 + ipfs-core-types: ^0.10.3 + ipfs-core-utils: ^0.14.3 + ipfs-utils: ^9.0.6 it-first: ^1.0.6 it-last: ^1.0.4 merge-options: ^3.0.4 @@ -15743,7 +15755,7 @@ __metadata: parse-duration: ^1.0.0 stream-to-it: ^0.2.2 uint8arrays: ^3.0.0 - checksum: 4c4c6e1674f60ccaa44a90160a60f5f73c0eceef5ac27bad1e862ac2380de385a225e1a64d7582fa46fd77c04850e5001fbf4ffe8dca93487a2f4f3f80c7e0e8 + checksum: d45fe955b368655ff37bbaeaa72eb968399cffb6ac1ae44bd7898d834259fbe8b2394b73626d2338cd753b57b4f99ebaa8e7dfbead887c73f36c0070185cd9d6 languageName: node linkType: hard @@ -15853,7 +15865,7 @@ __metadata: languageName: node linkType: hard -"ipfs-utils@npm:^9.0.1, ipfs-utils@npm:^9.0.2": +"ipfs-utils@npm:^9.0.1": version: 9.0.4 resolution: "ipfs-utils@npm:9.0.4" dependencies: @@ -15875,6 +15887,28 @@ __metadata: languageName: node linkType: hard +"ipfs-utils@npm:^9.0.6": + version: 9.0.6 + resolution: "ipfs-utils@npm:9.0.6" + dependencies: + any-signal: ^3.0.0 + buffer: ^6.0.1 + electron-fetch: ^1.7.2 + err-code: ^3.0.1 + is-electron: ^2.2.0 + iso-url: ^1.1.5 + it-glob: ^1.0.1 + it-to-stream: ^1.0.0 + merge-options: ^3.0.4 + nanoid: ^3.1.20 + native-fetch: ^3.0.0 + node-fetch: "https://registry.npmjs.org/@achingbrain/node-fetch/-/node-fetch-2.6.7.tgz" + react-native-fetch-api: ^2.0.0 + stream-to-it: ^0.2.2 + checksum: 2a549ef48dce55a9e07a9e23a5820ca4eb4f0b34a7a1f1ab333e66d71804ea28a39110979babc175f7cd4043f18d8afa422a1fdbe349440b1aab685e6a59e7f1 + languageName: node + linkType: hard + "ipns@npm:^0.16.0": version: 0.16.0 resolution: "ipns@npm:0.16.0" @@ -18505,7 +18539,7 @@ __metadata: languageName: node linkType: hard -"libp2p-gossipsub@npm:^0.13.0": +"libp2p-gossipsub@npm:0.13.0": version: 0.13.0 resolution: "libp2p-gossipsub@npm:0.13.0" dependencies: