From c5d031199f30653badbf86dcdea072af3ae27975 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 24 Jan 2023 18:07:21 +0000 Subject: [PATCH] fix(deps): update dependency webtorrent to v2 --- package-lock.json | 713 +++++++++------------------------------------- package.json | 2 +- 2 files changed, 137 insertions(+), 578 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8c737daf..e3910e6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "throttleit": "1.0.0", "thunky": "1.1.0", "upload-element": "1.0.1", - "webtorrent": "1.9.7" + "webtorrent": "2.0.0" }, "devDependencies": { "browserify": "17.0.0", @@ -482,6 +482,14 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "node_modules/base64-arraybuffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==", + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -520,11 +528,6 @@ "node": ">=8" } }, - "node_modules/binary-search": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/binary-search/-/binary-search-1.3.6.tgz", - "integrity": "sha512-nbE1WxOTTrUWIfsfZ4aHGYu5DOuNkbxGokjV6Z2kxfJK3uaAb8zNK1muzOeipoLHZjInT4Br88BHpzevc681xA==" - }, "node_modules/bitfield": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bitfield/-/bitfield-4.1.0.tgz", @@ -732,27 +735,6 @@ "resolved": "https://registry.npmjs.org/block-iterator/-/block-iterator-1.0.1.tgz", "integrity": "sha512-ral9Gh8BXqVkh4lnhLLL5QJ67+VMOBNzsHJZX4n+Pwer9bzcSM2ZOjTLMErkWWETvnis+ZP1a6EULebjEg3bTA==" }, - "node_modules/block-stream2": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/block-stream2/-/block-stream2-2.1.0.tgz", - "integrity": "sha512-suhjmLI57Ewpmq00qaygS8UgEq2ly2PCItenIyhMqVjo4t4pGzqMvfgJuX8iWTeSDdfSSqS6j38fL4ToNL7Pfg==", - "dependencies": { - "readable-stream": "^3.4.0" - } - }, - "node_modules/block-stream2/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/bn.js": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", @@ -1020,25 +1002,6 @@ "ieee754": "^1.1.4" } }, - "node_modules/buffer-alloc": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", - "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", - "dependencies": { - "buffer-alloc-unsafe": "^1.1.0", - "buffer-fill": "^1.0.0" - } - }, - "node_modules/buffer-alloc-unsafe": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", - "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==" - }, - "node_modules/buffer-fill": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", - "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=" - }, "node_modules/buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", @@ -1247,40 +1210,12 @@ "inherits": "^2.0.1" } }, - "node_modules/chunk-store-stream": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/chunk-store-stream/-/chunk-store-stream-4.3.0.tgz", - "integrity": "sha512-qby+/RXoiMoTVtPiylWZt7KFF1jy6M829TzMi2hxZtBIH9ptV19wxcft6zGiXLokJgCbuZPGNGab6DWHqiSEKw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "block-stream2": "^2.0.0", - "readable-stream": "^3.6.0" - } - }, - "node_modules/chunk-store-stream/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "node_modules/chunk-store-iterator": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/chunk-store-iterator/-/chunk-store-iterator-1.0.2.tgz", + "integrity": "sha512-lZK9wTO4H8UXHyPuLmnzjTnV/ns+4+ww9AUpQki55LKDVt+yAeMStgUyYuoIO3uWQG1YuW9LNDzfo6mleub9IA==", "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" + "block-iterator": "^1.0.0" } }, "node_modules/cipher-base": { @@ -2550,15 +2485,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, - "node_modules/fast-blob-stream": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/fast-blob-stream/-/fast-blob-stream-1.1.1.tgz", - "integrity": "sha512-wdRazMMeM2pl8hq1lFG8fzix8p1VLAJunTTE2RADiFBwbUfZwybUm6IwPrmMS7qTthiayr166NoXeqWe3hfR5w==", - "dependencies": { - "fast-readable-async-iterator": "^1.1.1", - "streamx": "^2.12.4" - } - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -2566,9 +2492,9 @@ "dev": true }, "node_modules/fast-fifo": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.0.0.tgz", - "integrity": "sha512-4VEXmjxLj7sbs8J//cn2qhRap50dGzF5n8fjay8mau+Jn4hxSeR3xPFwxMaQq/pDaq7+KQk0PAbC2+nWDkJrmQ==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.1.0.tgz", + "integrity": "sha512-Kl29QoNbNvn4nhDsLYjyIAaIqaJB6rBx5p3sL9VjaefJ+eMFBWVZiaoguaoZfzEKr5RhAti0UgM8703akGPJ6g==" }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", @@ -2747,6 +2673,11 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, + "node_modules/fsa-chunk-store": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/fsa-chunk-store/-/fsa-chunk-store-1.1.3.tgz", + "integrity": "sha512-0+VDtmDyu5tlWTyw9u6das6JWWHtlfrvbaQH51PJwuWQ6t7R/OL3u0MnzTi5km30k9dijMeBWXEvgXWvmE78VA==" + }, "node_modules/fsevents": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", @@ -3005,6 +2936,17 @@ "url": "https://github.com/sponsors/typicode" } }, + "node_modules/hybrid-chunk-store": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/hybrid-chunk-store/-/hybrid-chunk-store-1.1.3.tgz", + "integrity": "sha512-1y4+Z6ObOkuYTyxmHZ6zO4Pa2qIeK01ss2plzK2i7f3hI7YVB3mq9xa5sVB1y0N73HEAgE8vCxEPtjD1XnaYDg==", + "dependencies": { + "cache-chunk-store": "^3.2.2", + "fsa-chunk-store": "^1.1.3", + "idb-chunk-store": "^1.0.1", + "memory-chunk-store": "^1.3.5" + } + }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -3016,6 +2958,20 @@ "node": ">=0.10.0" } }, + "node_modules/idb": { + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/idb/-/idb-6.1.5.tgz", + "integrity": "sha512-IJtugpKkiVXQn5Y+LteyBCNk1N8xpGV3wWZk9EVtZWH8DYkjBn0bX1XnGP9RkyZF0sAcywa6unHqSWKe7q4LGw==" + }, + "node_modules/idb-chunk-store": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/idb-chunk-store/-/idb-chunk-store-1.0.1.tgz", + "integrity": "sha512-1OtzeUFLfvK/PSMPs6DJumwfgQgGDiYW2owxdAJpra44/EaXsGcrHzyvdTCTulzunS/xf22woZOIqyk2PfWWfA==", + "dependencies": { + "idb": "^6.1.2", + "queue-microtask": "^1.2.3" + } + }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -3208,11 +3164,6 @@ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "node_modules/is-ascii": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-ascii/-/is-ascii-1.0.0.tgz", - "integrity": "sha1-8CrQJZoJIc0Zn/Ic4bCeD2tOOSk=" - }, "node_modules/is-bigint": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.2.tgz", @@ -3815,43 +3766,6 @@ "node": ">= 0.6" } }, - "node_modules/mediasource": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/mediasource/-/mediasource-2.4.0.tgz", - "integrity": "sha512-SKUMrbFMHgiCUZFOWZcL0aiF/KgHx9SPIKzxrl6+7nMUMDK/ZnOmJdY/9wKzYeM0g3mybt3ueg+W+/mrYfmeFQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "to-arraybuffer": "^1.0.1" - } - }, - "node_modules/mediasource/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/memory-chunk-store": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/memory-chunk-store/-/memory-chunk-store-1.3.5.tgz", @@ -3999,38 +3913,6 @@ "node": ">= 0.8.0" } }, - "node_modules/mp4-box-encoding": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/mp4-box-encoding/-/mp4-box-encoding-1.4.1.tgz", - "integrity": "sha512-2/PRtGGiqPc/VEhbm7xAQ+gbb7yzHjjMAv6MpAifr5pCpbh3fQUdj93uNgwPiTppAGu8HFKe3PeU+OdRyAxStA==", - "dependencies": { - "uint64be": "^2.0.2" - } - }, - "node_modules/mp4-stream": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/mp4-stream/-/mp4-stream-3.1.3.tgz", - "integrity": "sha512-DUT8f0x2jHbZjNMdqe9h6lZdt6RENWTTdGn8z3TXa4uEsoltuNY9lCCij84mdm0q7xcV0E2W25WRxlKBMo4hSw==", - "dependencies": { - "mp4-box-encoding": "^1.3.0", - "next-event": "^1.0.0", - "queue-microtask": "^1.2.2", - "readable-stream": "^3.0.6" - } - }, - "node_modules/mp4-stream/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -4064,11 +3946,6 @@ "node": ">= 0.4.0" } }, - "node_modules/next-event": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/next-event/-/next-event-1.0.0.tgz", - "integrity": "sha1-53eKzeLlWALgrRh5w5z2917aYdg=" - }, "node_modules/node-gyp-build": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", @@ -4949,9 +4826,9 @@ ] }, "node_modules/queue-tick": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.0.tgz", - "integrity": "sha512-ULWhjjE8BmiICGn3G8+1L9wFpERNxkf8ysxkAer4+TFdRefDaXOCV5m92aMB9FtBVmn/8sETXLXY6BfW7hyaWQ==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", + "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==" }, "node_modules/random-access-file": { "version": "2.2.0", @@ -5001,27 +4878,6 @@ "node": ">= 0.6" } }, - "node_modules/range-slice-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/range-slice-stream/-/range-slice-stream-2.0.0.tgz", - "integrity": "sha512-PPYLwZ63lXi6Tv2EZ8w3M4FzC0rVqvxivaOVS8pXSp5FMIHFnvi4MWHL3UdFLhwSy50aNtJsgjY0mBC6oFL26Q==", - "dependencies": { - "readable-stream": "^3.0.2" - } - }, - "node_modules/range-slice-stream/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/raw-body": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", @@ -5161,32 +5017,6 @@ "url": "https://github.com/sponsors/mysticatea" } }, - "node_modules/render-media": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/render-media/-/render-media-4.1.0.tgz", - "integrity": "sha512-F5BMWDmgATEoyPCtKjmGNTGN1ghoZlfRQ3MJh8dS/MrvIUIxupiof/Y9uahChipXcqQ57twVbgMmyQmuO1vokw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "debug": "^4.2.0", - "is-ascii": "^1.0.0", - "mediasource": "^2.4.0", - "stream-to-blob-url": "^3.0.2", - "videostream": "^3.2.2" - } - }, "node_modules/request-ip": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/request-ip/-/request-ip-2.0.2.tgz", @@ -5947,79 +5777,13 @@ "readable-stream": "^2.0.2" } }, - "node_modules/stream-to-blob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/stream-to-blob/-/stream-to-blob-2.0.1.tgz", - "integrity": "sha512-GXlqXt3svqwIVWoICenix5Poxi4KbCF0BdXXUbpU1X4vq1V8wmjiEIU3aFJzCGNFpKxfbnG0uoowS3nKUgSPYg==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "engines": { - "node": ">=8" - } - }, - "node_modules/stream-to-blob-url": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/stream-to-blob-url/-/stream-to-blob-url-3.0.2.tgz", - "integrity": "sha512-PS6wT2ZyyR38Cy+lE6PBEI1ZmO2HdzZoLeDGG0zZbYikCZd0dh8FUoSeFzgWLItpBYw1WJmPVRLpykRV+lAWLQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "stream-to-blob": "^2.0.0" - } - }, - "node_modules/stream-with-known-length-to-buffer": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/stream-with-known-length-to-buffer/-/stream-with-known-length-to-buffer-1.0.4.tgz", - "integrity": "sha512-ztP79ug6S+I7td0Nd2GBeIKCm+vA54c+e60FY87metz5n/l6ydPELd2lxsljz8OpIhsRM9HkIiAwz85+S5G5/A==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "once": "^1.4.0" - } - }, "node_modules/streamx": { - "version": "2.12.5", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.12.5.tgz", - "integrity": "sha512-Y+nkFw57Z5JHT3zLlqFm3GccOy2FeYdUrrqita6Dd8kr/8enPn9GKa8IYf3/DmEKfZl/E2sWoSKUnd4qhonrgg==", + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.13.2.tgz", + "integrity": "sha512-+TWqixPhGDXEG9L/XczSbhfkmwAtGs3BJX5QNU6cvno+pOLKeszByWcnaTu6dg8efsTYqR8ZZuXWHhZfgrxMvA==", "dependencies": { - "fast-fifo": "^1.0.0", - "queue-tick": "^1.0.0" + "fast-fifo": "^1.1.0", + "queue-tick": "^1.0.1" } }, "node_modules/string_decoder": { @@ -6302,11 +6066,6 @@ "node": ">=0.6.0" } }, - "node_modules/to-arraybuffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", - "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=" - }, "node_modules/to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -6460,12 +6219,12 @@ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", "dev": true }, - "node_modules/uint64be": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/uint64be/-/uint64be-2.0.2.tgz", - "integrity": "sha512-9QqdvpGQTXgxthP+lY4e/gIBy+RuqcBaC6JVwT5I3bDLgT/btL6twZMR0pI3/Fgah9G/pdwzIprE5gL6v9UvyQ==", + "node_modules/uint8-util": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/uint8-util/-/uint8-util-2.1.4.tgz", + "integrity": "sha512-qIC/jnpcp8yW3NIfBr8p6EWr9o5pMPL3OpiFGwUr9oim3hCKYwQC9taQXiy/RNVywwsrEDCR4H9P0Od1TX6Q2Q==", "dependencies": { - "buffer-alloc": "^1.1.0" + "base64-arraybuffer": "^1.0.2" } }, "node_modules/umd": { @@ -6548,9 +6307,9 @@ } }, "node_modules/uri-js/node_modules/punycode": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.2.0.tgz", - "integrity": "sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", "dev": true, "engines": { "node": ">=6" @@ -6712,33 +6471,6 @@ "node": ">= 0.8" } }, - "node_modules/videostream": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/videostream/-/videostream-3.2.2.tgz", - "integrity": "sha512-4tz23yGGeATmbzj/ZnUm6wgQ4E1lzmMXu2mUA/c0G6adtWKxm1Di5YejdZdRsK6SdkLjKjhplFFYT7r+UUDKvA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "binary-search": "^1.3.4", - "mediasource": "^2.2.2", - "mp4-box-encoding": "^1.3.0", - "mp4-stream": "^3.0.0", - "pump": "^3.0.0", - "range-slice-stream": "^2.0.0" - } - }, "node_modules/vm-browserify": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", @@ -6798,9 +6530,9 @@ } }, "node_modules/webtorrent": { - "version": "1.9.7", - "resolved": "https://registry.npmjs.org/webtorrent/-/webtorrent-1.9.7.tgz", - "integrity": "sha512-N+hRuVctWviTAYem/sI6tuFP2J/Rn3/ETEh++7GnJv6Oro49kDjcPuz1W6s+vfS65xKr3Eh4HMuxf3hH82LGfg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/webtorrent/-/webtorrent-2.0.0.tgz", + "integrity": "sha512-I5FhzP5C/gKtvUI+1TsvZF0IG5g2Ph0Qp/wD3VssVUjyyZ7hWIqSNku2Go1t5o9T8Lk7L2pnLcmLckfOIW5FqQ==", "funding": [ { "type": "github", @@ -6822,15 +6554,13 @@ "bittorrent-dht": "^10.0.7", "bittorrent-protocol": "^3.5.5", "cache-chunk-store": "^3.2.2", - "chrome-net": "^3.3.4", - "chunk-store-stream": "^4.3.0", + "chunk-store-iterator": "^1.0.2", "cpus": "^1.0.3", "create-torrent": "^5.0.9", "debug": "^4.3.4", - "end-of-stream": "^1.4.4", "escape-html": "^1.0.3", - "fast-blob-stream": "^1.1.1", "fs-chunk-store": "^3.0.1", + "hybrid-chunk-store": "^1.1.2", "immediate-chunk-store": "^2.2.0", "join-async-iterator": "^1.1.1", "load-ip-set": "^2.2.1", @@ -6844,19 +6574,17 @@ "random-iterate": "^1.0.1", "randombytes": "^2.1.0", "range-parser": "^1.2.1", - "render-media": "^4.1.0", "run-parallel": "^1.2.0", "run-parallel-limit": "^1.1.0", "simple-concat": "^1.0.1", "simple-get": "^4.0.1", "simple-peer": "^9.11.1", - "simple-sha1": "^3.1.0", "speed-limiter": "^1.0.2", - "stream-with-known-length-to-buffer": "^1.0.4", - "streamx": "^2.12.5", + "streamx": "^2.13.2", "throughput": "^1.0.1", "torrent-discovery": "^9.4.15", "torrent-piece": "^2.0.1", + "uint8-util": "^2.1.4", "unordered-array-remove": "^1.0.2", "ut_metadata": "^3.5.2", "ut_pex": "^3.0.2" @@ -7388,6 +7116,11 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "base64-arraybuffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==" + }, "base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -7409,11 +7142,6 @@ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "dev": true }, - "binary-search": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/binary-search/-/binary-search-1.3.6.tgz", - "integrity": "sha512-nbE1WxOTTrUWIfsfZ4aHGYu5DOuNkbxGokjV6Z2kxfJK3uaAb8zNK1muzOeipoLHZjInT4Br88BHpzevc681xA==" - }, "bitfield": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bitfield/-/bitfield-4.1.0.tgz", @@ -7519,26 +7247,6 @@ "resolved": "https://registry.npmjs.org/block-iterator/-/block-iterator-1.0.1.tgz", "integrity": "sha512-ral9Gh8BXqVkh4lnhLLL5QJ67+VMOBNzsHJZX4n+Pwer9bzcSM2ZOjTLMErkWWETvnis+ZP1a6EULebjEg3bTA==" }, - "block-stream2": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/block-stream2/-/block-stream2-2.1.0.tgz", - "integrity": "sha512-suhjmLI57Ewpmq00qaygS8UgEq2ly2PCItenIyhMqVjo4t4pGzqMvfgJuX8iWTeSDdfSSqS6j38fL4ToNL7Pfg==", - "requires": { - "readable-stream": "^3.4.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, "bn.js": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", @@ -7788,25 +7496,6 @@ "ieee754": "^1.1.4" } }, - "buffer-alloc": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", - "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", - "requires": { - "buffer-alloc-unsafe": "^1.1.0", - "buffer-fill": "^1.0.0" - } - }, - "buffer-alloc-unsafe": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", - "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==" - }, - "buffer-fill": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", - "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=" - }, "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", @@ -7945,25 +7634,12 @@ "inherits": "^2.0.1" } }, - "chunk-store-stream": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/chunk-store-stream/-/chunk-store-stream-4.3.0.tgz", - "integrity": "sha512-qby+/RXoiMoTVtPiylWZt7KFF1jy6M829TzMi2hxZtBIH9ptV19wxcft6zGiXLokJgCbuZPGNGab6DWHqiSEKw==", + "chunk-store-iterator": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/chunk-store-iterator/-/chunk-store-iterator-1.0.2.tgz", + "integrity": "sha512-lZK9wTO4H8UXHyPuLmnzjTnV/ns+4+ww9AUpQki55LKDVt+yAeMStgUyYuoIO3uWQG1YuW9LNDzfo6mleub9IA==", "requires": { - "block-stream2": "^2.0.0", - "readable-stream": "^3.6.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } + "block-iterator": "^1.0.0" } }, "cipher-base": { @@ -8957,15 +8633,6 @@ } } }, - "fast-blob-stream": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/fast-blob-stream/-/fast-blob-stream-1.1.1.tgz", - "integrity": "sha512-wdRazMMeM2pl8hq1lFG8fzix8p1VLAJunTTE2RADiFBwbUfZwybUm6IwPrmMS7qTthiayr166NoXeqWe3hfR5w==", - "requires": { - "fast-readable-async-iterator": "^1.1.1", - "streamx": "^2.12.4" - } - }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -8973,9 +8640,9 @@ "dev": true }, "fast-fifo": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.0.0.tgz", - "integrity": "sha512-4VEXmjxLj7sbs8J//cn2qhRap50dGzF5n8fjay8mau+Jn4hxSeR3xPFwxMaQq/pDaq7+KQk0PAbC2+nWDkJrmQ==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.1.0.tgz", + "integrity": "sha512-Kl29QoNbNvn4nhDsLYjyIAaIqaJB6rBx5p3sL9VjaefJ+eMFBWVZiaoguaoZfzEKr5RhAti0UgM8703akGPJ6g==" }, "fast-json-stable-stringify": { "version": "2.1.0", @@ -9121,6 +8788,11 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, + "fsa-chunk-store": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/fsa-chunk-store/-/fsa-chunk-store-1.1.3.tgz", + "integrity": "sha512-0+VDtmDyu5tlWTyw9u6das6JWWHtlfrvbaQH51PJwuWQ6t7R/OL3u0MnzTi5km30k9dijMeBWXEvgXWvmE78VA==" + }, "fsevents": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", @@ -9314,6 +8986,17 @@ "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", "dev": true }, + "hybrid-chunk-store": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/hybrid-chunk-store/-/hybrid-chunk-store-1.1.3.tgz", + "integrity": "sha512-1y4+Z6ObOkuYTyxmHZ6zO4Pa2qIeK01ss2plzK2i7f3hI7YVB3mq9xa5sVB1y0N73HEAgE8vCxEPtjD1XnaYDg==", + "requires": { + "cache-chunk-store": "^3.2.2", + "fsa-chunk-store": "^1.1.3", + "idb-chunk-store": "^1.0.1", + "memory-chunk-store": "^1.3.5" + } + }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -9322,6 +9005,20 @@ "safer-buffer": ">= 2.1.2 < 3" } }, + "idb": { + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/idb/-/idb-6.1.5.tgz", + "integrity": "sha512-IJtugpKkiVXQn5Y+LteyBCNk1N8xpGV3wWZk9EVtZWH8DYkjBn0bX1XnGP9RkyZF0sAcywa6unHqSWKe7q4LGw==" + }, + "idb-chunk-store": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/idb-chunk-store/-/idb-chunk-store-1.0.1.tgz", + "integrity": "sha512-1OtzeUFLfvK/PSMPs6DJumwfgQgGDiYW2owxdAJpra44/EaXsGcrHzyvdTCTulzunS/xf22woZOIqyk2PfWWfA==", + "requires": { + "idb": "^6.1.2", + "queue-microtask": "^1.2.3" + } + }, "ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -9459,11 +9156,6 @@ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "is-ascii": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-ascii/-/is-ascii-1.0.0.tgz", - "integrity": "sha1-8CrQJZoJIc0Zn/Ic4bCeD2tOOSk=" - }, "is-bigint": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.2.tgz", @@ -9904,28 +9596,6 @@ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" }, - "mediasource": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/mediasource/-/mediasource-2.4.0.tgz", - "integrity": "sha512-SKUMrbFMHgiCUZFOWZcL0aiF/KgHx9SPIKzxrl6+7nMUMDK/ZnOmJdY/9wKzYeM0g3mybt3ueg+W+/mrYfmeFQ==", - "requires": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "to-arraybuffer": "^1.0.1" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, "memory-chunk-store": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/memory-chunk-store/-/memory-chunk-store-1.3.5.tgz", @@ -10039,37 +9709,6 @@ "xtend": "^4.0.0" } }, - "mp4-box-encoding": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/mp4-box-encoding/-/mp4-box-encoding-1.4.1.tgz", - "integrity": "sha512-2/PRtGGiqPc/VEhbm7xAQ+gbb7yzHjjMAv6MpAifr5pCpbh3fQUdj93uNgwPiTppAGu8HFKe3PeU+OdRyAxStA==", - "requires": { - "uint64be": "^2.0.2" - } - }, - "mp4-stream": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/mp4-stream/-/mp4-stream-3.1.3.tgz", - "integrity": "sha512-DUT8f0x2jHbZjNMdqe9h6lZdt6RENWTTdGn8z3TXa4uEsoltuNY9lCCij84mdm0q7xcV0E2W25WRxlKBMo4hSw==", - "requires": { - "mp4-box-encoding": "^1.3.0", - "next-event": "^1.0.0", - "queue-microtask": "^1.2.2", - "readable-stream": "^3.0.6" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -10097,11 +9736,6 @@ "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==" }, - "next-event": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/next-event/-/next-event-1.0.0.tgz", - "integrity": "sha1-53eKzeLlWALgrRh5w5z2917aYdg=" - }, "node-gyp-build": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", @@ -10789,9 +10423,9 @@ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" }, "queue-tick": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.0.tgz", - "integrity": "sha512-ULWhjjE8BmiICGn3G8+1L9wFpERNxkf8ysxkAer4+TFdRefDaXOCV5m92aMB9FtBVmn/8sETXLXY6BfW7hyaWQ==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", + "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==" }, "random-access-file": { "version": "2.2.0", @@ -10838,26 +10472,6 @@ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" }, - "range-slice-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/range-slice-stream/-/range-slice-stream-2.0.0.tgz", - "integrity": "sha512-PPYLwZ63lXi6Tv2EZ8w3M4FzC0rVqvxivaOVS8pXSp5FMIHFnvi4MWHL3UdFLhwSy50aNtJsgjY0mBC6oFL26Q==", - "requires": { - "readable-stream": "^3.0.2" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, "raw-body": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", @@ -10971,18 +10585,6 @@ "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", "dev": true }, - "render-media": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/render-media/-/render-media-4.1.0.tgz", - "integrity": "sha512-F5BMWDmgATEoyPCtKjmGNTGN1ghoZlfRQ3MJh8dS/MrvIUIxupiof/Y9uahChipXcqQ57twVbgMmyQmuO1vokw==", - "requires": { - "debug": "^4.2.0", - "is-ascii": "^1.0.0", - "mediasource": "^2.4.0", - "stream-to-blob-url": "^3.0.2", - "videostream": "^3.2.2" - } - }, "request-ip": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/request-ip/-/request-ip-2.0.2.tgz", @@ -11523,34 +11125,13 @@ "readable-stream": "^2.0.2" } }, - "stream-to-blob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/stream-to-blob/-/stream-to-blob-2.0.1.tgz", - "integrity": "sha512-GXlqXt3svqwIVWoICenix5Poxi4KbCF0BdXXUbpU1X4vq1V8wmjiEIU3aFJzCGNFpKxfbnG0uoowS3nKUgSPYg==" - }, - "stream-to-blob-url": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/stream-to-blob-url/-/stream-to-blob-url-3.0.2.tgz", - "integrity": "sha512-PS6wT2ZyyR38Cy+lE6PBEI1ZmO2HdzZoLeDGG0zZbYikCZd0dh8FUoSeFzgWLItpBYw1WJmPVRLpykRV+lAWLQ==", - "requires": { - "stream-to-blob": "^2.0.0" - } - }, - "stream-with-known-length-to-buffer": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/stream-with-known-length-to-buffer/-/stream-with-known-length-to-buffer-1.0.4.tgz", - "integrity": "sha512-ztP79ug6S+I7td0Nd2GBeIKCm+vA54c+e60FY87metz5n/l6ydPELd2lxsljz8OpIhsRM9HkIiAwz85+S5G5/A==", - "requires": { - "once": "^1.4.0" - } - }, "streamx": { - "version": "2.12.5", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.12.5.tgz", - "integrity": "sha512-Y+nkFw57Z5JHT3zLlqFm3GccOy2FeYdUrrqita6Dd8kr/8enPn9GKa8IYf3/DmEKfZl/E2sWoSKUnd4qhonrgg==", + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.13.2.tgz", + "integrity": "sha512-+TWqixPhGDXEG9L/XczSbhfkmwAtGs3BJX5QNU6cvno+pOLKeszByWcnaTu6dg8efsTYqR8ZZuXWHhZfgrxMvA==", "requires": { - "fast-fifo": "^1.0.0", - "queue-tick": "^1.0.0" + "fast-fifo": "^1.1.0", + "queue-tick": "^1.0.1" } }, "string_decoder": { @@ -11784,11 +11365,6 @@ "process": "~0.11.0" } }, - "to-arraybuffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", - "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=" - }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -11893,12 +11469,12 @@ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", "dev": true }, - "uint64be": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/uint64be/-/uint64be-2.0.2.tgz", - "integrity": "sha512-9QqdvpGQTXgxthP+lY4e/gIBy+RuqcBaC6JVwT5I3bDLgT/btL6twZMR0pI3/Fgah9G/pdwzIprE5gL6v9UvyQ==", + "uint8-util": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/uint8-util/-/uint8-util-2.1.4.tgz", + "integrity": "sha512-qIC/jnpcp8yW3NIfBr8p6EWr9o5pMPL3OpiFGwUr9oim3hCKYwQC9taQXiy/RNVywwsrEDCR4H9P0Od1TX6Q2Q==", "requires": { - "buffer-alloc": "^1.1.0" + "base64-arraybuffer": "^1.0.2" } }, "umd": { @@ -11969,9 +11545,9 @@ }, "dependencies": { "punycode": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.2.0.tgz", - "integrity": "sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", "dev": true } } @@ -12086,19 +11662,6 @@ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" }, - "videostream": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/videostream/-/videostream-3.2.2.tgz", - "integrity": "sha512-4tz23yGGeATmbzj/ZnUm6wgQ4E1lzmMXu2mUA/c0G6adtWKxm1Di5YejdZdRsK6SdkLjKjhplFFYT7r+UUDKvA==", - "requires": { - "binary-search": "^1.3.4", - "mediasource": "^2.2.2", - "mp4-box-encoding": "^1.3.0", - "mp4-stream": "^3.0.0", - "pump": "^3.0.0", - "range-slice-stream": "^2.0.0" - } - }, "vm-browserify": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", @@ -12148,9 +11711,9 @@ } }, "webtorrent": { - "version": "1.9.7", - "resolved": "https://registry.npmjs.org/webtorrent/-/webtorrent-1.9.7.tgz", - "integrity": "sha512-N+hRuVctWviTAYem/sI6tuFP2J/Rn3/ETEh++7GnJv6Oro49kDjcPuz1W6s+vfS65xKr3Eh4HMuxf3hH82LGfg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/webtorrent/-/webtorrent-2.0.0.tgz", + "integrity": "sha512-I5FhzP5C/gKtvUI+1TsvZF0IG5g2Ph0Qp/wD3VssVUjyyZ7hWIqSNku2Go1t5o9T8Lk7L2pnLcmLckfOIW5FqQ==", "requires": { "@webtorrent/http-node": "^1.3.0", "addr-to-ip-port": "^1.5.4", @@ -12158,15 +11721,13 @@ "bittorrent-dht": "^10.0.7", "bittorrent-protocol": "^3.5.5", "cache-chunk-store": "^3.2.2", - "chrome-net": "^3.3.4", - "chunk-store-stream": "^4.3.0", + "chunk-store-iterator": "^1.0.2", "cpus": "^1.0.3", "create-torrent": "^5.0.9", "debug": "^4.3.4", - "end-of-stream": "^1.4.4", "escape-html": "^1.0.3", - "fast-blob-stream": "^1.1.1", "fs-chunk-store": "^3.0.1", + "hybrid-chunk-store": "^1.1.2", "immediate-chunk-store": "^2.2.0", "join-async-iterator": "^1.1.1", "load-ip-set": "^2.2.1", @@ -12180,19 +11741,17 @@ "random-iterate": "^1.0.1", "randombytes": "^2.1.0", "range-parser": "^1.2.1", - "render-media": "^4.1.0", "run-parallel": "^1.2.0", "run-parallel-limit": "^1.1.0", "simple-concat": "^1.0.1", "simple-get": "^4.0.1", "simple-peer": "^9.11.1", - "simple-sha1": "^3.1.0", "speed-limiter": "^1.0.2", - "stream-with-known-length-to-buffer": "^1.0.4", - "streamx": "^2.12.5", + "streamx": "^2.13.2", "throughput": "^1.0.1", "torrent-discovery": "^9.4.15", "torrent-piece": "^2.0.1", + "uint8-util": "^2.1.4", "unordered-array-remove": "^1.0.2", "ut_metadata": "^3.5.2", "ut_pex": "^3.0.2", diff --git a/package.json b/package.json index 8197381a..1d66a708 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "throttleit": "1.0.0", "thunky": "1.1.0", "upload-element": "1.0.1", - "webtorrent": "1.9.7" + "webtorrent": "2.0.0" }, "devDependencies": { "browserify": "17.0.0",