From 58fed66f78a4624f09f935460f2ca2ba16ec7a5b Mon Sep 17 00:00:00 2001 From: Percs <83934299+Percslol@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:03:18 -0600 Subject: [PATCH] fix: websocket prototype --- package.json | 16 +- pnpm-lock.yaml | 404 ++++++++++++------------ src/client/shared/err.ts | 3 - src/client/shared/requests/websocket.ts | 2 +- static/sw.js | 20 +- 5 files changed, 222 insertions(+), 223 deletions(-) diff --git a/package.json b/package.json index 3e04478..a80d666 100644 --- a/package.json +++ b/package.json @@ -38,20 +38,20 @@ "@mercuryworkshop/libcurl-transport": "^1.3.14", "@nebula-services/bare-server-node": "^2.0.4", "@playwright/test": "^1.49.0", - "@rsdoctor/rspack-plugin": "^0.4.8", - "@rspack/cli": "^1.1.3", - "@rspack/core": "^1.1.3", + "@rsdoctor/rspack-plugin": "^0.4.9", + "@rspack/cli": "^1.1.4", + "@rspack/core": "^1.1.4", "@types/eslint": "^9.6.1", "@types/estree": "^1.0.6", - "@types/node": "^22.9.3", - "@types/serviceworker": "^0.0.105", - "@typescript-eslint/eslint-plugin": "^8.15.0", - "@typescript-eslint/parser": "^8.15.0", + "@types/node": "^22.10.0", + "@types/serviceworker": "^0.0.106", + "@typescript-eslint/eslint-plugin": "^8.16.0", + "@typescript-eslint/parser": "^8.16.0", "dotenv": "^16.4.5", "eslint": "^9.15.0", "fastify": "^5.1.0", "playwright": "^1.49.0", - "prettier": "^3.3.3", + "prettier": "^3.4.1", "tslib": "^2.8.1", "typescript": "^5.7.2", "wisp-server-node": "^1.1.7" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 09d9468..e1c45d5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -58,14 +58,14 @@ importers: specifier: ^1.49.0 version: 1.49.0 '@rsdoctor/rspack-plugin': - specifier: ^0.4.8 - version: 0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) + specifier: ^0.4.9 + version: 0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) '@rspack/cli': - specifier: ^1.1.3 - version: 1.1.3(@rspack/core@1.1.3)(@types/express@4.17.21)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) + specifier: ^1.1.4 + version: 1.1.4(@rspack/core@1.1.4)(@types/express@4.17.21)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) '@rspack/core': - specifier: ^1.1.3 - version: 1.1.3 + specifier: ^1.1.4 + version: 1.1.4 '@types/eslint': specifier: ^9.6.1 version: 9.6.1 @@ -73,17 +73,17 @@ importers: specifier: ^1.0.6 version: 1.0.6 '@types/node': - specifier: ^22.9.3 - version: 22.9.3 + specifier: ^22.10.0 + version: 22.10.0 '@types/serviceworker': - specifier: ^0.0.105 - version: 0.0.105 + specifier: ^0.0.106 + version: 0.0.106 '@typescript-eslint/eslint-plugin': - specifier: ^8.15.0 - version: 8.15.0(@typescript-eslint/parser@8.15.0(eslint@9.15.0)(typescript@5.7.2))(eslint@9.15.0)(typescript@5.7.2) + specifier: ^8.16.0 + version: 8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0)(typescript@5.7.2))(eslint@9.15.0)(typescript@5.7.2) '@typescript-eslint/parser': - specifier: ^8.15.0 - version: 8.15.0(eslint@9.15.0)(typescript@5.7.2) + specifier: ^8.16.0 + version: 8.16.0(eslint@9.15.0)(typescript@5.7.2) dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -97,8 +97,8 @@ importers: specifier: ^1.49.0 version: 1.49.0 prettier: - specifier: ^3.3.3 - version: 3.3.3 + specifier: ^3.4.1 + version: 3.4.1 tslib: specifier: ^2.8.1 version: 2.8.1 @@ -329,25 +329,25 @@ packages: '@polka/url@1.0.0-next.28': resolution: {integrity: sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==} - '@rsdoctor/client@0.4.8': - resolution: {integrity: sha512-Jj+37B+WFAgsszwE4l65ySM8USW8Z/VqIE5dUMq+os/johgTRF7wafnlABIPdpd2ih8HTbankzEJOMHyJYHTog==} + '@rsdoctor/client@0.4.9': + resolution: {integrity: sha512-V+40EhXYBOcPa2TFr7Tcl93gtJQZj11DpLHy5OZZDbUgsxgMfH21Z6HsORkP9anvSDUaPxBMg0++3Qx3asVw/A==} - '@rsdoctor/core@0.4.8': - resolution: {integrity: sha512-I2Hl9D5K/yGQCJaUoyLGFAaMF1vpIXW5s2zeprEbfW1EFN8u59LzvatEg4+wgcfaXPMecAB5dfm6J+D36F4aRA==} + '@rsdoctor/core@0.4.9': + resolution: {integrity: sha512-Q9WHYHDt1AnipEF3VNKI7wSY6rSwJvVmxxutqEirlq8eQSp7apMFy8moWVYMtcM2aG0FzGHScIVSS5US6q70Lw==} - '@rsdoctor/graph@0.4.8': - resolution: {integrity: sha512-F6lKNjU1pewVXT8PLPgL7WuxB4Aru7unpZjJ4Hh1vbcNUsK6VNUNHsAviOu2ZrbuKuwbxqjd3p/NIjThUzX7NQ==} + '@rsdoctor/graph@0.4.9': + resolution: {integrity: sha512-uIf+y+/+9/03TT0trcPlzoh2LVAg0llaFRClYoUH+RRCRTd+W631u1LVzha4H/nTztjmmmcGjTwVrjhk+FgZNA==} - '@rsdoctor/rspack-plugin@0.4.8': - resolution: {integrity: sha512-IIyZ/EhiU7b3n0m+1frPTBKXnmjpB6rKbumjntzTDkmY7+OEub69WA9eqSxx0nPWQxBHwBzCpIVjSjYyARRaNg==} + '@rsdoctor/rspack-plugin@0.4.9': + resolution: {integrity: sha512-hW5mHDQ120tXJcbHZfVCrsdOyNJyyYR8fPOfbwhUzu4C6+ortlpf9ZVZLEoKq6yensu+u7q7uxDncnj3gD/EJQ==} peerDependencies: '@rspack/core': '*' - '@rsdoctor/sdk@0.4.8': - resolution: {integrity: sha512-tD14drEa9ZZm5FtKL6BfDsBbOvYbIRbF5aEpQSP5ZQsKa6YfOhHA2dpv+zN7qIUXzd16vKBGNzTT906BT7HvEw==} + '@rsdoctor/sdk@0.4.9': + resolution: {integrity: sha512-vWa5DDb0TKwy+1UV3JfqcXzPZx1FJyg/ddC7R0KKM7/BI0potkDtFJWlK0vAg8zMOtbraEg4KOkG0m7vVurM2A==} - '@rsdoctor/types@0.4.8': - resolution: {integrity: sha512-yY9OyfRLuOva2GhLccjHy1jDVTfoxeGSXF030DingiorrhFXMi+TJjq98LN4p9ha/awxzHayAUcSwZ3nq1XEXQ==} + '@rsdoctor/types@0.4.9': + resolution: {integrity: sha512-Niy0r4as3C2lLel2S05i+/lV7ijI9PVBQ0Bef1MznPBnk0bazoBzYA1TkdNj0zB+azQM8we67GDUIuF0XquDiw==} peerDependencies: '@rspack/core': '*' webpack: 5.x @@ -355,65 +355,65 @@ packages: '@rspack/core': optional: true - '@rsdoctor/utils@0.4.8': - resolution: {integrity: sha512-5m0dvwkdKAT5mONAf49oG1JEr+FXSThxwo36tfIHrUPNm3pnx8bDXFL3E5rNb9LK8Va7GFYe6hjmxTxyoaveFg==} + '@rsdoctor/utils@0.4.9': + resolution: {integrity: sha512-5BHbTdN63c1rHK1JyqdnUcqTKwhuA5C1pMetC/Xj4bCo2wasQluX160H+K/w1KJ5m+OTWr6ADHLiP/6tuDGICw==} - '@rspack/binding-darwin-arm64@1.1.3': - resolution: {integrity: sha512-gpLUBMDAS/uEcnE+ODy1ILTeyp1oM4QCq8rRhKHuOfsIe1AZ9Mct59v2omIE/r+R4dnbJ0ikIpto9qJZ6P2u1A==} + '@rspack/binding-darwin-arm64@1.1.4': + resolution: {integrity: sha512-mSN9OWvenbD125THkj3nFOlJCk5o44C8uc0YH7gK1uR77g98USiC/4eSWXKqP+sRfDBplQEzannuPrBW1nPimQ==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.1.3': - resolution: {integrity: sha512-m1G7SzkRfr1oLgghbAxUwj1J7hSKhtskQZiVeqe5tewKimFr6xLpKSTLTnEtlW0gdGNf1+dRMX/4kLMwhOdY7g==} + '@rspack/binding-darwin-x64@1.1.4': + resolution: {integrity: sha512-ECmcTJecXwqhqqpOjfjIcwDp8UqJ3D1Crc2COG+wUfwejtbqs9twUTaufZz7U7xna+oyfJ4GRNSKS9xs4N2kPQ==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.1.3': - resolution: {integrity: sha512-MpOrO1oppxAm8J1ztNz6G5DG/oL9ZLHmIz9vYNV6PKnk+MPhCXqfhFmQ2hZm5VIVKuOobfYEJiDUqKg2MLg8gA==} + '@rspack/binding-linux-arm64-gnu@1.1.4': + resolution: {integrity: sha512-QVRFV6+z1DopeGn8rLRbBNrWXuBvp7J19lTtvx9F5mItzTiBVHmNqFt31namm59xkhHJ3leng7l2F39qcOMOIA==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.1.3': - resolution: {integrity: sha512-PnUDC1JxT6a5hJW0hhJ9ubWk3R+nk7eLXyNaORHyQH4k8o89Zm5GYoKnDgO4eRy41NB9/aBJQJRGSRn0iAsZgw==} + '@rspack/binding-linux-arm64-musl@1.1.4': + resolution: {integrity: sha512-UCateQWfEpEyFOC/tkuicXpIm81s5DavcwKjX3wwh1JB/KO6UxGHK8F75BV4K3Coo/UEiNCvL8xrB7eDjMDwYg==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.1.3': - resolution: {integrity: sha512-+6JgyKXOp2QrHzlru95mge70tDkYlaY4NNE9xyrdj6PgTnM9cVPx4sLVhHC9+tWXaTFnccfEe9Tt6LjKnjHGaA==} + '@rspack/binding-linux-x64-gnu@1.1.4': + resolution: {integrity: sha512-Nz5Bt1PDxebVRU321h9AGkLRQL5n9Xgt+rluWAXLVtyxM9aPavmvu1n6/G9stXwQdnUVrZIUs7EzhIhWBe5R/A==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.1.3': - resolution: {integrity: sha512-X0TJTVL1Roqq/tvN26QO4u62x2xp5tE0dlhwhbeCHrBdgBzc+PHvcv/8lclRcq6lDPzceAgcnNX/+RbWg0DzKg==} + '@rspack/binding-linux-x64-musl@1.1.4': + resolution: {integrity: sha512-1XG795a+M4vE7JLyeDa1oktr4WU/I5IQ9d8Vk3PVtF59IxnKpjOb3vdGhXP7Ke2zWP6C2YQzWotez6AbO3uWeA==} cpu: [x64] os: [linux] - '@rspack/binding-win32-arm64-msvc@1.1.3': - resolution: {integrity: sha512-Lvpp5Q30YiPNkuOFPawp2al2CTWElPeG3X0E9LFIfPdVkLc/e2nkf5a6zSYtnbD2oaskzQIYN/k27fWqWWcVHA==} + '@rspack/binding-win32-arm64-msvc@1.1.4': + resolution: {integrity: sha512-1hXOgHxnrBmjBNUluy9MbFMQi4lnAS199JD5UHRc2mx5i+D8cjAiBsWHzIcK4xzsxu2IYgVGsJcdIA8/zV/PVQ==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.1.3': - resolution: {integrity: sha512-tC+xXcbTRX7l+NFnlGK8UhDIJrKma7S/MA1KDol23/I3Vw67EcaHDwG+q2v7uiJsxn9XooIOSCJhPKmUUfZNXg==} + '@rspack/binding-win32-ia32-msvc@1.1.4': + resolution: {integrity: sha512-Jfq6gF5QKOYZsgDYRx+fWipDHmtHxq6jniws1WAE8F5w1qIt/dAHzW3a6+3VwCih9lQEEH3Rimy/ECB0oergng==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.1.3': - resolution: {integrity: sha512-jeRaPJtsD/+m1QINgoDMA6D3kOcTwSHVmGSxR6fznLA5BKa76m8lewuALYxHHq9/qcgwJ4e6UtiwrO2JL3vxVQ==} + '@rspack/binding-win32-x64-msvc@1.1.4': + resolution: {integrity: sha512-d9HUGVfNFhB+r32kDPkzHeMmgwemTFsDymnWJUgUrojzTJ326JrDmEXVeCnAHfwBSC9w4/mp4H+4iGhIdKSo9w==} cpu: [x64] os: [win32] - '@rspack/binding@1.1.3': - resolution: {integrity: sha512-fB1ziJ1UXO2P4ZDO+dviSNuxknUqrz6QQ6QGfpC+S1ClUy1HOhHXss/Yn78B/R9py6dlqZzmhmhz2d+XzFVApA==} + '@rspack/binding@1.1.4': + resolution: {integrity: sha512-XdR/4DACpLqNjxEw+ikg5FN2dQbOAxj7fDlndNio0l+m8ThPiIsetkJ2FNSlxt/K4SVnIrwAkhE5kabVNKR4EA==} - '@rspack/cli@1.1.3': - resolution: {integrity: sha512-fEMifh3b7U4lfSrv9VYw6VFAzkoccaFrCvHNmIE4bNPCXIqyVxbiKznE4RI/EhHB27oF4JBpnuvsiLZGDp5KNA==} + '@rspack/cli@1.1.4': + resolution: {integrity: sha512-3rmJDfvDBd5cxsjubYCvB7RDmtsk2gyItOwVkpH4OnNSB31fkFC4Dmm4WjvGG/SMMTFEvqgrqdQGDZuugHrRzw==} hasBin: true peerDependencies: '@rspack/core': ^1.0.0-alpha || ^1.x - '@rspack/core@1.1.3': - resolution: {integrity: sha512-LdM1mAlBtEh9ozbpyWVW5uuL+aJMjYqd531pH5/i/EPDKNrOLrQWVNMa2dh07qLwJZXoTFMf7LWA7QNsmBUPJg==} + '@rspack/core@1.1.4': + resolution: {integrity: sha512-JUU1pS11TY3/MwnezBfLLp3+7zfkd4Adzo8Pv4f4R1KoJyX1FYBFBcKnfZBlaGYi2C2e5ZDrrHxQlrPmygjbuw==} engines: {node: '>=16.0.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -463,8 +463,8 @@ packages: '@types/express-serve-static-core@4.19.6': resolution: {integrity: sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==} - '@types/express-serve-static-core@5.0.1': - resolution: {integrity: sha512-CRICJIl0N5cXDONAdlTv5ShATZ4HEwk6kDDIW2/w9qOWKg+NU/5F8wYRWCrONad0/UKkloNSmmyN/wX4rtpbVA==} + '@types/express-serve-static-core@5.0.2': + resolution: {integrity: sha512-vluaspfvWEtE4vcSDlKRNer52DvOGrB2xv6diXy6UKyKW0lqZiWHGNApSyxOv+8DE5Z27IzVvE7hNkxg7EXIcg==} '@types/express@4.17.21': resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} @@ -490,8 +490,8 @@ packages: '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} - '@types/node@22.9.3': - resolution: {integrity: sha512-F3u1fs/fce3FFk+DAxbxc78DF8x0cY09RRL8GnXLmkJ1jvx3TtPdWoTT5/NiYfI5ASqXBmfqJi9dZ3gxMx4lzw==} + '@types/node@22.10.0': + resolution: {integrity: sha512-XC70cRZVElFHfIUB40FgZOBbgJYFKKMa5nb9lxcwYstFG/Mi+/Y0bGS+rs6Dmhmkpq4pnNiLiuZAbc02YCOnmA==} '@types/qs@6.9.17': resolution: {integrity: sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ==} @@ -514,8 +514,8 @@ packages: '@types/serve-static@1.15.7': resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} - '@types/serviceworker@0.0.105': - resolution: {integrity: sha512-bnALJ34rBKAbecaOCws//ru9Ipe7sWmA0qZQKvTV1w8GdtXc4ekJK1ui2xjDr7vIhFcZHrXUHWSTNGRIiZS0dw==} + '@types/serviceworker@0.0.106': + resolution: {integrity: sha512-iczPiHSCn+ILH1w0fz5Lt4ljBG1+742/XnRdR9ZKJkR0SsFZvz8AN0dDyykIkYIvO6UMDC5ex+Z96XEaOmb7aQ==} '@types/sockjs@0.3.36': resolution: {integrity: sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==} @@ -526,8 +526,8 @@ packages: '@types/ws@8.5.13': resolution: {integrity: sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==} - '@typescript-eslint/eslint-plugin@8.15.0': - resolution: {integrity: sha512-+zkm9AR1Ds9uLWN3fkoeXgFppaQ+uEVtfOV62dDmsy9QCNqlRHWNEck4yarvRNrvRcHQLGfqBNui3cimoz8XAg==} + '@typescript-eslint/eslint-plugin@8.16.0': + resolution: {integrity: sha512-5YTHKV8MYlyMI6BaEG7crQ9BhSc8RxzshOReKwZwRWN0+XvvTOm+L/UYLCYxFpfwYuAAqhxiq4yae0CMFwbL7Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -537,8 +537,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.15.0': - resolution: {integrity: sha512-7n59qFpghG4uazrF9qtGKBZXn7Oz4sOMm8dwNWDQY96Xlm2oX67eipqcblDj+oY1lLCbf1oltMZFpUso66Kl1A==} + '@typescript-eslint/parser@8.16.0': + resolution: {integrity: sha512-D7DbgGFtsqIPIFMPJwCad9Gfi/hC0PWErRRHFnaCWoEDYi5tQUDiJCTmGUbBiLzjqAck4KcXt9Ayj0CNlIrF+w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -547,12 +547,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.15.0': - resolution: {integrity: sha512-QRGy8ADi4J7ii95xz4UoiymmmMd/zuy9azCaamnZ3FM8T5fZcex8UfJcjkiEZjJSztKfEBe3dZ5T/5RHAmw2mA==} + '@typescript-eslint/scope-manager@8.16.0': + resolution: {integrity: sha512-mwsZWubQvBki2t5565uxF0EYvG+FwdFb8bMtDuGQLdCCnGPrDEDvm1gtfynuKlnpzeBRqdFCkMf9jg1fnAK8sg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.15.0': - resolution: {integrity: sha512-UU6uwXDoI3JGSXmcdnP5d8Fffa2KayOhUUqr/AiBnG1Gl7+7ut/oyagVeSkh7bxQ0zSXV9ptRh/4N15nkCqnpw==} + '@typescript-eslint/type-utils@8.16.0': + resolution: {integrity: sha512-IqZHGG+g1XCWX9NyqnI/0CX5LL8/18awQqmkZSl2ynn8F76j579dByc0jhfVSnSnhf7zv76mKBQv9HQFKvDCgg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -561,12 +561,12 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.15.0': - resolution: {integrity: sha512-n3Gt8Y/KyJNe0S3yDCD2RVKrHBC4gTUcLTebVBXacPy091E6tNspFLKRXlk3hwT4G55nfr1n2AdFqi/XMxzmPQ==} + '@typescript-eslint/types@8.16.0': + resolution: {integrity: sha512-NzrHj6thBAOSE4d9bsuRNMvk+BvaQvmY4dDglgkgGC0EW/tB3Kelnp3tAKH87GEwzoxgeQn9fNGRyFJM/xd+GQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.15.0': - resolution: {integrity: sha512-1eMp2JgNec/niZsR7ioFBlsh/Fk0oJbhaqO0jRyQBMgkz7RrFfkqF9lYYmBoGBaSiLnu8TAPQTwoTUiSTUW9dg==} + '@typescript-eslint/typescript-estree@8.16.0': + resolution: {integrity: sha512-E2+9IzzXMc1iaBy9zmo+UYvluE3TW7bCGWSF41hVWUE01o8nzr1rvOQYSxelxr6StUvRcTMe633eY8mXASMaNw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -574,8 +574,8 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.15.0': - resolution: {integrity: sha512-k82RI9yGhr0QM3Dnq+egEpz9qB6Un+WLYhmoNcvl8ltMEededhh7otBVVIDDsEEttauwdY/hQoSsOv13lxrFzQ==} + '@typescript-eslint/utils@8.16.0': + resolution: {integrity: sha512-C1zRy/mOL8Pj157GiX4kaw7iyRLKfJXBR3L82hk5kS/GyHcOFmy4YUq/zfZti72I9wnuQtA/+xzft4wCC8PJdA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -584,8 +584,8 @@ packages: typescript: optional: true - '@typescript-eslint/visitor-keys@8.15.0': - resolution: {integrity: sha512-h8vYOulWec9LhpwfAdZf2bjr8xIp0KNKnpgqSz0qqYYKAW/QZKw3ktRndbiAtUz4acH4QLQavwZBYCc0wulA/Q==} + '@typescript-eslint/visitor-keys@8.16.0': + resolution: {integrity: sha512-pq19gbaMOmFE3CbL0ZB8J8BFCo2ckfHBfaIsaOZgBIF4EoISJIdLX5xRhd0FGB0LlHReNRuzoJoMGpTjq8F2CQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@webassemblyjs/ast@1.14.1': @@ -757,8 +757,8 @@ packages: avvio@9.1.0: resolution: {integrity: sha512-fYASnYi600CsH/j9EQov7lECAniYiBFiiAtBNuZYLA2leLe9qOvZzqYHFjtIj6gD2VMoMLP14834LFWvr4IfDw==} - axios@1.7.7: - resolution: {integrity: sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==} + axios@1.7.8: + resolution: {integrity: sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw==} balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -819,8 +819,8 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - caniuse-lite@1.0.30001683: - resolution: {integrity: sha512-iqmNnThZ0n70mNwvxpEC2nBJ037ZHZUoBI5Gorh1Mw6IlEAZujEoU1tXA628iZfzm7R9FvFzxbfdgml82a3k8Q==} + caniuse-lite@1.0.30001684: + resolution: {integrity: sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==} chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} @@ -1037,8 +1037,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.5.64: - resolution: {integrity: sha512-IXEuxU+5ClW2IGEYFC2T7szbyVgehupCWQe5GNh+H065CD6U6IFN0s4KeAMFGNmQolRU4IV7zGBWSYMmZ8uuqQ==} + electron-to-chromium@1.5.65: + resolution: {integrity: sha512-PWVzBjghx7/wop6n22vS2MLU8tKGd4Q91aCEGhG/TYmW6PP5OcSXcdnxTe1NNt0T66N8D6jxh4kC8UsdzOGaIw==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -1887,8 +1887,8 @@ packages: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} - prettier@3.3.3: - resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} + prettier@3.4.1: + resolution: {integrity: sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==} engines: {node: '>=14'} hasBin: true @@ -2259,8 +2259,8 @@ packages: peerDependencies: tslib: '2' - ts-api-utils@1.4.0: - resolution: {integrity: sha512-032cPxaEKwM+GT3vA5JXNzIaizx388rhsSW79vGRNGXfRRAdEAn2mvk36PvK5HnOchyWZ7afLEXqYCvPCrzuzQ==} + ts-api-utils@1.4.2: + resolution: {integrity: sha512-ZF5gQIQa/UmzfvxbHZI3JXN0/Jt+vnAfAviNRAMc491laiK6YCLpCW9ft8oaCRFOTxCZtUTE6XB0ZQAe3olntw==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' @@ -2289,8 +2289,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - undici-types@6.19.8: - resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} + undici-types@6.20.0: + resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} undici@5.28.4: resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} @@ -2712,15 +2712,15 @@ snapshots: '@polka/url@1.0.0-next.28': {} - '@rsdoctor/client@0.4.8': {} + '@rsdoctor/client@0.4.9': {} - '@rsdoctor/core@0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': + '@rsdoctor/core@0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': dependencies: - '@rsdoctor/graph': 0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) - '@rsdoctor/sdk': 0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) - '@rsdoctor/types': 0.4.8(@rspack/core@1.1.3)(webpack@5.95.0) - '@rsdoctor/utils': 0.4.8(@rspack/core@1.1.3)(webpack@5.95.0) - axios: 1.7.7 + '@rsdoctor/graph': 0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) + '@rsdoctor/sdk': 0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) + '@rsdoctor/types': 0.4.9(@rspack/core@1.1.4)(webpack@5.95.0) + '@rsdoctor/utils': 0.4.9(@rspack/core@1.1.4)(webpack@5.95.0) + axios: 1.7.8 enhanced-resolve: 5.12.0 filesize: 10.1.6 fs-extra: 11.2.0 @@ -2737,10 +2737,10 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/graph@0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': + '@rsdoctor/graph@0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': dependencies: - '@rsdoctor/types': 0.4.8(@rspack/core@1.1.3)(webpack@5.95.0) - '@rsdoctor/utils': 0.4.8(@rspack/core@1.1.3)(webpack@5.95.0) + '@rsdoctor/types': 0.4.9(@rspack/core@1.1.4)(webpack@5.95.0) + '@rsdoctor/utils': 0.4.9(@rspack/core@1.1.4)(webpack@5.95.0) lodash: 4.17.21 socket.io: 4.7.2(bufferutil@4.0.8)(utf-8-validate@6.0.5) source-map: 0.7.4 @@ -2751,14 +2751,14 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/rspack-plugin@0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': + '@rsdoctor/rspack-plugin@0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': dependencies: - '@rsdoctor/core': 0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) - '@rsdoctor/graph': 0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) - '@rsdoctor/sdk': 0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) - '@rsdoctor/types': 0.4.8(@rspack/core@1.1.3)(webpack@5.95.0) - '@rsdoctor/utils': 0.4.8(@rspack/core@1.1.3)(webpack@5.95.0) - '@rspack/core': 1.1.3 + '@rsdoctor/core': 0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) + '@rsdoctor/graph': 0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) + '@rsdoctor/sdk': 0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) + '@rsdoctor/types': 0.4.9(@rspack/core@1.1.4)(webpack@5.95.0) + '@rsdoctor/utils': 0.4.9(@rspack/core@1.1.4)(webpack@5.95.0) + '@rspack/core': 1.1.4 lodash: 4.17.21 transitivePeerDependencies: - bufferutil @@ -2767,12 +2767,12 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/sdk@0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': + '@rsdoctor/sdk@0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': dependencies: - '@rsdoctor/client': 0.4.8 - '@rsdoctor/graph': 0.4.8(@rspack/core@1.1.3)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) - '@rsdoctor/types': 0.4.8(@rspack/core@1.1.3)(webpack@5.95.0) - '@rsdoctor/utils': 0.4.8(@rspack/core@1.1.3)(webpack@5.95.0) + '@rsdoctor/client': 0.4.9 + '@rsdoctor/graph': 0.4.9(@rspack/core@1.1.4)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) + '@rsdoctor/types': 0.4.9(@rspack/core@1.1.4)(webpack@5.95.0) + '@rsdoctor/utils': 0.4.9(@rspack/core@1.1.4)(webpack@5.95.0) '@types/fs-extra': 11.0.4 body-parser: 1.20.3 cors: 2.8.5 @@ -2791,7 +2791,7 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/types@0.4.8(@rspack/core@1.1.3)(webpack@5.95.0)': + '@rsdoctor/types@0.4.9(@rspack/core@1.1.4)(webpack@5.95.0)': dependencies: '@types/connect': 3.4.38 '@types/estree': 1.0.5 @@ -2799,12 +2799,12 @@ snapshots: source-map: 0.7.4 webpack: 5.95.0 optionalDependencies: - '@rspack/core': 1.1.3 + '@rspack/core': 1.1.4 - '@rsdoctor/utils@0.4.8(@rspack/core@1.1.3)(webpack@5.95.0)': + '@rsdoctor/utils@0.4.9(@rspack/core@1.1.4)(webpack@5.95.0)': dependencies: '@babel/code-frame': 7.25.7 - '@rsdoctor/types': 0.4.8(@rspack/core@1.1.3)(webpack@5.95.0) + '@rsdoctor/types': 0.4.9(@rspack/core@1.1.4)(webpack@5.95.0) '@types/estree': 1.0.5 acorn: 8.14.0 acorn-import-assertions: 1.9.0(acorn@8.14.0) @@ -2826,50 +2826,50 @@ snapshots: - supports-color - webpack - '@rspack/binding-darwin-arm64@1.1.3': + '@rspack/binding-darwin-arm64@1.1.4': optional: true - '@rspack/binding-darwin-x64@1.1.3': + '@rspack/binding-darwin-x64@1.1.4': optional: true - '@rspack/binding-linux-arm64-gnu@1.1.3': + '@rspack/binding-linux-arm64-gnu@1.1.4': optional: true - '@rspack/binding-linux-arm64-musl@1.1.3': + '@rspack/binding-linux-arm64-musl@1.1.4': optional: true - '@rspack/binding-linux-x64-gnu@1.1.3': + '@rspack/binding-linux-x64-gnu@1.1.4': optional: true - '@rspack/binding-linux-x64-musl@1.1.3': + '@rspack/binding-linux-x64-musl@1.1.4': optional: true - '@rspack/binding-win32-arm64-msvc@1.1.3': + '@rspack/binding-win32-arm64-msvc@1.1.4': optional: true - '@rspack/binding-win32-ia32-msvc@1.1.3': + '@rspack/binding-win32-ia32-msvc@1.1.4': optional: true - '@rspack/binding-win32-x64-msvc@1.1.3': + '@rspack/binding-win32-x64-msvc@1.1.4': optional: true - '@rspack/binding@1.1.3': + '@rspack/binding@1.1.4': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.1.3 - '@rspack/binding-darwin-x64': 1.1.3 - '@rspack/binding-linux-arm64-gnu': 1.1.3 - '@rspack/binding-linux-arm64-musl': 1.1.3 - '@rspack/binding-linux-x64-gnu': 1.1.3 - '@rspack/binding-linux-x64-musl': 1.1.3 - '@rspack/binding-win32-arm64-msvc': 1.1.3 - '@rspack/binding-win32-ia32-msvc': 1.1.3 - '@rspack/binding-win32-x64-msvc': 1.1.3 - - '@rspack/cli@1.1.3(@rspack/core@1.1.3)(@types/express@4.17.21)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': + '@rspack/binding-darwin-arm64': 1.1.4 + '@rspack/binding-darwin-x64': 1.1.4 + '@rspack/binding-linux-arm64-gnu': 1.1.4 + '@rspack/binding-linux-arm64-musl': 1.1.4 + '@rspack/binding-linux-x64-gnu': 1.1.4 + '@rspack/binding-linux-x64-musl': 1.1.4 + '@rspack/binding-win32-arm64-msvc': 1.1.4 + '@rspack/binding-win32-ia32-msvc': 1.1.4 + '@rspack/binding-win32-x64-msvc': 1.1.4 + + '@rspack/cli@1.1.4(@rspack/core@1.1.4)(@types/express@4.17.21)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': dependencies: '@discoveryjs/json-ext': 0.5.7 - '@rspack/core': 1.1.3 - '@rspack/dev-server': 1.0.9(@rspack/core@1.1.3)(@types/express@4.17.21)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) + '@rspack/core': 1.1.4 + '@rspack/dev-server': 1.0.9(@rspack/core@1.1.4)(@types/express@4.17.21)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0) colorette: 2.0.19 exit-hook: 4.0.0 interpret: 3.1.1 @@ -2886,16 +2886,16 @@ snapshots: - webpack - webpack-cli - '@rspack/core@1.1.3': + '@rspack/core@1.1.4': dependencies: '@module-federation/runtime-tools': 0.5.1 - '@rspack/binding': 1.1.3 + '@rspack/binding': 1.1.4 '@rspack/lite-tapable': 1.0.1 - caniuse-lite: 1.0.30001683 + caniuse-lite: 1.0.30001684 - '@rspack/dev-server@1.0.9(@rspack/core@1.1.3)(@types/express@4.17.21)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': + '@rspack/dev-server@1.0.9(@rspack/core@1.1.4)(@types/express@4.17.21)(bufferutil@4.0.8)(utf-8-validate@6.0.5)(webpack@5.95.0)': dependencies: - '@rspack/core': 1.1.3 + '@rspack/core': 1.1.4 chokidar: 3.6.0 connect-history-api-fallback: 2.0.0 express: 4.21.1 @@ -2921,26 +2921,26 @@ snapshots: '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/bonjour@3.5.13': dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/connect-history-api-fallback@1.5.4': dependencies: - '@types/express-serve-static-core': 5.0.1 - '@types/node': 22.9.3 + '@types/express-serve-static-core': 5.0.2 + '@types/node': 22.10.0 '@types/connect@3.4.38': dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/cookie@0.4.1': {} '@types/cors@2.8.17': dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/eslint@9.6.1': dependencies: @@ -2953,14 +2953,14 @@ snapshots: '@types/express-serve-static-core@4.19.6': dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/qs': 6.9.17 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 - '@types/express-serve-static-core@5.0.1': + '@types/express-serve-static-core@5.0.2': dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/qs': 6.9.17 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -2975,29 +2975,29 @@ snapshots: '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/http-errors@2.0.4': {} '@types/http-proxy@1.17.15': dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/json-schema@7.0.15': {} '@types/jsonfile@6.1.4': dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/mime@1.3.5': {} '@types/node-forge@1.3.11': dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 - '@types/node@22.9.3': + '@types/node@22.10.0': dependencies: - undici-types: 6.19.8 + undici-types: 6.20.0 '@types/qs@6.9.17': {} @@ -3010,7 +3010,7 @@ snapshots: '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/serve-index@1.9.4': dependencies: @@ -3019,14 +3019,14 @@ snapshots: '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/send': 0.17.4 - '@types/serviceworker@0.0.105': {} + '@types/serviceworker@0.0.106': {} '@types/sockjs@0.3.36': dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 '@types/tapable@2.2.7': dependencies: @@ -3034,32 +3034,32 @@ snapshots: '@types/ws@8.5.13': dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 - '@typescript-eslint/eslint-plugin@8.15.0(@typescript-eslint/parser@8.15.0(eslint@9.15.0)(typescript@5.7.2))(eslint@9.15.0)(typescript@5.7.2)': + '@typescript-eslint/eslint-plugin@8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0)(typescript@5.7.2))(eslint@9.15.0)(typescript@5.7.2)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.15.0(eslint@9.15.0)(typescript@5.7.2) - '@typescript-eslint/scope-manager': 8.15.0 - '@typescript-eslint/type-utils': 8.15.0(eslint@9.15.0)(typescript@5.7.2) - '@typescript-eslint/utils': 8.15.0(eslint@9.15.0)(typescript@5.7.2) - '@typescript-eslint/visitor-keys': 8.15.0 + '@typescript-eslint/parser': 8.16.0(eslint@9.15.0)(typescript@5.7.2) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/type-utils': 8.16.0(eslint@9.15.0)(typescript@5.7.2) + '@typescript-eslint/utils': 8.16.0(eslint@9.15.0)(typescript@5.7.2) + '@typescript-eslint/visitor-keys': 8.16.0 eslint: 9.15.0 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.4.0(typescript@5.7.2) + ts-api-utils: 1.4.2(typescript@5.7.2) optionalDependencies: typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.15.0(eslint@9.15.0)(typescript@5.7.2)': + '@typescript-eslint/parser@8.16.0(eslint@9.15.0)(typescript@5.7.2)': dependencies: - '@typescript-eslint/scope-manager': 8.15.0 - '@typescript-eslint/types': 8.15.0 - '@typescript-eslint/typescript-estree': 8.15.0(typescript@5.7.2) - '@typescript-eslint/visitor-keys': 8.15.0 + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) + '@typescript-eslint/visitor-keys': 8.16.0 debug: 4.3.7 eslint: 9.15.0 optionalDependencies: @@ -3067,55 +3067,55 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.15.0': + '@typescript-eslint/scope-manager@8.16.0': dependencies: - '@typescript-eslint/types': 8.15.0 - '@typescript-eslint/visitor-keys': 8.15.0 + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/visitor-keys': 8.16.0 - '@typescript-eslint/type-utils@8.15.0(eslint@9.15.0)(typescript@5.7.2)': + '@typescript-eslint/type-utils@8.16.0(eslint@9.15.0)(typescript@5.7.2)': dependencies: - '@typescript-eslint/typescript-estree': 8.15.0(typescript@5.7.2) - '@typescript-eslint/utils': 8.15.0(eslint@9.15.0)(typescript@5.7.2) + '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) + '@typescript-eslint/utils': 8.16.0(eslint@9.15.0)(typescript@5.7.2) debug: 4.3.7 eslint: 9.15.0 - ts-api-utils: 1.4.0(typescript@5.7.2) + ts-api-utils: 1.4.2(typescript@5.7.2) optionalDependencies: typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/types@8.15.0': {} + '@typescript-eslint/types@8.16.0': {} - '@typescript-eslint/typescript-estree@8.15.0(typescript@5.7.2)': + '@typescript-eslint/typescript-estree@8.16.0(typescript@5.7.2)': dependencies: - '@typescript-eslint/types': 8.15.0 - '@typescript-eslint/visitor-keys': 8.15.0 + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/visitor-keys': 8.16.0 debug: 4.3.7 fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.4.0(typescript@5.7.2) + ts-api-utils: 1.4.2(typescript@5.7.2) optionalDependencies: typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.15.0(eslint@9.15.0)(typescript@5.7.2)': + '@typescript-eslint/utils@8.16.0(eslint@9.15.0)(typescript@5.7.2)': dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@9.15.0) - '@typescript-eslint/scope-manager': 8.15.0 - '@typescript-eslint/types': 8.15.0 - '@typescript-eslint/typescript-estree': 8.15.0(typescript@5.7.2) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) eslint: 9.15.0 optionalDependencies: typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/visitor-keys@8.15.0': + '@typescript-eslint/visitor-keys@8.16.0': dependencies: - '@typescript-eslint/types': 8.15.0 + '@typescript-eslint/types': 8.16.0 eslint-visitor-keys: 4.2.0 '@webassemblyjs/ast@1.14.1': @@ -3294,7 +3294,7 @@ snapshots: '@fastify/error': 4.0.0 fastq: 1.17.1 - axios@1.7.7: + axios@1.7.8: dependencies: follow-redirects: 1.15.9 form-data: 4.0.1 @@ -3347,8 +3347,8 @@ snapshots: browserslist@4.24.2: dependencies: - caniuse-lite: 1.0.30001683 - electron-to-chromium: 1.5.64 + caniuse-lite: 1.0.30001684 + electron-to-chromium: 1.5.65 node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.2) @@ -3374,7 +3374,7 @@ snapshots: callsites@3.1.0: {} - caniuse-lite@1.0.30001683: {} + caniuse-lite@1.0.30001684: {} chalk@2.4.2: dependencies: @@ -3572,7 +3572,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.5.64: {} + electron-to-chromium@1.5.65: {} emoji-regex@8.0.0: {} @@ -3588,7 +3588,7 @@ snapshots: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.17 - '@types/node': 22.9.3 + '@types/node': 22.10.0 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -4134,7 +4134,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 22.9.3 + '@types/node': 22.10.0 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -4422,7 +4422,7 @@ snapshots: prelude-ls@1.2.1: {} - prettier@3.3.3: {} + prettier@3.4.1: {} process-nextick-args@2.0.1: {} @@ -4819,7 +4819,7 @@ snapshots: dependencies: tslib: 2.8.1 - ts-api-utils@1.4.0(typescript@5.7.2): + ts-api-utils@1.4.2(typescript@5.7.2): dependencies: typescript: 5.7.2 @@ -4840,7 +4840,7 @@ snapshots: typescript@5.7.2: {} - undici-types@6.19.8: {} + undici-types@6.20.0: {} undici@5.28.4: dependencies: diff --git a/src/client/shared/err.ts b/src/client/shared/err.ts index 95936f0..7d5ceef 100644 --- a/src/client/shared/err.ts +++ b/src/client/shared/err.ts @@ -6,11 +6,8 @@ export const enabled = (client: ScramjetClient) => export function argdbg(arg, recurse = []) { switch (typeof arg) { case "string": - if (arg.includes("localhost:1337/scramjet/") && arg.includes("m3u8")) - debugger; break; case "object": - // if (arg instanceof Location) debugger; if ( arg && arg[Symbol.iterator] && diff --git a/src/client/shared/requests/websocket.ts b/src/client/shared/requests/websocket.ts index 3327eaf..5da5953 100644 --- a/src/client/shared/requests/websocket.ts +++ b/src/client/shared/requests/websocket.ts @@ -21,7 +21,7 @@ export default function (client: ScramjetClient, self: typeof globalThis) { client.Proxy("WebSocket", { construct(ctx) { const fakeWebSocket = new EventTarget() as WebSocket; - Object.setPrototypeOf(fakeWebSocket, self.WebSocket.prototype); + Object.setPrototypeOf(fakeWebSocket, ctx.fn.prototype); fakeWebSocket.constructor = ctx.fn; const trustEvent = (ev: Event) => diff --git a/static/sw.js b/static/sw.js index 106366e..8daf1f4 100644 --- a/static/sw.js +++ b/static/sw.js @@ -53,17 +53,19 @@ scramjet.addEventListener("request", (e) => { e.response = new Response(playgroundData.js, { headers, }); - e.response.rawHeaders = headers; - e.response.rawResponse = { - body: e.response.body, - headers: headers, - status: e.response.status, - statusText: e.response.statusText, - }; - e.response.finalURL = e.url.toString(); } else { - return; + e.response = new Response("empty response", { + headers, + }); } + e.response.rawHeaders = headers; + e.response.rawResponse = { + body: e.response.body, + headers: headers, + status: e.response.status, + statusText: e.response.statusText, + }; + e.response.finalURL = e.url.toString(); } else { return; }