diff --git a/package-lock.json b/package-lock.json index fbfad32..87c2cd3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,16 +8,16 @@ "name": "ipfs-share-files", "version": "0.0.0", "dependencies": { - "@helia/mfs": "^4.0.0", + "@helia/mfs": "^4.0.1", "@helia/unixfs": "^4.0.0", - "@libp2p/devtools-metrics": "^1.1.5", - "@multiformats/multiaddr-matcher": "^1.2.6", + "@libp2p/devtools-metrics": "^1.1.11", + "@multiformats/multiaddr-matcher": "^1.6.0", "@sgtpooki/file-type": "^1.0.1", "blob-to-it": "^2.0.7", "blockstore-idb": "^2.0.1", "classnames": "^2.5.1", "datastore-idb": "^3.0.1", - "helia": "^5.0.0", + "helia": "^5.1.1", "i18next": "^23.15.2", "i18next-browser-languagedetector": "^8.0.0", "i18next-chained-backend": "^4.6.2", @@ -3260,13 +3260,12 @@ } }, "node_modules/@helia/bitswap": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@helia/bitswap/-/bitswap-2.0.0.tgz", - "integrity": "sha512-PsZtD7w6HOimuxkmQQMC90K4Ao4moX+4WmzYSoID+pnq6jM1XbLjnDIMc/WsT59Ey6excPiKDZ8xp5n4zI5jLA==", - "license": "Apache-2.0 OR MIT", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@helia/bitswap/-/bitswap-2.0.2.tgz", + "integrity": "sha512-aJfcQeyJFX+f7TWYZhf8zuZJFig6AhzFjiB+mgzL8YnCG01c+ouZ2iYLSImLGndcRr47uOey6rjHvWuwu1Id8Q==", "dependencies": { - "@helia/interface": "^5.0.0", - "@helia/utils": "^1.0.0", + "@helia/interface": "^5.1.0", + "@helia/utils": "^1.1.0", "@libp2p/interface": "^2.0.0", "@libp2p/logger": "^5.0.0", "@libp2p/peer-collections": "^6.0.0", @@ -3292,32 +3291,38 @@ } }, "node_modules/@helia/block-brokers": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@helia/block-brokers/-/block-brokers-4.0.0.tgz", - "integrity": "sha512-vABeVaVS2SE4Lk9QbV2K6FiMNgqDuVJh8GVDAYBeVcWWUjGnLKmIezqKqM47txbY9Vq90Jvt55cNkQIdjZw+jA==", - "license": "Apache-2.0 OR MIT", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@helia/block-brokers/-/block-brokers-4.0.2.tgz", + "integrity": "sha512-TGn/VFvZTnAZ12J2/l+XShqde+Dz10dVvgllIQlKnSxIcO+U7iGxDusrCvYL5KTn6yy/ghSUsQ2cBMEBCbjgvA==", "dependencies": { - "@helia/bitswap": "^2.0.0", - "@helia/interface": "^5.0.0", - "@helia/utils": "^1.0.0", + "@helia/bitswap": "^2.0.2", + "@helia/interface": "^5.1.0", + "@helia/utils": "^1.1.0", "@libp2p/interface": "^2.0.0", "@libp2p/utils": "^6.0.0", "@multiformats/multiaddr": "^12.2.1", "@multiformats/multiaddr-matcher": "^1.2.0", - "@multiformats/multiaddr-to-uri": "^10.0.1", + "@multiformats/multiaddr-to-uri": "^11.0.0", "interface-blockstore": "^5.2.10", "interface-store": "^6.0.0", "multiformats": "^13.1.0", "progress-events": "^1.0.0" } }, + "node_modules/@helia/block-brokers/node_modules/@multiformats/multiaddr-to-uri": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-to-uri/-/multiaddr-to-uri-11.0.0.tgz", + "integrity": "sha512-9RNmlIGwZbBLsHekT50dbt4o4u8Iciw9kGjv+WHiGxQdsJ6xKKjU1+C0Vbas6RilMbaVOAOnEyfNcXbUmTkLxQ==", + "dependencies": { + "@multiformats/multiaddr": "^12.3.0" + } + }, "node_modules/@helia/delegated-routing-v1-http-api-client": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@helia/delegated-routing-v1-http-api-client/-/delegated-routing-v1-http-api-client-4.1.0.tgz", - "integrity": "sha512-zeh1Hn3GZ8+QNcfdGL+iTLJC0avfFagp7rM0HydHp14c//Z+Zf5i+M6Yd5OLD764pPGD3ja/IVoP6idugiczNg==", - "license": "Apache-2.0 OR MIT", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@helia/delegated-routing-v1-http-api-client/-/delegated-routing-v1-http-api-client-4.2.1.tgz", + "integrity": "sha512-Gc149HTv/ufhNfcrQnEN3j9cqLSY+2AXMiIzNjQM1yF+wniN05yYzSYLxCtDlPfyi2TzODgdK/Kql3mRJLnGUg==", "dependencies": { - "@libp2p/interface": "^2.0.1", + "@libp2p/interface": "^2.2.0", "@libp2p/logger": "^5.0.1", "@libp2p/peer-id": "^5.0.1", "@multiformats/multiaddr": "^12.3.1", @@ -3334,10 +3339,9 @@ } }, "node_modules/@helia/interface": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@helia/interface/-/interface-5.0.0.tgz", - "integrity": "sha512-B95cP8RBl7cqSu1VELeRWPUsTNxu2bJ2Y/ihsdYfUCcxHKUUQdDDLTHQzhZe9iC9TYADkfkjIM7gqgmhqYtY6A==", - "license": "Apache-2.0 OR MIT", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@helia/interface/-/interface-5.1.0.tgz", + "integrity": "sha512-5rah5zHBfj6JRsdAtbgS6BaGXu/8pBMOCAAoAYCJntJ7TNSIAF1/Zv5dyK+NoYkgiFZW+8l4Z7cKDCpdC+78pw==", "dependencies": { "@libp2p/interface": "^2.0.0", "@multiformats/dns": "^1.0.1", @@ -3349,12 +3353,11 @@ } }, "node_modules/@helia/mfs": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@helia/mfs/-/mfs-4.0.0.tgz", - "integrity": "sha512-LT+zZiCMdzAF/vbji8HRJYStx6J3swIbbn4f3ChFV7lvblt+4mllKgk4F+fzY0Au1wzyM1PbQVXRJia4DwZrOQ==", - "license": "Apache-2.0 OR MIT", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@helia/mfs/-/mfs-4.0.1.tgz", + "integrity": "sha512-EXr2fkY81oVUD8EjmBKvnWczMe2dx/y6mAJeOsjMgC5h3+r6iIMjaGCAWUGIKR3T070WeShAPjwZdyhTYJ6a0g==", "dependencies": { - "@helia/unixfs": "^4.0.0", + "@helia/unixfs": "^4.0.1", "@libp2p/interface": "^2.0.0", "@libp2p/logger": "^5.0.0", "interface-blockstore": "^5.2.10", @@ -3366,13 +3369,12 @@ } }, "node_modules/@helia/routers": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@helia/routers/-/routers-2.0.0.tgz", - "integrity": "sha512-p9FlVMlX4JoeTDdXWo7UvHZTrhhJfHj0v7PIQXkwAhnjcl1HesHw4oDUSLJhWwQPsHxhJ82ttuWPUVjgRVGbfQ==", - "license": "Apache-2.0 OR MIT", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@helia/routers/-/routers-2.2.0.tgz", + "integrity": "sha512-MyPCfWV8KUkg8eguPW/gKJ/fsSRzWzcEjym4vhigy4KxQE7JvmrSL/+NFViqnlv83+77U0E1VWvKbUsQvuNX+w==", "dependencies": { - "@helia/delegated-routing-v1-http-api-client": "^4.0.0", - "@helia/interface": "^5.0.0", + "@helia/delegated-routing-v1-http-api-client": "^4.1.0", + "@helia/interface": "^5.1.0", "@libp2p/interface": "^2.0.0", "@libp2p/peer-id": "^5.0.0", "@multiformats/uri-to-multiaddr": "^8.0.0", @@ -3384,12 +3386,11 @@ } }, "node_modules/@helia/unixfs": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@helia/unixfs/-/unixfs-4.0.0.tgz", - "integrity": "sha512-e6tiXB7d3VL5suYm4e2cNEt+R8HLRmIkZkfOhB+WMcsCA7c3wtFNuN1ASKBQvCopp6+TdTfYafvCz40QnWgP+Q==", - "license": "Apache-2.0 OR MIT", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@helia/unixfs/-/unixfs-4.0.1.tgz", + "integrity": "sha512-uFg7YiT0XPUAtZsKOGLwMEHiTC0I6t+C+rFy+XQUAyxqwu4ZKs9+3H/4bsMlb42kA62GUmbznK5Sy1PfEDZJoA==", "dependencies": { - "@helia/interface": "^5.0.0", + "@helia/interface": "^5.1.0", "@ipld/dag-pb": "^4.1.0", "@libp2p/interface": "^2.0.0", "@libp2p/logger": "^5.0.0", @@ -3411,21 +3412,18 @@ } }, "node_modules/@helia/utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@helia/utils/-/utils-1.0.0.tgz", - "integrity": "sha512-26dxUS5cjhIvyqnY/VkR8/pAGGX2AOpIy1Afrb2Y/t6eFfDanQSw/X++oH+6VNhqbIi/KYF7VChn+TcclAEp7w==", - "license": "Apache-2.0 OR MIT", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@helia/utils/-/utils-1.1.0.tgz", + "integrity": "sha512-7DtCVu24qXqqNYwax3rnz9vAOw/SDXSvlcsK60/1irz/2HvxIcOG19bnllL+OGaMKJgfnoDGRbduQNgP04jJXA==", "dependencies": { - "@helia/interface": "^5.0.0", + "@helia/interface": "^5.1.0", "@ipld/dag-cbor": "^9.2.0", "@ipld/dag-json": "^10.2.0", "@ipld/dag-pb": "^4.1.0", - "@libp2p/crypto": "^5.0.0", "@libp2p/interface": "^2.0.0", "@libp2p/logger": "^5.0.0", "@libp2p/utils": "^6.0.0", "@multiformats/dns": "^1.0.1", - "@types/murmurhash3js-revisited": "^3.0.3", "any-signal": "^4.1.1", "blockstore-core": "^5.0.0", "cborg": "^4.0.9", @@ -3438,10 +3436,8 @@ "it-merge": "^3.0.3", "mortice": "^3.0.4", "multiformats": "^13.1.0", - "murmurhash3js-revisited": "^3.0.0", "p-defer": "^4.0.1", "progress-events": "^1.0.0", - "uint8arraylist": "^2.4.8", "uint8arrays": "^5.0.2" } }, @@ -4036,47 +4032,57 @@ } }, "node_modules/@libp2p/circuit-relay-v2": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@libp2p/circuit-relay-v2/-/circuit-relay-v2-2.1.2.tgz", - "integrity": "sha512-xeZWjNoct+S9V7hek0k8JSqydumMS1n+DPkEXpTExnaGGMp70GKA2JJQgOhd9LeFS2pRSrsfK9Aeb98MZ06Mxw==", - "license": "Apache-2.0 OR MIT", - "dependencies": { - "@libp2p/interface": "^2.1.2", - "@libp2p/interface-internal": "^2.0.7", - "@libp2p/peer-collections": "^6.0.7", - "@libp2p/peer-id": "^5.0.4", - "@libp2p/peer-record": "^8.0.7", - "@libp2p/utils": "^6.1.0", - "@multiformats/mafmt": "^12.1.6", - "@multiformats/multiaddr": "^12.2.3", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@libp2p/circuit-relay-v2/-/circuit-relay-v2-3.1.4.tgz", + "integrity": "sha512-vY28TFZuLJoDJlcKldnvGsKzf1tSn7MS3yevIdidu3bd/Bts8DR1HKn/Y8/QEuR3OAULdDqdgr0Xa+xlYfXLqg==", + "dependencies": { + "@libp2p/crypto": "^5.0.8", + "@libp2p/interface": "^2.3.0", + "@libp2p/interface-internal": "^2.2.0", + "@libp2p/peer-collections": "^6.0.13", + "@libp2p/peer-id": "^5.0.9", + "@libp2p/peer-record": "^8.0.13", + "@libp2p/utils": "^6.3.0", + "@multiformats/multiaddr": "^12.3.3", + "@multiformats/multiaddr-matcher": "^1.6.0", "any-signal": "^4.1.1", - "it-protobuf-stream": "^1.1.3", - "it-stream-types": "^2.0.1", - "multiformats": "^13.1.0", - "p-defer": "^4.0.1", - "progress-events": "^1.0.0", - "protons-runtime": "^5.4.0", - "race-signal": "^1.0.2", + "it-protobuf-stream": "^1.1.5", + "it-stream-types": "^2.0.2", + "multiformats": "^13.3.1", + "nanoid": "^5.0.9", + "progress-events": "^1.0.1", + "protons-runtime": "^5.5.0", + "retimeable-signal": "^1.0.0", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0" } }, "node_modules/@libp2p/crypto": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-5.0.4.tgz", - "integrity": "sha512-v5xsngOlDu8JP3GQDvK+2YYzTELl7/aPfXPbIzKEcy7ON2hu79t1BZMuavjPsr+WWIPNg5yKst6IJfRilzwXRQ==", - "license": "Apache-2.0 OR MIT", + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-5.0.8.tgz", + "integrity": "sha512-3ZxuzqMvyLXhRnjT3sjvzCCW4zkO9UKgv75KfqExP3k1Yk/Zbb+oM2z7OgnDycvLGxnRZgGwizrgnWpZvXlDEA==", "dependencies": { - "@libp2p/interface": "^2.1.2", - "@noble/curves": "^1.4.0", - "@noble/hashes": "^1.4.0", + "@libp2p/interface": "^2.3.0", + "@noble/curves": "^1.7.0", + "@noble/hashes": "^1.6.1", "asn1js": "^3.0.5", - "multiformats": "^13.1.0", - "protons-runtime": "^5.4.0", + "multiformats": "^13.3.1", + "protons-runtime": "^5.5.0", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0" } }, + "node_modules/@libp2p/crypto/node_modules/@noble/hashes": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.1.tgz", + "integrity": "sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w==", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@libp2p/dcutr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/@libp2p/dcutr/-/dcutr-2.0.7.tgz", @@ -4095,23 +4101,22 @@ } }, "node_modules/@libp2p/devtools-metrics": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@libp2p/devtools-metrics/-/devtools-metrics-1.1.5.tgz", - "integrity": "sha512-QD5xCoFek9Ra31wNe14hb5J5TKQu4MdQp+H+NNytq+oUKDtzUpbWcxYrNtK9N2QsDHtFj091Pm8q+P+gG/+Dlw==", - "license": "Apache-2.0 OR MIT", - "dependencies": { - "@libp2p/interface": "^2.1.2", - "@libp2p/interface-internal": "^2.0.7", - "@libp2p/logger": "^5.1.0", - "@libp2p/peer-id": "^5.0.4", - "@libp2p/simple-metrics": "^1.2.3", - "@multiformats/multiaddr": "^12.3.0", - "cborg": "^4.2.2", + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@libp2p/devtools-metrics/-/devtools-metrics-1.1.11.tgz", + "integrity": "sha512-Yrp4Pftuoj3F+ilEpckoLgYR6PxFL4FQGT0w/JC8hFX6Mm5OHf/HsjDoTzLkHCxl1PUwLKt/gZ2Wa9qJYfcoIw==", + "dependencies": { + "@libp2p/interface": "^2.3.0", + "@libp2p/interface-internal": "^2.2.0", + "@libp2p/logger": "^5.1.5", + "@libp2p/peer-id": "^5.0.9", + "@libp2p/simple-metrics": "^1.2.8", + "@multiformats/multiaddr": "^12.3.3", + "cborg": "^4.2.6", "it-pipe": "^3.0.1", "it-pushable": "^3.2.3", - "it-rpc": "^1.0.0", - "multiformats": "^13.1.0", - "progress-events": "^1.0.0" + "it-rpc": "^1.0.2", + "multiformats": "^13.3.1", + "progress-events": "^1.0.1" } }, "node_modules/@libp2p/identify": { @@ -4138,29 +4143,27 @@ } }, "node_modules/@libp2p/interface": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-2.1.2.tgz", - "integrity": "sha512-uD4NapC+1qGX7RmgC1aehQm3pMs1MpO1DwuhUlAo1M6CyNxfs1Ha9jhg2T+G4u4CAJM6wffZTyPGnKnrR+M8Fw==", - "license": "Apache-2.0 OR MIT", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-2.3.0.tgz", + "integrity": "sha512-lodc8jxw32fkY2m2bsS6yzzozua6EDr5rJvahJaJVC36jZWFW5sBmOW8jBoKfoZyRwgD6uoOXP39miWQhEaUcg==", "dependencies": { - "@multiformats/multiaddr": "^12.2.3", + "@multiformats/multiaddr": "^12.3.3", "it-pushable": "^3.2.3", - "it-stream-types": "^2.0.1", - "multiformats": "^13.1.0", - "progress-events": "^1.0.0", + "it-stream-types": "^2.0.2", + "multiformats": "^13.3.1", + "progress-events": "^1.0.1", "uint8arraylist": "^2.4.8" } }, "node_modules/@libp2p/interface-internal": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@libp2p/interface-internal/-/interface-internal-2.0.7.tgz", - "integrity": "sha512-numJBYHajL7W1BuURkQ4tlZ4sUGNGI3GWkhTmL2fS+LxYS2hUVTxcemHtUZGpcJQ17GiCqq+j4GE3bkBagOb0g==", - "license": "Apache-2.0 OR MIT", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface-internal/-/interface-internal-2.2.0.tgz", + "integrity": "sha512-5qCiIT1Vww6o6rjkbfv88M+tG7tfdLSiSEkM2JWv/wNWUYEn2dt+Qy1RP2z7Sj8Xdl8R7gVSmP3eal+dmon2zQ==", "dependencies": { - "@libp2p/interface": "^2.1.2", - "@libp2p/peer-collections": "^6.0.7", - "@multiformats/multiaddr": "^12.2.3", - "progress-events": "^1.0.0", + "@libp2p/interface": "^2.3.0", + "@libp2p/peer-collections": "^6.0.13", + "@multiformats/multiaddr": "^12.3.3", + "progress-events": "^1.0.1", "uint8arraylist": "^2.4.8" } }, @@ -4220,16 +4223,15 @@ } }, "node_modules/@libp2p/logger": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-5.1.0.tgz", - "integrity": "sha512-hmkk1TONYRe+kKs5QTxkayIfj9qicp8hcrJ1Ac9QfTW/jdaUlnqd1uop4QcOD5GV6qNMq+v1qaMFWFYSN9RcPA==", - "license": "Apache-2.0 OR MIT", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-5.1.5.tgz", + "integrity": "sha512-Qe8B/Mja0myaArPvuI5iKVi3o2Z55Rir+RDkkEU/m9TkKDkHVFmGKnPlWDzHehi18GALjLxOsTE9TJASxjDTCA==", "dependencies": { - "@libp2p/interface": "^2.1.2", - "@multiformats/multiaddr": "^12.2.3", - "interface-datastore": "^8.3.0", - "multiformats": "^13.1.0", - "weald": "^1.0.2" + "@libp2p/interface": "^2.3.0", + "@multiformats/multiaddr": "^12.3.3", + "interface-datastore": "^8.3.1", + "multiformats": "^13.3.1", + "weald": "^1.0.4" } }, "node_modules/@libp2p/mdns": { @@ -4282,42 +4284,39 @@ } }, "node_modules/@libp2p/peer-collections": { - "version": "6.0.7", - "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-6.0.7.tgz", - "integrity": "sha512-e3o994iEUvPR58x8Y5iE6lvrkv48oJXp/A1XIxMB4D/kA4OlY5BjDpHpR4nE4+EkzhIbslbMLAfip2FStyjtHg==", - "license": "Apache-2.0 OR MIT", + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-6.0.13.tgz", + "integrity": "sha512-BjpXs3kWegnNay2CApntOkL9tPyzTxC2lKUt0Mj9qntmOp1BF/zWY982U1X4ScjCE/M9Nh9x/w4Z/GKCT+K5lQ==", "dependencies": { - "@libp2p/interface": "^2.1.2", - "@libp2p/peer-id": "^5.0.4", - "@libp2p/utils": "^6.1.0", - "multiformats": "^13.2.2" + "@libp2p/interface": "^2.3.0", + "@libp2p/peer-id": "^5.0.9", + "@libp2p/utils": "^6.3.0", + "multiformats": "^13.3.1" } }, "node_modules/@libp2p/peer-id": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-5.0.4.tgz", - "integrity": "sha512-CHNbQ4Odlc+YDTtv6BzWdGSaJ1I3Wb6iHNV7YB59v0ivSsd0NzlR31qWpK/ByUAMT+hfzQzR1dK9s3e7zS4/zQ==", - "license": "Apache-2.0 OR MIT", + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-5.0.9.tgz", + "integrity": "sha512-TgWOPbU7AcUdSiHomL2wcg9eJqjoMCvCmU5eq/3fyBygTaG4BiQA/tYKuTEfeB5YPMdG1cJLmxgpk/a+ZRkY1g==", "dependencies": { - "@libp2p/crypto": "^5.0.4", - "@libp2p/interface": "^2.1.2", - "multiformats": "^13.1.0", + "@libp2p/crypto": "^5.0.8", + "@libp2p/interface": "^2.3.0", + "multiformats": "^13.3.1", "uint8arrays": "^5.1.0" } }, "node_modules/@libp2p/peer-record": { - "version": "8.0.7", - "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-8.0.7.tgz", - "integrity": "sha512-YsN8R+5O0MQwYQ0UGqERJJVRx7hAU4/nxiby91wzbgdfuL4qVPXHG4k0OAAtxVGLYa0q7KeXBpBG8qoaKhOXMQ==", - "license": "Apache-2.0 OR MIT", - "dependencies": { - "@libp2p/crypto": "^5.0.4", - "@libp2p/interface": "^2.1.2", - "@libp2p/peer-id": "^5.0.4", - "@libp2p/utils": "^6.1.0", - "@multiformats/multiaddr": "^12.2.3", - "multiformats": "^13.2.2", - "protons-runtime": "^5.4.0", + "version": "8.0.13", + "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-8.0.13.tgz", + "integrity": "sha512-4+jd3UvlF3sUoHpjPToy9AdW3ReF/ipvA9yBdl5axDKWxjJVOfyG8DvLRGJsTvm12gLdvb7vDgmEtpUPwWqjGQ==", + "dependencies": { + "@libp2p/crypto": "^5.0.8", + "@libp2p/interface": "^2.3.0", + "@libp2p/peer-id": "^5.0.9", + "@libp2p/utils": "^6.3.0", + "@multiformats/multiaddr": "^12.3.3", + "multiformats": "^13.3.1", + "protons-runtime": "^5.5.0", "uint8-varint": "^2.0.4", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0" @@ -4370,15 +4369,14 @@ } }, "node_modules/@libp2p/simple-metrics": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@libp2p/simple-metrics/-/simple-metrics-1.2.3.tgz", - "integrity": "sha512-TBD7FaC+c3y472usGHH1DYe0pPNUH+freQFGXJJUySXsSRiUw3Jl9e5LH1wDXzi4tFzxlrQyhunde+uYMf4JtA==", - "license": "Apache-2.0 OR MIT", + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@libp2p/simple-metrics/-/simple-metrics-1.2.8.tgz", + "integrity": "sha512-Ajc8wySEkZVQA1uga6KVcuEBu4PInyacgZZEAavoDKJwoOA7nfSsmj4mJSE9vxqn6BwLQNrRKJT9DnsI944h7A==", "dependencies": { - "@libp2p/interface": "^2.1.2", - "@libp2p/logger": "^5.1.0", - "it-foreach": "^2.1.0", - "it-stream-types": "^2.0.1", + "@libp2p/interface": "^2.3.0", + "@libp2p/logger": "^5.1.5", + "it-foreach": "^2.1.1", + "it-stream-types": "^2.0.2", "tdigest": "^0.1.2" } }, @@ -4435,16 +4433,16 @@ } }, "node_modules/@libp2p/utils": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-6.1.0.tgz", - "integrity": "sha512-pxuUI8QgeS06bMZRpy0JnACPhrrCJS5/rVNTcnQK8lV1ag2bjwkGG/359AwjeEolzYQeLrmmqnZyawd1Y74wpw==", - "license": "Apache-2.0 OR MIT", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-6.3.0.tgz", + "integrity": "sha512-1zF9xwxtAjg7N54deR3l45d0awLsuO8cacfp9J4vE+4RjrtKSa40IxhunLOp52ctm9H17wixlXUhoP85Ki8F3w==", "dependencies": { "@chainsafe/is-ip": "^2.0.2", - "@libp2p/crypto": "^5.0.4", - "@libp2p/interface": "^2.1.2", - "@libp2p/logger": "^5.1.0", - "@multiformats/multiaddr": "^12.2.3", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/crypto": "^5.0.8", + "@libp2p/interface": "^2.3.0", + "@libp2p/logger": "^5.1.5", + "@multiformats/multiaddr": "^12.3.3", "@sindresorhus/fnv1a": "^3.1.0", "@types/murmurhash3js-revisited": "^3.0.3", "any-signal": "^4.1.1", @@ -4454,12 +4452,12 @@ "it-foreach": "^2.1.1", "it-pipe": "^3.0.1", "it-pushable": "^3.2.3", - "it-stream-types": "^2.0.1", + "it-stream-types": "^2.0.2", "murmurhash3js-revisited": "^3.0.0", "netmask": "^2.0.2", "p-defer": "^4.0.1", "race-event": "^1.3.0", - "race-signal": "^1.0.2", + "race-signal": "^1.1.0", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0" } @@ -4531,26 +4529,6 @@ "ws": "^8.17.0" } }, - "node_modules/@libp2p/webtransport": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/@libp2p/webtransport/-/webtransport-5.0.10.tgz", - "integrity": "sha512-HsA3BIv7tO2KE34WvsgCUg9VuFj+28Z+BmksfndMztNv7SoIIycKzSbPdnDOf5M5cKt4eeZsV8RRgCfTVTtzJw==", - "license": "Apache-2.0 OR MIT", - "dependencies": { - "@chainsafe/libp2p-noise": "^16.0.0", - "@libp2p/interface": "^2.1.2", - "@libp2p/peer-id": "^5.0.4", - "@libp2p/utils": "^6.1.0", - "@multiformats/multiaddr": "^12.2.3", - "@multiformats/multiaddr-matcher": "^1.2.1", - "it-stream-types": "^2.0.1", - "multiformats": "^13.1.0", - "progress-events": "^1.0.0", - "race-signal": "^1.0.2", - "uint8arraylist": "^2.4.8", - "uint8arrays": "^5.1.0" - } - }, "node_modules/@multiformats/dns": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/@multiformats/dns/-/dns-1.0.6.tgz", @@ -4576,10 +4554,9 @@ } }, "node_modules/@multiformats/multiaddr": { - "version": "12.3.1", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.3.1.tgz", - "integrity": "sha512-yoGODQY4nIj41ENJClucS8FtBoe8w682bzbKldEQr9lSlfdHqAsRC+vpJAOBpiMwPps1tHua4kxrDmvprdhoDQ==", - "license": "Apache-2.0 OR MIT", + "version": "12.3.4", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.3.4.tgz", + "integrity": "sha512-R4pEEUyWGrRo16TSflz80Yr6XNbPirix1pfPqDLXsDZ4aaIrhZ7cez9jnyRQgci6DuuqSyZAdJKV6SdxpZ7Oiw==", "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@chainsafe/netmask": "^2.0.0", @@ -4590,10 +4567,9 @@ } }, "node_modules/@multiformats/multiaddr-matcher": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-matcher/-/multiaddr-matcher-1.2.6.tgz", - "integrity": "sha512-lqD3BqVs0ee1YUMY6am2HTJq6TYf3sQaVK8s+0Ns7FbbOsFv5j76cBkP3BSET6vIO+SGx6/K6Ns8zQI5ofiQUA==", - "license": "Apache-2.0 OR MIT", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-matcher/-/multiaddr-matcher-1.6.0.tgz", + "integrity": "sha512-E77lLvQR+50kTAfvjV3g4wr9qCu77Z+6yT0s1hgfh8B4sAXZ8u/YdQJGhjgstgW1kmGy7BXPppROKYijqQsesQ==", "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@multiformats/multiaddr": "^12.0.0", @@ -4627,7 +4603,6 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/@multiformats/uri-to-multiaddr/-/uri-to-multiaddr-8.0.0.tgz", "integrity": "sha512-86O+gY6JTnCv0O/IxTKV+1+GACoEBTr5Cfyh+FdzStWneviz2AZwLK8Hsys5dbfMgT//Vs7FolMiEHURlCel8w==", - "license": "Apache-2.0 OR MIT", "dependencies": { "@multiformats/multiaddr": "^12.1.14", "is-ip": "^5.0.0" @@ -4643,12 +4618,11 @@ } }, "node_modules/@noble/curves": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.6.0.tgz", - "integrity": "sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==", - "license": "MIT", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.7.0.tgz", + "integrity": "sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw==", "dependencies": { - "@noble/hashes": "1.5.0" + "@noble/hashes": "1.6.0" }, "engines": { "node": "^14.21.3 || >=16" @@ -4658,10 +4632,9 @@ } }, "node_modules/@noble/hashes": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", - "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", - "license": "MIT", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.0.tgz", + "integrity": "sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ==", "engines": { "node": "^14.21.3 || >=16" }, @@ -11296,8 +11269,7 @@ "node_modules/bintrees": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", - "license": "MIT" + "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" }, "node_modules/bl": { "version": "5.1.0", @@ -11839,10 +11811,9 @@ "license": "CC-BY-4.0" }, "node_modules/cborg": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/cborg/-/cborg-4.2.4.tgz", - "integrity": "sha512-ns2xY95zViHIVy4lq+qdLmfXTpnT3XjmKradz4RJxxbr5jc/A5gS5FiFLcPGhSdHVlSeeoizT1fuKdI1Kcd6oA==", - "license": "Apache-2.0", + "version": "4.2.7", + "resolved": "https://registry.npmjs.org/cborg/-/cborg-4.2.7.tgz", + "integrity": "sha512-zHTUAm+HAoRLtGEQ1b28HXBm8d/5YP+7eiSKzEu/mpFkptGYaMQCHv15OiQBuyNlIgbCBXvBbZQPl3xvcZTJXg==", "bin": { "cborg": "lib/bin.js" } @@ -12564,7 +12535,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-3.0.0.tgz", "integrity": "sha512-ujdnoq2Kxb8s3ItNBtnYeXdm07FcU0u8ARAT1lQ2YdMwQC+cdiXX8KoqMVuglztILivceTtp4ivqGSmEmhBUJw==", - "license": "MIT", "dependencies": { "is-regexp": "^3.0.0" }, @@ -16533,7 +16503,6 @@ "version": "0.1.1", "resolved": "https://registry.npmjs.org/function-timeout/-/function-timeout-0.1.1.tgz", "integrity": "sha512-0NVVC0TaP7dSTvn1yMiy6d6Q8gifzbvQafO46RtLG/kHJUBNd+pVRGOBoK44wNBvtSPUJRfdVvkFdD3p0xvyZg==", - "license": "MIT", "engines": { "node": ">=14.16" }, @@ -17243,21 +17212,20 @@ } }, "node_modules/helia": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/helia/-/helia-5.0.0.tgz", - "integrity": "sha512-HO30lRnRQ+pZEH8AwQbsA+VLDPqjZuen3UdGFvee7imc9ftVQlG3DQrfshcAWh8ZlDo4viNT/Uuyv/FDB00pQg==", - "license": "Apache-2.0 OR MIT", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/helia/-/helia-5.1.1.tgz", + "integrity": "sha512-xS+tk35ql+TovLGHvSt4pqERynD/E7wZm+319JPSripbNEMceNTTFkb74jlxmVJEWw570Fi9fnfmErvf3rhR2Q==", "dependencies": { "@chainsafe/libp2p-noise": "^16.0.0", "@chainsafe/libp2p-yamux": "^7.0.0", - "@helia/block-brokers": "^4.0.0", - "@helia/delegated-routing-v1-http-api-client": "^4.0.0", - "@helia/interface": "^5.0.0", - "@helia/routers": "^2.0.0", - "@helia/utils": "^1.0.0", + "@helia/block-brokers": "^4.0.2", + "@helia/delegated-routing-v1-http-api-client": "^4.1.0", + "@helia/interface": "^5.1.0", + "@helia/routers": "^2.2.0", + "@helia/utils": "^1.1.0", "@libp2p/autonat": "^2.0.0", "@libp2p/bootstrap": "^11.0.0", - "@libp2p/circuit-relay-v2": "^2.0.0", + "@libp2p/circuit-relay-v2": "^3.0.0", "@libp2p/crypto": "^5.0.0", "@libp2p/dcutr": "^2.0.0", "@libp2p/identify": "^3.0.0", @@ -17273,7 +17241,6 @@ "@libp2p/upnp-nat": "^2.0.0", "@libp2p/webrtc": "^5.0.0", "@libp2p/websockets": "^9.0.0", - "@libp2p/webtransport": "^5.0.0", "@multiformats/dns": "^1.0.1", "blockstore-core": "^5.0.0", "datastore-core": "^10.0.0", @@ -17799,7 +17766,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-5.0.0.tgz", "integrity": "sha512-fOCG6lhoKKakwv+C6KdsOnGvgXnmgfmp0myi3bcNwj3qfwPAxRKWEuFhvEFF7ceYIz6+1jRZ+yguLFAmUNPEfw==", - "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -17883,7 +17849,6 @@ "version": "10.0.0", "resolved": "https://registry.npmjs.org/ipns/-/ipns-10.0.0.tgz", "integrity": "sha512-f0jnIr5apdKPYElbfupR3mpYgKf+/qhWNtD8aZxoryB+aZXV0Xk4vgpM5ZPDIr9mdu99ccBnxR+ILBVlP515uQ==", - "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/crypto": "^5.0.0", "@libp2p/interface": "^2.0.0", @@ -18221,7 +18186,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/is-ip/-/is-ip-5.0.1.tgz", "integrity": "sha512-FCsGHdlrOnZQcp0+XT5a+pYowf33itBalCl+7ovNXC/7o5BhIpG14M3OrpPPdBSIQJCm+0M5+9mO7S9VVTTCFw==", - "license": "MIT", "dependencies": { "ip-regex": "^5.0.0", "super-regex": "^0.2.0" @@ -18430,7 +18394,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-3.1.0.tgz", "integrity": "sha512-rbku49cWloU5bSMI+zaRaXdQHXnthP6DZ/vLnfdSKyL4zUzuWnomtOEiZZOd+ioQ+avFo/qau3KPTc7Fjy1uPA==", - "license": "MIT", "engines": { "node": ">=12" }, @@ -18974,8 +18937,7 @@ "node_modules/it-ndjson": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/it-ndjson/-/it-ndjson-1.0.7.tgz", - "integrity": "sha512-V3IskT5RCVtov1u6sC9gkg0uD02qe8yPoVzBZVaRx+YkuMdpFd6opiAwfYovNd/NEbqo9mBN8wJLtw6vD0Xiqg==", - "license": "Apache-2.0 OR MIT" + "integrity": "sha512-V3IskT5RCVtov1u6sC9gkg0uD02qe8yPoVzBZVaRx+YkuMdpFd6opiAwfYovNd/NEbqo9mBN8wJLtw6vD0Xiqg==" }, "node_modules/it-pair": { "version": "2.0.6", @@ -23107,10 +23069,9 @@ } }, "node_modules/multiformats": { - "version": "13.3.0", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.3.0.tgz", - "integrity": "sha512-CBiqvsufgmpo01VT5ze94O+uc+Pbf6f/sThlvWss0sBZmAOu6GQn5usrYV2sf2mr17FWYc0rO8c/CNe2T90QAA==", - "license": "Apache-2.0 OR MIT" + "version": "13.3.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.3.1.tgz", + "integrity": "sha512-QxowxTNwJ3r5RMctoGA5p13w5RbRT2QDkoM+yFlqfLiioBp78nhDjnRLvmSBI9+KAqN4VdgOVWM9c0CHd86m3g==" }, "node_modules/multimatch": { "version": "5.0.0", @@ -23192,16 +23153,15 @@ } }, "node_modules/nanoid": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.7.tgz", - "integrity": "sha512-oLxFY2gd2IqnjcYyOXD8XGCftpGtZP2AbHbOkthDkvRywH5ayNtPVy9YlOPcHckXzbLTCHpkb7FB+yuxKV13pQ==", + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.9.tgz", + "integrity": "sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/ai" } ], - "license": "MIT", "bin": { "nanoid": "bin/nanoid.js" }, @@ -32325,6 +32285,11 @@ "dev": true, "license": "ISC" }, + "node_modules/retimeable-signal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/retimeable-signal/-/retimeable-signal-1.0.1.tgz", + "integrity": "sha512-Cy26CYfbWnYu8HMoJeDhaMpW/EYFIbne3vMf6G9RSrOyWYXbPehja/BEdzpqmM84uy2bfBD7NPZhoQ4GZEtgvg==" + }, "node_modules/retry": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", @@ -34565,7 +34530,6 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/super-regex/-/super-regex-0.2.0.tgz", "integrity": "sha512-WZzIx3rC1CvbMDloLsVw0lkZVKJWbrkJ0k1ghKFmcnPrW1+jWbgTkTEWVtD9lMdmI4jZEz40+naBxl1dCUhXXw==", - "license": "MIT", "dependencies": { "clone-regexp": "^3.0.0", "function-timeout": "^0.1.0", @@ -34763,7 +34727,6 @@ "version": "0.1.2", "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", - "license": "MIT", "dependencies": { "bintrees": "1.0.2" } @@ -34978,7 +34941,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/timestamp-nano/-/timestamp-nano-1.0.1.tgz", "integrity": "sha512-4oGOVZWTu5sl89PtCDnhQBSt7/vL1zVEwAfxH1p49JhTosxzVQWYBYFRFZ8nJmo0G6f824iyP/44BFAwIoKvIA==", - "license": "MIT", "engines": { "node": ">= 4.5.0" } diff --git a/package.json b/package.json index 2e98ca7..1822f2b 100644 --- a/package.json +++ b/package.json @@ -68,16 +68,16 @@ "build-storybook": "storybook build" }, "dependencies": { - "@helia/mfs": "^4.0.0", + "@helia/mfs": "^4.0.1", "@helia/unixfs": "^4.0.0", - "@libp2p/devtools-metrics": "^1.1.5", - "@multiformats/multiaddr-matcher": "^1.2.6", + "@libp2p/devtools-metrics": "^1.1.11", + "@multiformats/multiaddr-matcher": "^1.6.0", "@sgtpooki/file-type": "^1.0.1", "blob-to-it": "^2.0.7", "blockstore-idb": "^2.0.1", "classnames": "^2.5.1", "datastore-idb": "^3.0.1", - "helia": "^5.0.0", + "helia": "^5.1.1", "i18next": "^23.15.2", "i18next-browser-languagedetector": "^8.0.0", "i18next-chained-backend": "^4.6.2",