From 0f6a0e64b90c4271d5ca8b027dca9088f641e024 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 20:34:31 +0000 Subject: [PATCH] Update dependency helia to v4 --- package.json | 2 +- pnpm-lock.yaml | 214 +++++++++++++++++-------------------------------- 2 files changed, 74 insertions(+), 142 deletions(-) diff --git a/package.json b/package.json index 1a91065..8f4a533 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "dependencies": { "@orbitdb/core": "^2.0.1", "events": "^3.3.0", - "helia": "^3.0.1", + "helia": "^4.0.0", "uuid": "^9.0.1" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f241b63..3921f82 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ dependencies: specifier: ^3.3.0 version: 3.3.0 helia: - specifier: ^3.0.1 - version: 3.0.1(react-native@0.73.2) + specifier: ^4.0.0 + version: 4.0.0(react-native@0.73.2) uuid: specifier: ^9.0.1 version: 9.0.1 @@ -1552,6 +1552,7 @@ packages: uint8arrays: 4.0.10 transitivePeerDependencies: - supports-color + dev: true /@chainsafe/libp2p-noise@14.1.0: resolution: {integrity: sha512-uHmptoxgMsfDIP7cQMQ4Zp9+y27oON5+gloBLXi+7EJpMhyvo7tjafUxRILwLofzeAtfaF3ZHraoXRFUSbhK2Q==} @@ -1599,7 +1600,6 @@ packages: uint8arraylist: 2.4.8 uint8arrays: 5.0.1 wherearewe: 2.0.1 - dev: true /@chainsafe/libp2p-yamux@6.0.1: resolution: {integrity: sha512-8ar6jph9ZuUUxQ8t8W1MaZqH7f7KvGK2wR7TDGnN0r4QtZc07ICNgVjnolnI9/8bclrI5Um4uMa8QCYKTrdvDQ==} @@ -2111,24 +2111,6 @@ packages: dependencies: '@hapi/hoek': 9.3.0 - /@helia/block-brokers@1.0.0: - resolution: {integrity: sha512-VP9KDj6fNT1FKk/vWjDzk8eYyVclxHFQaOLI0+rvifg+w8X+atCa/v2JKzZzbW6BX3/dxcn/mZz+ZHgdmuQ1qg==} - dependencies: - '@helia/interface': 3.0.1 - '@libp2p/interface': 1.1.2 - any-signal: 4.1.1 - interface-blockstore: 5.2.9 - interface-store: 5.1.7 - ipfs-bitswap: 20.0.2 - it-filter: 3.0.4 - it-foreach: 2.0.6 - multiformats: 13.0.1 - progress-events: 1.0.0 - uint8arrays: 5.0.1 - transitivePeerDependencies: - - supports-color - dev: false - /@helia/block-brokers@2.0.0: resolution: {integrity: sha512-6/SeTaVshPzAgSc+mpsQ1tZWy8BcRGx1PdQdYrjyATYjPVTWG30DSEgCBtqNgyyoWN51rhkWQM9TANL0P6iQIg==} dependencies: @@ -2140,53 +2122,80 @@ packages: progress-events: 1.0.0 transitivePeerDependencies: - supports-color - dev: true - /@helia/delegated-routing-v1-http-api-client@1.1.2: - resolution: {integrity: sha512-u+sVdOxFieusZh/AxC8c0lU1micWfAosju7A80n62rdJ1fr1lclkhhrlfaKWIgVOq+pwonEzoOE7QgnTL22tYw==} + /@helia/delegated-routing-v1-http-api-client@3.0.0: + resolution: {integrity: sha512-NQRG5djXKI0GcFx35JMKSQ92RscGOhER6ti66ExjreAffaO2/9vk2ZbAbfCoZnjyTnx66HWAgAyB4GDDTAeFLA==} dependencies: - '@libp2p/interface': 0.1.6 - '@libp2p/logger': 3.1.0 - '@libp2p/peer-id': 3.0.6 + '@libp2p/interface': 1.1.2 + '@libp2p/logger': 4.0.5 + '@libp2p/peer-id': 4.0.5 '@multiformats/multiaddr': 12.1.12 any-signal: 4.1.1 browser-readablestream-to-it: 2.0.5 - ipns: 7.0.2 + ipns: 9.0.0 it-first: 3.0.4 it-map: 3.0.5 it-ndjson: 1.0.5 - multiformats: 12.1.3 + multiformats: 13.0.1 p-defer: 4.0.0 - p-queue: 7.4.1 - uint8arrays: 4.0.10 + p-queue: 8.0.1 + uint8arrays: 5.0.1 transitivePeerDependencies: - supports-color dev: false - /@helia/interface@3.0.1: - resolution: {integrity: sha512-ibaiN0InfFVf8TNOKK+wzoLqlrWx/Crk/yY5o+DNRvgI4fdaJofHEaSyDvFR/amTVhdFHnOK+3Mbh+jGktWapQ==} + /@helia/interface@4.0.0: + resolution: {integrity: sha512-J8ZGuNac60x1pwMZ7i5rvB9oldnc3rIEhCcZE6vKl5vsDHmlCpG2NmVPM5x1VIfei1JEAygDtfCFUDvGpMxSfw==} dependencies: '@libp2p/interface': 1.1.2 interface-blockstore: 5.2.9 interface-datastore: 8.2.10 interface-store: 5.1.7 - ipfs-bitswap: 20.0.2 multiformats: 13.0.1 progress-events: 1.0.0 + + /@helia/routers@1.0.0: + resolution: {integrity: sha512-h6u3eizOLLLXXXaXGGcsz2gQ1+pwtRqjx0ZjL4nuGZuoie5BXjPCTV/gKYFMMWaKwVUpLwSBtH6oVpwsfWQ6cw==} + dependencies: + '@helia/delegated-routing-v1-http-api-client': 3.0.0 + '@helia/interface': 4.0.0 + '@libp2p/interface': 1.1.2 + ipns: 9.0.0 + it-first: 3.0.4 + it-map: 3.0.5 + multiformats: 13.0.1 + uint8arrays: 5.0.1 transitivePeerDependencies: - supports-color dev: false - /@helia/interface@4.0.0: - resolution: {integrity: sha512-J8ZGuNac60x1pwMZ7i5rvB9oldnc3rIEhCcZE6vKl5vsDHmlCpG2NmVPM5x1VIfei1JEAygDtfCFUDvGpMxSfw==} + /@helia/utils@0.0.1: + resolution: {integrity: sha512-mYGYsAzRcXmS0CdtacAqd6nabZuz9sfKe+IbQYpA9KMfQQr1VCTOg1u9zTBGxblCNgE5FxBxzW4hdnsjNZ53ng==} dependencies: + '@helia/interface': 4.0.0 + '@ipld/dag-cbor': 9.0.8 + '@ipld/dag-json': 10.1.7 + '@ipld/dag-pb': 4.0.8 '@libp2p/interface': 1.1.2 + '@libp2p/logger': 4.0.5 + '@libp2p/peer-collections': 5.1.5 + '@libp2p/utils': 5.2.2 + any-signal: 4.1.1 + cborg: 4.0.8 interface-blockstore: 5.2.9 interface-datastore: 8.2.10 interface-store: 5.1.7 + it-drain: 3.0.5 + it-filter: 3.0.4 + it-foreach: 2.0.6 + it-merge: 3.0.3 + mortice: 3.0.4 multiformats: 13.0.1 progress-events: 1.0.0 - dev: true + uint8arrays: 5.0.1 + transitivePeerDependencies: + - supports-color + dev: false /@humanwhocodes/config-array@0.11.14: resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} @@ -2412,21 +2421,6 @@ packages: transitivePeerDependencies: - supports-color - /@libp2p/crypto@2.0.8: - resolution: {integrity: sha512-8e5fh6bsJNpSjhrggtlm8QF+BERjelJswIjRS69aKgxp24R4z2kDM4pRYPkfQjXJDLNDtqWtKNmePgX23+QJsA==} - dependencies: - '@libp2p/interface': 0.1.6 - '@noble/curves': 1.3.0 - '@noble/hashes': 1.3.3 - multiformats: 12.1.3 - node-forge: 1.3.1 - protons-runtime: 5.2.2 - uint8arraylist: 2.4.8 - uint8arrays: 4.0.10 - transitivePeerDependencies: - - supports-color - dev: false - /@libp2p/crypto@3.0.4: resolution: {integrity: sha512-FzSwBo+RJOUzdzEwug5ZL4dAGKwEBWTLzj+EmUTHHY6c87+oLh571DQk/w0oYObSD9hYbcKePgSBaZeBx0JaZg==} dependencies: @@ -2496,21 +2490,6 @@ packages: transitivePeerDependencies: - supports-color - /@libp2p/interface@0.1.6: - resolution: {integrity: sha512-Lzc5cS/hXuoXhuAbVIxJIHLCYmfPcbU0vVgrpMoiP1Qb2Q3ETU4A46GB8s8mWXgSU6tr9RcqerUqzFYD6+OAag==} - dependencies: - '@multiformats/multiaddr': 12.1.12 - abortable-iterator: 5.0.1 - it-pushable: 3.2.3 - it-stream-types: 2.0.1 - multiformats: 12.1.3 - p-defer: 4.0.0 - race-signal: 1.0.2 - uint8arraylist: 2.4.8 - transitivePeerDependencies: - - supports-color - dev: false - /@libp2p/interface@1.1.2: resolution: {integrity: sha512-uC4hxtEJuWiDiZfokkSNEEbCzdyZrqb5kp67Wc5PjZsySZ2IoImdIfie003yQXlB1xBp/XUJzdC6kVu4M7LUmg==} dependencies: @@ -2575,18 +2554,6 @@ packages: uint8arrays: 5.0.1 dev: false - /@libp2p/logger@3.1.0: - resolution: {integrity: sha512-qJbJBAhxHVsRBtQSOIkSLi0lskUSFjzE+zm0QvoyxzZKSz+mX41mZLbnofPIVOVauoDQ40dXpe7WDUOq8AbiQQ==} - dependencies: - '@libp2p/interface': 0.1.6 - '@multiformats/multiaddr': 12.1.12 - debug: 4.3.4(supports-color@8.1.1) - interface-datastore: 8.2.10 - multiformats: 12.1.3 - transitivePeerDependencies: - - supports-color - dev: false - /@libp2p/logger@4.0.5: resolution: {integrity: sha512-cXETMNZINnxeQBlfQ2S4di92FDDU89R7RHagrpebGrM7oLl5nf/Mw6myc23kGaM3/2YG3ko2rl9sYjemu0azTA==} dependencies: @@ -2657,16 +2624,6 @@ packages: uint8arraylist: 2.4.8 uint8arrays: 5.0.1 - /@libp2p/peer-id@3.0.6: - resolution: {integrity: sha512-iN1Ia5gH2U1V/GOVRmLHmVY6fblxzrOPUoZrMYjHl/K4s+AiI7ym/527WDeQvhQpD7j3TfDwcAYforD2dLGpLw==} - dependencies: - '@libp2p/interface': 0.1.6 - multiformats: 12.1.3 - uint8arrays: 4.0.10 - transitivePeerDependencies: - - supports-color - dev: false - /@libp2p/peer-id@4.0.5: resolution: {integrity: sha512-/J9U6I/CWSOsYrTpFZpRQrhOhi+bp9WFp7+9Gc7kVt/oevIYTapUEjpxevjViem9ddR5RbdYeCj4ZLHA04QOoQ==} dependencies: @@ -2739,6 +2696,7 @@ packages: uint8arrays: 5.0.1 transitivePeerDependencies: - supports-color + dev: true /@libp2p/tcp@9.0.12: resolution: {integrity: sha512-9Aff2ZAGlhxhX80Xpu/SououPlMIBeXkn/O0mvSBeH0BBdHtVImhYB5bnCKZi09Eq9dLf0PSSLCIjtpe/5Nxcg==} @@ -3091,36 +3049,46 @@ packages: /@protobufjs/aspromise@1.1.2: resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} + dev: true /@protobufjs/base64@1.1.2: resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==} + dev: true /@protobufjs/codegen@2.0.4: resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==} + dev: true /@protobufjs/eventemitter@1.1.0: resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==} + dev: true /@protobufjs/fetch@1.1.0: resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==} dependencies: '@protobufjs/aspromise': 1.1.2 '@protobufjs/inquire': 1.1.0 + dev: true /@protobufjs/float@1.0.2: resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==} + dev: true /@protobufjs/inquire@1.1.0: resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==} + dev: true /@protobufjs/path@1.1.2: resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==} + dev: true /@protobufjs/pool@1.1.0: resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==} + dev: true /@protobufjs/utf8@1.1.0: resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} + dev: true /@react-native-community/cli-clean@12.3.0: resolution: {integrity: sha512-iAgLCOWYRGh9ukr+eVQnhkV/OqN3V2EGd/in33Ggn/Mj4uO6+oUncXFwB+yjlyaUNz6FfjudhIz09yYGSF+9sg==} @@ -4235,6 +4203,7 @@ packages: dependencies: get-iterator: 2.0.1 it-stream-types: 2.0.1 + dev: true /abstract-level@1.0.3: resolution: {integrity: sha512-t6jv+xHy+VYwc4xqZMn2Pa9DjcdzvzZmQGRjTFc8spIbRGHgBrEKbPq+rYXc7CCo0lxgYvSgKVg9qZAhpVQSjA==} @@ -5996,6 +5965,7 @@ packages: /denque@2.1.0: resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} engines: {node: '>=0.10'} + dev: true /depcheck@1.4.7: resolution: {integrity: sha512-1lklS/bV5chOxwNKA/2XUUk/hPORp8zihZsXflr8x0kLwmcZ9Y9BsS6Hs3ssvA+2wUVbG0U2Ciqvm1SokNjPkA==} @@ -7761,18 +7731,16 @@ packages: hasBin: true dev: true - /helia@3.0.1(react-native@0.73.2): - resolution: {integrity: sha512-Uf9h2RQuiyZxQkBXmbV9HF9/ILSWellXDuSk9Qwn+hRwtlIuEmaHW2HIRHXoaUF9A+WBPplLmiShaYtbaOgbMQ==} + /helia@4.0.0(react-native@0.73.2): + resolution: {integrity: sha512-IrGT1DqJXH3JHDKG0JTpuh5D9hGLs+lZ57NcZyKnPSGdP6PSiQz+7S+lPwvm4OqoSmFkCkCn4C4divdJp4CXAA==} dependencies: - '@chainsafe/libp2p-gossipsub': 11.1.0 - '@chainsafe/libp2p-noise': 14.1.0 + '@chainsafe/libp2p-noise': 15.0.0 '@chainsafe/libp2p-yamux': 6.0.1 - '@helia/block-brokers': 1.0.0 - '@helia/delegated-routing-v1-http-api-client': 1.1.2 - '@helia/interface': 3.0.1 - '@ipld/dag-cbor': 9.0.8 - '@ipld/dag-json': 10.1.7 - '@ipld/dag-pb': 4.0.8 + '@helia/block-brokers': 2.0.0 + '@helia/delegated-routing-v1-http-api-client': 3.0.0 + '@helia/interface': 4.0.0 + '@helia/routers': 1.0.0 + '@helia/utils': 0.0.1 '@libp2p/autonat': 1.0.9 '@libp2p/bootstrap': 10.0.12 '@libp2p/circuit-relay-v2': 1.0.12 @@ -7787,23 +7755,16 @@ packages: '@libp2p/ping': 1.0.10 '@libp2p/tcp': 9.0.12 '@libp2p/upnp-nat': 1.0.10 - '@libp2p/utils': 5.2.2 '@libp2p/webrtc': 4.0.16(react-native@0.73.2) '@libp2p/websockets': 8.0.12 '@libp2p/webtransport': 4.0.16 blockstore-core: 4.3.10 - cborg: 4.0.8 datastore-core: 9.2.7 interface-blockstore: 5.2.9 interface-datastore: 8.2.10 - interface-store: 5.1.7 - ipns: 8.0.4 - it-drain: 3.0.5 + ipns: 9.0.0 libp2p: 1.2.0 - mortice: 3.0.4 multiformats: 13.0.1 - progress-events: 1.0.0 - uint8arrays: 5.0.1 transitivePeerDependencies: - bufferutil - react-native @@ -8106,27 +8067,8 @@ packages: transitivePeerDependencies: - supports-color - /ipns@7.0.2: - resolution: {integrity: sha512-jsrIgsCmFZL/kATuO+4N5Oy3b4xhnO42N39nCLyhhC8NM+SZIxTmZmUSDU0GoI8Vn0X/Zy2Sj3Lxbhg3UlVMUA==} - dependencies: - '@libp2p/crypto': 2.0.8 - '@libp2p/interface': 0.1.6 - '@libp2p/logger': 3.1.0 - '@libp2p/peer-id': 3.0.6 - cborg: 4.0.8 - err-code: 3.0.1 - interface-datastore: 8.2.10 - multiformats: 12.1.3 - protons-runtime: 5.2.2 - timestamp-nano: 1.0.1 - uint8arraylist: 2.4.8 - uint8arrays: 5.0.1 - transitivePeerDependencies: - - supports-color - dev: false - - /ipns@8.0.4: - resolution: {integrity: sha512-iBrlCBm5fsMJW0BvVNwXLOadsyeTc9fz9PJAxJ3YggXgrx5T6lfRgVfTQsnYeByRADGfpWGOvW6zqnu8a3dcYw==} + /ipns@9.0.0: + resolution: {integrity: sha512-z/C/SfikvR23y0rhUOxL+zF5nG8bKv9xcdEcL8iO1IEnSBa0Y2pzke22V9YXw1r4uZ7CWukRQTC68+XHRu8y5Q==} dependencies: '@libp2p/crypto': 4.0.1 '@libp2p/interface': 1.1.2 @@ -9287,6 +9229,7 @@ packages: /long@5.2.3: resolution: {integrity: sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==} + dev: true /longest-streak@3.1.0: resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} @@ -11044,14 +10987,6 @@ packages: engines: {node: '>=18'} dev: true - /p-queue@7.4.1: - resolution: {integrity: sha512-vRpMXmIkYF2/1hLBKisKeVYJZ8S2tZ0zEAmIJgdVKP2nq0nh4qCdf8bgw+ZgKrkh71AOCaqzwbJJk1WtdcF3VA==} - engines: {node: '>=12'} - dependencies: - eventemitter3: 5.0.1 - p-timeout: 5.1.0 - dev: false - /p-queue@8.0.1: resolution: {integrity: sha512-NXzu9aQJTAzbBqOt2hwsR63ea7yvxJc0PwN/zobNAudYfb1B7R08SzB4TsLeSbUCuG467NhnoT0oO6w1qRO+BA==} engines: {node: '>=18'} @@ -11090,11 +11025,6 @@ packages: engines: {node: '>=8'} dev: true - /p-timeout@5.1.0: - resolution: {integrity: sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==} - engines: {node: '>=12'} - dev: false - /p-timeout@6.1.2: resolution: {integrity: sha512-UbD77BuZ9Bc9aABo74gfXhNvzC9Tx7SxtHSh1fxvx3jTLLYvmVhiQZZrJzqqU0jKbN32kb5VOKiLEQI/3bIjgQ==} engines: {node: '>=14.16'} @@ -11567,6 +11497,7 @@ packages: '@protobufjs/utf8': 1.1.0 '@types/node': 20.11.5 long: 5.2.3 + dev: true /protons-runtime@5.2.2: resolution: {integrity: sha512-o97rNPN9pE3cxOxjs/waZNRKlbY/DR11oc20rUvarWZgFzQLLLzJU0RFh5JPi6GJCN67VGVn9/FDIEtFblfB3A==} @@ -13371,6 +13302,7 @@ packages: resolution: {integrity: sha512-AnJNUGGDJAgFw/eWu/Xb9zrVKEGlwJJCaeInlf3BkecE/zcTobk5YXYIPNQJO1q5Hh1QZrQQHf0JvcHqz2hqoA==} dependencies: multiformats: 12.1.3 + dev: true /uint8arrays@5.0.1: resolution: {integrity: sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==}