From 9a14429da4ffcdbaf292efb4f0f428dff6c18f21 Mon Sep 17 00:00:00 2001 From: Igor Zolotarenko Date: Wed, 11 Oct 2023 14:49:22 +0300 Subject: [PATCH] Install node types. Patch bittorrent-tracker. Remove modules ignoring for browsers in bittorrent-tracker package.json. --- package.json | 6 + packages/p2p-media-loader-core/package.json | 2 +- patches/bittorrent-tracker@10.0.12.patch | 138 ++++++++++++++++ pnpm-lock.yaml | 168 +++++++++++++------- 4 files changed, 258 insertions(+), 56 deletions(-) create mode 100644 patches/bittorrent-tracker@10.0.12.patch diff --git a/package.json b/package.json index d03156ac..dda489bb 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ }, "devDependencies": { "@types/debug": "^4.1.8", + "@types/node": "^20.8.4", "@typescript-eslint/eslint-plugin": "^5.59.2", "@typescript-eslint/parser": "^5.59.2", "eslint": "^8.39.0", @@ -26,5 +27,10 @@ }, "dependencies": { "debug": "^4.3.4" + }, + "pnpm": { + "patchedDependencies": { + "bittorrent-tracker@10.0.12": "patches/bittorrent-tracker@10.0.12.patch" + } } } diff --git a/packages/p2p-media-loader-core/package.json b/packages/p2p-media-loader-core/package.json index 9d907e44..716f9a4f 100644 --- a/packages/p2p-media-loader-core/package.json +++ b/packages/p2p-media-loader-core/package.json @@ -28,6 +28,6 @@ "type-check": "npx tsc --noEmit" }, "dependencies": { - "bittorrent-tracker": "^9.19.0" + "bittorrent-tracker": "10.0.12" } } diff --git a/patches/bittorrent-tracker@10.0.12.patch b/patches/bittorrent-tracker@10.0.12.patch new file mode 100644 index 00000000..c8507428 --- /dev/null +++ b/patches/bittorrent-tracker@10.0.12.patch @@ -0,0 +1,138 @@ +diff --git a/.idea/.gitignore b/.idea/.gitignore +new file mode 100644 +index 0000000000000000000000000000000000000000..b58b603fea78041071d125a30db58d79b3d49217 +--- /dev/null ++++ b/.idea/.gitignore +@@ -0,0 +1,5 @@ ++# Default ignored files ++/shelf/ ++/workspace.xml ++# Editor-based HTTP Client requests ++/httpRequests/ +diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml +new file mode 100644 +index 0000000000000000000000000000000000000000..54ecbb2b9134d6a566fcd38f6f3c390218f5498b +--- /dev/null ++++ b/.idea/codeStyles/Project.xml +@@ -0,0 +1,44 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +\ No newline at end of file +diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml +new file mode 100644 +index 0000000000000000000000000000000000000000..79ee123c2b23e069e35ed634d687e17f731cc702 +--- /dev/null ++++ b/.idea/codeStyles/codeStyleConfig.xml +@@ -0,0 +1,5 @@ ++ ++ ++ ++ +\ No newline at end of file +diff --git a/.idea/e50e68725add4f8d6518bfa3a5479dee.iml b/.idea/e50e68725add4f8d6518bfa3a5479dee.iml +new file mode 100644 +index 0000000000000000000000000000000000000000..ebbda94b7d0f898ddad4c9aa59459fc21676874c +--- /dev/null ++++ b/.idea/e50e68725add4f8d6518bfa3a5479dee.iml +@@ -0,0 +1,15 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +\ No newline at end of file +diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml +new file mode 100644 +index 0000000000000000000000000000000000000000..0be03f464545c7fdfc45458031b80a2b1b9bff17 +--- /dev/null ++++ b/.idea/inspectionProfiles/Project_Default.xml +@@ -0,0 +1,6 @@ ++ ++ ++ ++ +\ No newline at end of file +diff --git a/.idea/modules.xml b/.idea/modules.xml +new file mode 100644 +index 0000000000000000000000000000000000000000..1481ef72f8fc054af042eea2e463400b7aabea70 +--- /dev/null ++++ b/.idea/modules.xml +@@ -0,0 +1,8 @@ ++ ++ ++ ++ ++ ++ ++ ++ +\ No newline at end of file +diff --git a/package.json b/package.json +index 9d537a8a1dd93687f4535bf2882b7b80139ec594..fe85f2f94b6d98f98ac926223ad077368ab80561 100644 +--- a/package.json ++++ b/package.json +@@ -12,9 +12,6 @@ + }, + "browser": { + "./lib/common-node.js": false, +- "./lib/client/http-tracker.js": false, +- "./lib/client/udp-tracker.js": false, +- "./server.js": false, + "socks": false + }, + "chromeapp": { \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c8240382..101654d0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,10 @@ lockfileVersion: '6.0' +patchedDependencies: + bittorrent-tracker@10.0.12: + hash: 3bacck7ok4ioq2ztv47aeh7t7e + path: patches/bittorrent-tracker@10.0.12.patch + importers: .: @@ -11,6 +16,9 @@ importers: '@types/debug': specifier: ^4.1.8 version: 4.1.8 + '@types/node': + specifier: ^20.8.4 + version: 20.8.4 '@typescript-eslint/eslint-plugin': specifier: ^5.59.2 version: 5.59.2(@typescript-eslint/parser@5.59.2)(eslint@8.39.0)(typescript@5.0.2) @@ -34,7 +42,7 @@ importers: version: 5.0.2 vite: specifier: ^4.3.2 - version: 4.3.2 + version: 4.3.2(@types/node@20.8.4) p2p-media-loader-demo: dependencies: @@ -88,8 +96,8 @@ importers: packages/p2p-media-loader-core: dependencies: bittorrent-tracker: - specifier: ^9.19.0 - version: 9.19.0 + specifier: 10.0.12 + version: 10.0.12(patch_hash=3bacck7ok4ioq2ztv47aeh7t7e) packages/p2p-media-loader-hlsjs: dependencies: @@ -703,6 +711,33 @@ packages: picomatch: 2.3.1 dev: true + /@thaunknown/simple-peer@9.12.1: + resolution: {integrity: sha512-IS5BXvXx7cvBAzaxqotJf4s4rJCPk5JABLK6Gbnn7oAmWVcH4hYABabBBrvvJtv/xyUqR4v/H3LalnGRJJfEog==} + dependencies: + debug: 4.3.4 + err-code: 3.0.1 + get-browser-rtc: 1.1.0 + queue-microtask: 1.2.3 + streamx: 2.15.1 + uint8-util: 2.2.4 + transitivePeerDependencies: + - supports-color + dev: false + + /@thaunknown/simple-websocket@9.1.1(bufferutil@4.0.7)(utf-8-validate@5.0.10): + resolution: {integrity: sha512-vzQloFWRodRZqZhpxMpBljFtISesY8TihA8T5uKwCYdj2I1ImMhE/gAeTCPsCGOtxJfGKu3hw/is6MXauWLjOg==} + dependencies: + debug: 4.3.4 + queue-microtask: 1.2.3 + streamx: 2.15.1 + uint8-util: 2.2.4 + ws: 8.14.2(bufferutil@4.0.7)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + dev: false + /@types/debug@4.1.8: resolution: {integrity: sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==} dependencies: @@ -725,6 +760,12 @@ packages: resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==} dev: true + /@types/node@20.8.4: + resolution: {integrity: sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A==} + dependencies: + undici-types: 5.25.3 + dev: true + /@types/prop-types@15.7.5: resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} dev: true @@ -891,7 +932,7 @@ packages: '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.22.5) '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.22.5) react-refresh: 0.14.0 - vite: 4.3.2 + vite: 4.3.2(@types/node@20.8.4) transitivePeerDependencies: - supports-color dev: true @@ -910,8 +951,9 @@ packages: hasBin: true dev: true - /addr-to-ip-port@1.5.4: - resolution: {integrity: sha512-ByxmJgv8vjmDcl3IDToxL2yrWFrRtFpZAToY0f46XFXl8zS081t7El5MXIodwm7RC6DhHBRoOSMLFSPKCtHukg==} + /addr-to-ip-port@2.0.0: + resolution: {integrity: sha512-9bYbtjamtdLHZSqVIUXhilOryNPiL+x+Q5J/Unpg4VY3ZIkK3fT52UoErj1NdUeVm3J1t2iBEAur4Ywbl/bahw==} + engines: {node: '>=12.20.0'} dev: false /ajv@6.12.6: @@ -1007,25 +1049,35 @@ packages: resolution: {integrity: sha512-urXwkHgwp6GsXVF+it01485Z2Cj4pnW02ICnM0TemOlkKmCNnDLmyy+ZZiRXBpwldUXO+aRNr7Hdia4CBvXJ5A==} dev: false + /base64-arraybuffer@1.0.2: + resolution: {integrity: sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==} + engines: {node: '>= 0.6.0'} + dev: false + /base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + dev: true - /bencode@2.0.3: - resolution: {integrity: sha512-D/vrAD4dLVX23NalHwb8dSvsUsxeRPO8Y7ToKA015JQYq69MLDOMkC0uGZYA/MPpltLO8rt8eqFC2j8DxjTZ/w==} + /bencode@4.0.0: + resolution: {integrity: sha512-AERXw18df0pF3ziGOCyUjqKZBVNH8HV3lBxnx5w0qtgMIk4a1wb9BkcCQbkp9Zstfrn/dzRwl7MmUHHocX3sRQ==} + engines: {node: '>=12.20.0'} + dependencies: + uint8-util: 2.2.4 dev: false /bittorrent-peerid@1.3.6: resolution: {integrity: sha512-VyLcUjVMEOdSpHaCG/7odvCdLbAB1y3l9A2V6WIje24uV7FkJPrQrH/RrlFmKxP89pFVDEnE+YlHaFujlFIZsg==} dev: false - /bittorrent-tracker@9.19.0: - resolution: {integrity: sha512-09d0aD2b+MC+zWvWajkUAKkYMynYW4tMbTKiRSthKtJZbafzEoNQSUHyND24SoCe3ZOb2fKfa6fu2INAESL9wA==} - engines: {node: '>=12'} + /bittorrent-tracker@10.0.12(patch_hash=3bacck7ok4ioq2ztv47aeh7t7e): + resolution: {integrity: sha512-EYQEwhOYkrRiiwkCFcM9pbzJInsAe7UVmUgevW133duwlZzjwf5ABwDE7pkkmNRS6iwN0b8LbI/94q16dYqiow==} + engines: {node: '>=12.20.0'} hasBin: true dependencies: - bencode: 2.0.3 + '@thaunknown/simple-peer': 9.12.1 + '@thaunknown/simple-websocket': 9.1.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) + bencode: 4.0.0 bittorrent-peerid: 1.3.6 - bn.js: 5.2.1 chrome-dgram: 3.0.6 clone: 2.1.2 compact2string: 1.4.1 @@ -1036,22 +1088,21 @@ packages: once: 1.4.0 queue-microtask: 1.2.3 random-iterate: 1.0.1 - randombytes: 2.1.0 run-parallel: 1.2.0 run-series: 1.1.9 simple-get: 4.0.1 - simple-peer: 9.11.1 - simple-websocket: 9.1.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) socks: 2.7.1 - string2compact: 1.3.2 + string2compact: 2.0.1 + uint8-util: 2.2.4 unordered-array-remove: 1.0.2 - ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) + ws: 8.14.2(bufferutil@4.0.7)(utf-8-validate@5.0.10) optionalDependencies: bufferutil: 4.0.7 utf-8-validate: 5.0.10 transitivePeerDependencies: - supports-color dev: false + patched: true /bn.js@4.12.0: resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} @@ -1059,6 +1110,7 @@ packages: /bn.js@5.2.1: resolution: {integrity: sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==} + dev: true /brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} @@ -1172,6 +1224,7 @@ packages: dependencies: base64-js: 1.5.1 ieee754: 1.2.1 + dev: true /bufferutil@4.0.7: resolution: {integrity: sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==} @@ -1687,6 +1740,10 @@ packages: resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} dev: true + /fast-fifo@1.3.2: + resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==} + dev: false + /fast-glob@3.2.12: resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} engines: {node: '>=8.6.0'} @@ -1967,6 +2024,7 @@ packages: /ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} + dev: true /ignore@5.2.4: resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} @@ -2557,6 +2615,10 @@ packages: /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + /queue-tick@1.0.1: + resolution: {integrity: sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==} + dev: false + /random-iterate@1.0.1: resolution: {integrity: sha512-Jdsdnezu913Ot8qgKgSgs63XkAjEsnMcS1z+cC6D6TNXsUXsMxy0RpclF2pzGZTEiTXL9BiArdGTEexcv4nqcA==} dev: false @@ -2565,6 +2627,7 @@ packages: resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} dependencies: safe-buffer: 5.2.1 + dev: true /randomfill@1.0.4: resolution: {integrity: sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==} @@ -2602,6 +2665,7 @@ packages: inherits: 2.0.4 string_decoder: 1.3.0 util-deprecate: 1.0.2 + dev: true /regenerator-runtime@0.13.11: resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} @@ -2667,6 +2731,7 @@ packages: /safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + dev: true /safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} @@ -2747,34 +2812,6 @@ packages: simple-concat: 1.0.1 dev: false - /simple-peer@9.11.1: - resolution: {integrity: sha512-D1SaWpOW8afq1CZGWB8xTfrT3FekjQmPValrqncJMX7QFl8YwhrPTZvMCANLtgBwwdS+7zURyqxDDEmY558tTw==} - dependencies: - buffer: 6.0.3 - debug: 4.3.4 - err-code: 3.0.1 - get-browser-rtc: 1.1.0 - queue-microtask: 1.2.3 - randombytes: 2.1.0 - readable-stream: 3.6.2 - transitivePeerDependencies: - - supports-color - dev: false - - /simple-websocket@9.1.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): - resolution: {integrity: sha512-8MJPnjRN6A8UCp1I+H/dSFyjwJhp6wta4hsVRhjf8w9qBHRzxYt14RaOcjvQnhD1N4yKOddEjflwMnQM4VtXjQ==} - dependencies: - debug: 4.3.4 - queue-microtask: 1.2.3 - randombytes: 2.1.0 - readable-stream: 3.6.2 - ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - dev: false - /slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -2814,6 +2851,13 @@ packages: xtend: 4.0.2 dev: true + /streamx@2.15.1: + resolution: {integrity: sha512-fQMzy2O/Q47rgwErk/eGeLu/roaFWV0jVsogDmrszM9uIw8L5OA+t+V93MgYlufNptfjmYR1tOMWhei/Eh7TQA==} + dependencies: + fast-fifo: 1.3.2 + queue-tick: 1.0.1 + dev: false + /string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -2832,10 +2876,11 @@ packages: strip-ansi: 7.1.0 dev: true - /string2compact@1.3.2: - resolution: {integrity: sha512-3XUxUgwhj7Eqh2djae35QHZZT4mN3fsO7kagZhSGmhhlrQagVvWSFuuFIWnpxFS0CdTB2PlQcaL16RDi14I8uw==} + /string2compact@2.0.1: + resolution: {integrity: sha512-Bm/T8lHMTRXw+u83LE+OW7fXmC/wM+Mbccfdo533ajSBNxddDHlRrvxE49NdciGHgXkUQM5WYskJ7uTkbBUI0A==} + engines: {node: '>=12.20.0'} dependencies: - addr-to-ip-port: 1.5.4 + addr-to-ip-port: 2.0.0 ipaddr.js: 2.1.0 dev: false @@ -2843,6 +2888,7 @@ packages: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} dependencies: safe-buffer: 5.2.1 + dev: true /strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} @@ -2941,6 +2987,16 @@ packages: hasBin: true dev: true + /uint8-util@2.2.4: + resolution: {integrity: sha512-uEI5lLozmKQPYEevfEhP9LY3Je5ZmrQhaWXrzTVqrLNQl36xsRh8NiAxYwB9J+2BAt99TRbmCkROQB2ZKhx4UA==} + dependencies: + base64-arraybuffer: 1.0.2 + dev: false + + /undici-types@5.25.3: + resolution: {integrity: sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==} + dev: true + /unordered-array-remove@1.0.2: resolution: {integrity: sha512-45YsfD6svkgaCBNyvD+dFHm4qFX9g3wRSIVgWVPtm2OCnphvPxzJoe20ATsiNpNJrmzHifnxm+BN5F7gFT/4gw==} dev: false @@ -2979,6 +3035,7 @@ packages: /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + dev: true /util@0.12.5: resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==} @@ -2999,12 +3056,12 @@ packages: buffer-polyfill: /buffer@6.0.3 node-stdlib-browser: 1.2.0 process: 0.11.10 - vite: 4.3.2 + vite: 4.3.2(@types/node@20.8.4) transitivePeerDependencies: - rollup dev: true - /vite@4.3.2: + /vite@4.3.2(@types/node@20.8.4): resolution: {integrity: sha512-9R53Mf+TBoXCYejcL+qFbZde+eZveQLDYd9XgULILLC1a5ZwPaqgmdVpL8/uvw2BM/1TzetWjglwm+3RO+xTyw==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -3029,6 +3086,7 @@ packages: terser: optional: true dependencies: + '@types/node': 20.8.4 esbuild: 0.17.19 postcss: 8.4.24 rollup: 3.25.1 @@ -3085,12 +3143,12 @@ packages: /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - /ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10): - resolution: {integrity: sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==} - engines: {node: '>=8.3.0'} + /ws@8.14.2(bufferutil@4.0.7)(utf-8-validate@5.0.10): + resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} + engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 + utf-8-validate: '>=5.0.2' peerDependenciesMeta: bufferutil: optional: true