From 0206cea74025eacd7afd7958bf166db5d5e79b48 Mon Sep 17 00:00:00 2001 From: Percs <83934299+Percslol@users.noreply.github.com> Date: Mon, 28 Apr 2025 11:13:50 -0500 Subject: [PATCH] add hashchange handling --- package.json | 16 +- pnpm-lock.yaml | 449 ++++++++++++++++++------------------- rspack.config.js | 2 - src/client/shared/event.ts | 9 + 4 files changed, 238 insertions(+), 238 deletions(-) diff --git a/package.json b/package.json index 80919a9..1a665c7 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "license": "MIT", "devDependencies": { "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "^9.25.0", + "@eslint/js": "^9.25.1", "@estruyf/github-actions-reporter": "^1.10.0", "@fastify/static": "^8.1.1", "@mercuryworkshop/bare-as-module3": "^2.2.5", @@ -42,16 +42,16 @@ "@nebula-services/bare-server-node": "^2.0.4", "@playwright/test": "^1.52.0", "@rsdoctor/rspack-plugin": "^1.0.2", - "@rspack/cli": "^1.3.5", - "@rspack/core": "^1.3.5", + "@rspack/cli": "^1.3.8", + "@rspack/core": "^1.3.8", "@types/eslint": "^9.6.1", "@types/estree": "^1.0.7", - "@types/node": "^22.14.1", - "@types/serviceworker": "^0.0.131", - "@typescript-eslint/eslint-plugin": "^8.30.1", - "@typescript-eslint/parser": "^8.30.1", + "@types/node": "^22.15.3", + "@types/serviceworker": "^0.0.132", + "@typescript-eslint/eslint-plugin": "^8.31.0", + "@typescript-eslint/parser": "^8.31.0", "dotenv": "^16.5.0", - "eslint": "^9.25.0", + "eslint": "^9.25.1", "fastify": "^5.3.2", "playwright": "^1.52.0", "prettier": "^3.5.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9cf30b0..019af70 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,8 +34,8 @@ importers: specifier: ^3.3.1 version: 3.3.1 '@eslint/js': - specifier: ^9.25.0 - version: 9.25.0 + specifier: ^9.25.1 + version: 9.25.1 '@estruyf/github-actions-reporter': specifier: ^1.10.0 version: 1.10.0(@playwright/test@1.52.0) @@ -62,13 +62,13 @@ importers: version: 1.52.0 '@rsdoctor/rspack-plugin': specifier: ^1.0.2 - version: 1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1) + version: 1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1) '@rspack/cli': - specifier: ^1.3.5 - version: 1.3.5(@rspack/core@1.3.5)(@types/express@4.17.21)(bufferutil@4.0.9)(webpack@5.97.1) + specifier: ^1.3.8 + version: 1.3.8(@rspack/core@1.3.8)(@types/express@4.17.21)(bufferutil@4.0.9)(webpack@5.97.1) '@rspack/core': - specifier: ^1.3.5 - version: 1.3.5 + specifier: ^1.3.8 + version: 1.3.8 '@types/eslint': specifier: ^9.6.1 version: 9.6.1 @@ -76,23 +76,23 @@ importers: specifier: ^1.0.7 version: 1.0.7 '@types/node': - specifier: ^22.14.1 - version: 22.14.1 + specifier: ^22.15.3 + version: 22.15.3 '@types/serviceworker': - specifier: ^0.0.131 - version: 0.0.131 + specifier: ^0.0.132 + version: 0.0.132 '@typescript-eslint/eslint-plugin': - specifier: ^8.30.1 - version: 8.30.1(@typescript-eslint/parser@8.30.1(eslint@9.25.0)(typescript@5.8.3))(eslint@9.25.0)(typescript@5.8.3) + specifier: ^8.31.0 + version: 8.31.0(@typescript-eslint/parser@8.31.0(eslint@9.25.1)(typescript@5.8.3))(eslint@9.25.1)(typescript@5.8.3) '@typescript-eslint/parser': - specifier: ^8.30.1 - version: 8.30.1(eslint@9.25.0)(typescript@5.8.3) + specifier: ^8.31.0 + version: 8.31.0(eslint@9.25.1)(typescript@5.8.3) dotenv: specifier: ^16.5.0 version: 16.5.0 eslint: - specifier: ^9.25.0 - version: 9.25.0 + specifier: ^9.25.1 + version: 9.25.1 fastify: specifier: ^5.3.2 version: 5.3.2 @@ -161,8 +161,8 @@ packages: resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@9.25.0': - resolution: {integrity: sha512-iWhsUS8Wgxz9AXNfvfOPFSW4VfMXdVhp1hjkZVhXCrpgh/aLcc45rX6MPu+tIVUWDw0HfNwth7O28M1xDxNf9w==} + '@eslint/js@9.25.1': + resolution: {integrity: sha512-dEIwmjntEx8u3Uvv+kr3PDeeArL8Hw07H9kyYxCjnM9pBjfEhk6uLXSchxxzgiwtRhhzVzqmUSDFBOi1TuZ7qg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.6': @@ -298,23 +298,23 @@ packages: resolution: {integrity: sha512-egc9jbBmNqPXGOkvOOG142SLaBL3jBkz0IGnhYYWOnmg5FeC6KfGSRU5xlk+dKYecE3tuH03bFNi3/vBAOoJKA==} hasBin: true - '@module-federation/error-codes@0.11.2': - resolution: {integrity: sha512-ik1Qnn0I+WyEdprTck9WGlH41vGsVdUg8cfO+ZM02qOb2cZm5Vu3SlxGAobj6g7uAj0g8yINnd7h7Dci40BxQA==} + '@module-federation/error-codes@0.13.0': + resolution: {integrity: sha512-4soAMLr7qcVWuvCsyRmBbiBfuhxmnDeyl+qzjMx8VurQgL+XQDQJapM9RXngNGT4g8FoCq9o7rM5YWNgFFNUiw==} - '@module-federation/runtime-core@0.11.2': - resolution: {integrity: sha512-dia5kKybi6MFU0s5PgglJwN27k7n9Sf69Cy5xZ4BWaP0qlaXTsxHKO0PECHNt2Pt8jDdyU29sQ4DwAQfxpnXJQ==} + '@module-federation/runtime-core@0.13.0': + resolution: {integrity: sha512-Oj/1p0mfxZ+8EbU7ND4gMvRmikFpIvPCbblOgat9N8ZIVAKYpTimCgMhzg4yRqAwzlGCVwnnW7XZ8UlA+Zqrvg==} - '@module-federation/runtime-tools@0.11.2': - resolution: {integrity: sha512-4MJTGAxVq6vxQRkTtTlH7Mm9AVqgn0X9kdu+7RsL7T/qU+jeYsbrntN2CWG3GVVA8r5JddXyTI1iJ0VXQZLV1w==} + '@module-federation/runtime-tools@0.13.0': + resolution: {integrity: sha512-6ECWX18yGrQKcmkrQoNPd5VEpxZP1SMaB/Bp55xlpEhsrpn4zHnriQluxDw6xldjSOLl1qbokfxwCwjS2OaEbg==} - '@module-federation/runtime@0.11.2': - resolution: {integrity: sha512-Ya9u/L6z2LvhgpqxuKCB7LcigIIRf1BbaxAZIH7mzbq/A7rZtTP7v+73E433jvgiAlbAfPSZkeoYGele6hfRwA==} + '@module-federation/runtime@0.13.0': + resolution: {integrity: sha512-Ne/3AEVWz6LL6G/i41O5MC6YYlg0SatNNqG/0XbuMAfyGM+llRmB6VKt0o2+JR4isxWuPNp97TbUkkfORit6Eg==} - '@module-federation/sdk@0.11.2': - resolution: {integrity: sha512-SBFe5xOamluT900J4AGBx+2/kCH/JbfqXoUwPSAC6PRzb8Y7LB0posnOGzmqYsLZXT37vp3d6AmJDsVoajDqxw==} + '@module-federation/sdk@0.13.0': + resolution: {integrity: sha512-JdMZaPD+EQvMJYS+/8/8QjaAHQ3qljogvioXBsAuedcStu/msn5e1Fswc0G34kXY9ixs2hUPZU2cAllfSKWIBQ==} - '@module-federation/webpack-bundler-runtime@0.11.2': - resolution: {integrity: sha512-WdwIE6QF+MKs/PdVu0cKPETF743JB9PZ62/qf7Uo3gU4fjsUMc37RnbJZ/qB60EaHHfjwp1v6NnhZw1r4eVsnw==} + '@module-federation/webpack-bundler-runtime@0.13.0': + resolution: {integrity: sha512-ycgAsFeCTo+3GR8JxkhCyg2UZm6Au98ISdLTdVXYphO4UDcO/KjqyJen1LXEslkpCEohDj68Prei2fUHRruK6g==} '@nebula-services/bare-server-node@2.0.4': resolution: {integrity: sha512-Jcr+QtkLJVmppdbBarEbRp1TtCsL4pjFIcX6+KPURRqcsOP7hZfYclhjmCserwEC7jT+WBduXpFd3qwqeRBNew==} @@ -378,73 +378,66 @@ packages: '@rsdoctor/utils@1.0.2': resolution: {integrity: sha512-TjkZfP0jXGgWm/qFSKbGJANkYzo668fDjbr/YP/RVOKbj+ORi+3q5ieLdDghacM2coXG2xDYrYUmPPKsXU90pg==} - '@rspack/binding-darwin-arm64@1.3.5': - resolution: {integrity: sha512-bhqi9nZ0jrlQc/YgTklzD02y0E8Emdrov6HLcxt/Dzwq5SZryl4Ik8yc/8E1M0PWNkr09+TO8i1Zc51z0Gfu2g==} + '@rspack/binding-darwin-arm64@1.3.8': + resolution: {integrity: sha512-FlfWZzwCxDfLwyiqGaCSINHt2Er1Wno9xZrf2QM7Ss00HyocPo4BUYGYBEi4dai/fPFoeYKeEAdsNdrVmFH4+g==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.3.5': - resolution: {integrity: sha512-ysNn7bd/5NdVb0mTDBQl+D9GypCSS7FJoJJEeSpPcN01zFF8lRUsvdbOvzrG/CUBA2qbeWhwZvG2eKOy3p2NRA==} + '@rspack/binding-darwin-x64@1.3.8': + resolution: {integrity: sha512-IGXDKHDHiL7WxE/OZMaeIuHzqOzDam3k8WrseHAdl5upKvCp/snwwGdulB/rqGxwkQIXIsv105vIFbGOAe2g0A==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.3.5': - resolution: {integrity: sha512-oEfPjYx3RVsMeHG/kI9k96nLJUQhYfQS9HUKS37Ko3RWC84qTuzMAAdWIXE9ys8GHwpks7pL953AfYNK5PLhPw==} + '@rspack/binding-linux-arm64-gnu@1.3.8': + resolution: {integrity: sha512-PU9fv8knPvbxQb8NrDmTrLVpy8QY0vuhzk69/ZuLRW89c0P14HovYeHV+38cQHho4++avUQgVp6vnJI9vSQjtg==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.3.5': - resolution: {integrity: sha512-4cUoxd8nGsCCnqWBqortJRF+VKWzUm7ac9YRMQ+wpoL5i0abcQf8GqeilsNtRBRNqAlAh3mfgRlyeZgWvoS44g==} + '@rspack/binding-linux-arm64-musl@1.3.8': + resolution: {integrity: sha512-UMZBuTw5iXeA6gmtZYQvAb7g56odfoIkU6YvfqV67AMU0EY2y52sc7ABFloDzURJ1xd2om01Nlru8y48S2lMPw==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.3.5': - resolution: {integrity: sha512-JehI/z61Y9wwkcTxbAdPtjUnAyyAUCJZOqP3FwQTAd2gBFG/8k7v1quGwrfOLsCLOcT3azbd8YFoHmkveGQayQ==} + '@rspack/binding-linux-x64-gnu@1.3.8': + resolution: {integrity: sha512-48hfwVsD2/Caa0HgZiqE1T20H89cnomcaP92++x8t4IQ2uKA9xCeBW87RD/AaKXcb78aM987ctE+asKjN8OVjw==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.3.5': - resolution: {integrity: sha512-t8BqaOXrqIXZHTrz4ItX/m6BOvbBkeb7qTewlkN5mMHtPAF/Xg203rQ814VXx59kjgGF7i79PXIK2dQxHnCYDA==} + '@rspack/binding-linux-x64-musl@1.3.8': + resolution: {integrity: sha512-Jx+JlVnLzzVL/62NbEFaVcM2HU4QtNEF+wzo+yODNprx78ZLe3PJT/LdtwLMvE77K2PlGn5CZcmBay6Xwkd/2A==} cpu: [x64] os: [linux] - '@rspack/binding-win32-arm64-msvc@1.3.5': - resolution: {integrity: sha512-k9vf/WgEwxtXzV4la1H6eL07GIlvNjdPdvo1AJZdu0Zcnm600Kv5NSBjySJCp3zUHIKkCE9A0+ibifqbliG0fw==} + '@rspack/binding-win32-arm64-msvc@1.3.8': + resolution: {integrity: sha512-84tifCsYhir/p5GH0knBOXtLpfRzIFDxF4nF4bHsuwaA1uqwyk0WlWGt4ZwRUtyzh0TN4cJdnqJl/f5209BdLw==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.3.5': - resolution: {integrity: sha512-dGfGJySHC/ktbNkK/FY2vEpFNK4UT+fgChhmUxIyQaHWjloFGVmEr6NttS0GtdtvblfF3tTzkTe9pGMIkdlegw==} + '@rspack/binding-win32-ia32-msvc@1.3.8': + resolution: {integrity: sha512-Grrcfr95gRhJ7FbKtIxfhNAzSM+hvtD2jAMs9fmw/UrgiNsXeaWwJaYgImqHGirKIx8iygZ0t1q7ePIVM+SKMg==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.3.5': - resolution: {integrity: sha512-GujYFTr043jse5gdvofsRvltkH/E8G5h3Yu9JG/+6EyQpFJebYm/NpRQrOyqZLIQP39+tbdViTfW4nOpUuurNA==} + '@rspack/binding-win32-x64-msvc@1.3.8': + resolution: {integrity: sha512-wW+Ig3kVqcRcY+3mxZnruN4AdeJYjbEBd2zvheEAOvx/DC+xEQ6czvDXbZEZQQ9rU/znhuKl0Z+898q8l3LwzA==} cpu: [x64] os: [win32] - '@rspack/binding@1.3.5': - resolution: {integrity: sha512-2oluCT+iBnTg0w7XfR8AmfkvgMPSuqEndzhrlHY//qgyyI04CW1lCMgsh+9wcSOUWUKYSOMCiGiVlYFtae5Lcg==} + '@rspack/binding@1.3.8': + resolution: {integrity: sha512-0oGrPgnwDsrDN7Swk7OZGvee8y/AdvDXF3f1QewkueJ5uyDaGszDxipEpf644HWIcj11fgNJQEphGEhaAVjofw==} - '@rspack/cli@1.3.5': - resolution: {integrity: sha512-5SSoGd+OicLKuWvKySAQxrmt6sZzMvOehBcaS7DOM4kr3FSSm2fXbtZDkPZgpakpkNvv6eaOhY7gDz4MxBQAJw==} + '@rspack/cli@1.3.8': + resolution: {integrity: sha512-1zp8LZJWBTqwsrjkKPKi7fDmFvwcdBM+t9gOzdyU/tsjSSP56pyReu0tI7hXdVbi4+/5cg9fePfiUWcJL02jiQ==} hasBin: true peerDependencies: '@rspack/core': ^1.0.0-alpha || ^1.x - '@rspack/tracing': ^1.x - peerDependenciesMeta: - '@rspack/tracing': - optional: true - '@rspack/core@1.3.5': - resolution: {integrity: sha512-PwIpzXj9wjHM0Ohq6geIKPoh3yNb5oSK74gqzs0plR7pTYLbhrjG/1DSV/JLFF4C5WCpLHHiDEX5E0IYm2Aqeg==} + '@rspack/core@1.3.8': + resolution: {integrity: sha512-1zefymDypUROYzGGNa553JR1Ah8En25npwSRIZCuZvfjo6nME6XvjkMxQwhjzMStoqRmFD9+nKUHSiN5jVWWyw==} engines: {node: '>=16.0.0'} peerDependencies: - '@rspack/tracing': ^1.x '@swc/helpers': '>=0.5.1' peerDependenciesMeta: - '@rspack/tracing': - optional: true '@swc/helpers': optional: true @@ -518,8 +511,8 @@ packages: '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} - '@types/node@22.14.1': - resolution: {integrity: sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==} + '@types/node@22.15.3': + resolution: {integrity: sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==} '@types/qs@6.9.18': resolution: {integrity: sha512-kK7dgTYDyGqS+e2Q4aK9X3D7q234CIZ1Bv0q/7Z5IwRDoADNU81xXJK/YVyLbLTZCoIwUoDoffFeF+p/eIklAA==} @@ -539,8 +532,8 @@ packages: '@types/serve-static@1.15.7': resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} - '@types/serviceworker@0.0.131': - resolution: {integrity: sha512-vX2GicwiF97anYjyk4g5x819d/kR5BVwEdeqSQo61WGOZcXaG/TMN6tVzdTRvudU2BTtAqin/sUiwJAtHjffBA==} + '@types/serviceworker@0.0.132': + resolution: {integrity: sha512-t/3jf1pA2EyxfltOT0yjTM4Ys6G8QXYoSoMLMumJ+wFBtVVdY3VkIsijwufswCeuM5Pp7USq2MJrRcFlkAXrRw==} '@types/sockjs@0.3.36': resolution: {integrity: sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==} @@ -551,51 +544,51 @@ packages: '@types/ws@8.18.1': resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==} - '@typescript-eslint/eslint-plugin@8.30.1': - resolution: {integrity: sha512-v+VWphxMjn+1t48/jO4t950D6KR8JaJuNXzi33Ve6P8sEmPr5k6CEXjdGwT6+LodVnEa91EQCtwjWNUCPweo+Q==} + '@typescript-eslint/eslint-plugin@8.31.0': + resolution: {integrity: sha512-evaQJZ/J/S4wisevDvC1KFZkPzRetH8kYZbkgcTRyql3mcKsf+ZFDV1BVWUGTCAW5pQHoqn5gK5b8kn7ou9aFQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' - '@typescript-eslint/parser@8.30.1': - resolution: {integrity: sha512-H+vqmWwT5xoNrXqWs/fesmssOW70gxFlgcMlYcBaWNPIEWDgLa4W9nkSPmhuOgLnXq9QYgkZ31fhDyLhleCsAg==} + '@typescript-eslint/parser@8.31.0': + resolution: {integrity: sha512-67kYYShjBR0jNI5vsf/c3WG4u+zDnCTHTPqVMQguffaWWFs7artgwKmfwdifl+r6XyM5LYLas/dInj2T0SgJyw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' - '@typescript-eslint/scope-manager@8.30.1': - resolution: {integrity: sha512-+C0B6ChFXZkuaNDl73FJxRYT0G7ufVPOSQkqkpM/U198wUwUFOtgo1k/QzFh1KjpBitaK7R1tgjVz6o9HmsRPg==} + '@typescript-eslint/scope-manager@8.31.0': + resolution: {integrity: sha512-knO8UyF78Nt8O/B64i7TlGXod69ko7z6vJD9uhSlm0qkAbGeRUSudcm0+K/4CrRjrpiHfBCjMWlc08Vav1xwcw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.30.1': - resolution: {integrity: sha512-64uBF76bfQiJyHgZISC7vcNz3adqQKIccVoKubyQcOnNcdJBvYOILV1v22Qhsw3tw3VQu5ll8ND6hycgAR5fEA==} + '@typescript-eslint/type-utils@8.31.0': + resolution: {integrity: sha512-DJ1N1GdjI7IS7uRlzJuEDCgDQix3ZVYVtgeWEyhyn4iaoitpMBX6Ndd488mXSx0xah/cONAkEaYyylDyAeHMHg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' - '@typescript-eslint/types@8.30.1': - resolution: {integrity: sha512-81KawPfkuulyWo5QdyG/LOKbspyyiW+p4vpn4bYO7DM/hZImlVnFwrpCTnmNMOt8CvLRr5ojI9nU1Ekpw4RcEw==} + '@typescript-eslint/types@8.31.0': + resolution: {integrity: sha512-Ch8oSjVyYyJxPQk8pMiP2FFGYatqXQfQIaMp+TpuuLlDachRWpUAeEu1u9B/v/8LToehUIWyiKcA/w5hUFRKuQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.30.1': - resolution: {integrity: sha512-kQQnxymiUy9tTb1F2uep9W6aBiYODgq5EMSk6Nxh4Z+BDUoYUSa029ISs5zTzKBFnexQEh71KqwjKnRz58lusQ==} + '@typescript-eslint/typescript-estree@8.31.0': + resolution: {integrity: sha512-xLmgn4Yl46xi6aDSZ9KkyfhhtnYI15/CvHbpOy/eR5NWhK/BK8wc709KKwhAR0m4ZKRP7h07bm4BWUYOCuRpQQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <5.9.0' - '@typescript-eslint/utils@8.30.1': - resolution: {integrity: sha512-T/8q4R9En2tcEsWPQgB5BQ0XJVOtfARcUvOa8yJP3fh9M/mXraLxZrkCfGb6ChrO/V3W+Xbd04RacUEqk1CFEQ==} + '@typescript-eslint/utils@8.31.0': + resolution: {integrity: sha512-qi6uPLt9cjTFxAb1zGNgTob4x9ur7xC6mHQJ8GwEzGMGE9tYniublmJaowOJ9V2jUzxrltTPfdG2nKlWsq0+Ww==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' - '@typescript-eslint/visitor-keys@8.30.1': - resolution: {integrity: sha512-aEhgas7aJ6vZnNFC7K4/vMGDGyOiqWcYZPpIWrTKuTAlsvDNKy2GFDqh9smL+iq069ZvR0YzEeq0B8NJlLzjFA==} + '@typescript-eslint/visitor-keys@8.31.0': + resolution: {integrity: sha512-QcGHmlRHWOl93o64ZUMNewCdwKGU6WItOU52H0djgNmn1EOrhVudrDzXz4OycCRSCPwFCDrE2iIt5vmuUdHxuQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@webassemblyjs/ast@1.14.1': @@ -757,8 +750,8 @@ packages: avvio@9.1.0: resolution: {integrity: sha512-fYASnYi600CsH/j9EQov7lECAniYiBFiiAtBNuZYLA2leLe9qOvZzqYHFjtIj6gD2VMoMLP14834LFWvr4IfDw==} - axios@1.8.4: - resolution: {integrity: sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==} + axios@1.9.0: + resolution: {integrity: sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==} balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -1050,8 +1043,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.5.139: - resolution: {integrity: sha512-GGnRYOTdN5LYpwbIr0rwP/ZHOQSvAF6TG0LSzp28uCBb9JiXHJGmaaKw29qjNJc5bGnnp6kXJqRnGMQoELwi5w==} + electron-to-chromium@1.5.143: + resolution: {integrity: sha512-QqklJMOFBMqe46k8iIOwA9l2hz57V2OKMmP5eSWcUvwx+mASAsbU+wkF1pHjn9ZVSBPrsYWr4/W/95y5SwYg2g==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -1107,8 +1100,8 @@ packages: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} - es-module-lexer@1.6.0: - resolution: {integrity: sha512-qqnD1yMU6tk/jnaMosogGySTZP8YtUgAffA9nMN+E/rjxcfRQ6IEk7IiozUjgxKoFHBGjTLnrHB/YC45r/59EQ==} + es-module-lexer@1.7.0: + resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} es-object-atoms@1.1.1: resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} @@ -1145,8 +1138,8 @@ packages: resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@9.25.0: - resolution: {integrity: sha512-MsBdObhM4cEwkzCiraDv7A6txFXEqtNXOb877TsSp2FCkBNl8JfVQrmiuDqC1IkejT6JLPzYBXx/xAiYhyzgGA==} + eslint@9.25.1: + resolution: {integrity: sha512-E6Mtz9oGQWDCpV12319d59n4tx9zOTXSTmc8BLVxBx+G/0RdM5MvEEJLU9c0+aleoePYYgVTOsRblx433qmhWQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -1348,8 +1341,8 @@ packages: glob-to-regexp@0.4.1: resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} - glob@11.0.1: - resolution: {integrity: sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==} + glob@11.0.2: + resolution: {integrity: sha512-YT7U7Vye+t5fZ/QMkBFrTJ7ZQxInIUjwyAjVj84CYXqgBdv30MFUPGnBR6sQaVq6Is15wYJUsnzTuWaGRBhBAQ==} engines: {node: 20 || >=22} hasBin: true @@ -1992,8 +1985,8 @@ packages: resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} engines: {node: '>= 10.13.0'} - schema-utils@4.3.0: - resolution: {integrity: sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g==} + schema-utils@4.3.2: + resolution: {integrity: sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==} engines: {node: '>= 10.13.0'} secure-json-parse@4.0.0: @@ -2445,9 +2438,9 @@ snapshots: '@discoveryjs/json-ext@0.5.7': {} - '@eslint-community/eslint-utils@4.6.1(eslint@9.25.0)': + '@eslint-community/eslint-utils@4.6.1(eslint@9.25.1)': dependencies: - eslint: 9.25.0 + eslint: 9.25.1 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.1': {} @@ -2480,7 +2473,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@9.25.0': {} + '@eslint/js@9.25.1': {} '@eslint/object-schema@2.1.6': {} @@ -2538,7 +2531,7 @@ snapshots: content-disposition: 0.5.4 fastify-plugin: 5.0.1 fastq: 1.19.1 - glob: 11.0.1 + glob: 11.0.2 '@humanfs/core@0.19.1': {} @@ -2629,30 +2622,30 @@ snapshots: transitivePeerDependencies: - utf-8-validate - '@module-federation/error-codes@0.11.2': {} + '@module-federation/error-codes@0.13.0': {} - '@module-federation/runtime-core@0.11.2': + '@module-federation/runtime-core@0.13.0': dependencies: - '@module-federation/error-codes': 0.11.2 - '@module-federation/sdk': 0.11.2 + '@module-federation/error-codes': 0.13.0 + '@module-federation/sdk': 0.13.0 - '@module-federation/runtime-tools@0.11.2': + '@module-federation/runtime-tools@0.13.0': dependencies: - '@module-federation/runtime': 0.11.2 - '@module-federation/webpack-bundler-runtime': 0.11.2 + '@module-federation/runtime': 0.13.0 + '@module-federation/webpack-bundler-runtime': 0.13.0 - '@module-federation/runtime@0.11.2': + '@module-federation/runtime@0.13.0': dependencies: - '@module-federation/error-codes': 0.11.2 - '@module-federation/runtime-core': 0.11.2 - '@module-federation/sdk': 0.11.2 + '@module-federation/error-codes': 0.13.0 + '@module-federation/runtime-core': 0.13.0 + '@module-federation/sdk': 0.13.0 - '@module-federation/sdk@0.11.2': {} + '@module-federation/sdk@0.13.0': {} - '@module-federation/webpack-bundler-runtime@0.11.2': + '@module-federation/webpack-bundler-runtime@0.13.0': dependencies: - '@module-federation/runtime': 0.11.2 - '@module-federation/sdk': 0.11.2 + '@module-federation/runtime': 0.13.0 + '@module-federation/sdk': 0.13.0 '@nebula-services/bare-server-node@2.0.4(bufferutil@4.0.9)': dependencies: @@ -2695,14 +2688,14 @@ snapshots: '@rsdoctor/client@1.0.2': {} - '@rsdoctor/core@1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1)': + '@rsdoctor/core@1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1)': dependencies: '@rsbuild/plugin-check-syntax': 1.3.0 - '@rsdoctor/graph': 1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1) - '@rsdoctor/sdk': 1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1) - '@rsdoctor/types': 1.0.2(@rspack/core@1.3.5)(webpack@5.97.1) - '@rsdoctor/utils': 1.0.2(@rspack/core@1.3.5)(webpack@5.97.1) - axios: 1.8.4 + '@rsdoctor/graph': 1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1) + '@rsdoctor/sdk': 1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1) + '@rsdoctor/types': 1.0.2(@rspack/core@1.3.8)(webpack@5.97.1) + '@rsdoctor/utils': 1.0.2(@rspack/core@1.3.8)(webpack@5.97.1) + axios: 1.9.0 browserslist-load-config: 1.0.0 enhanced-resolve: 5.12.0 filesize: 10.1.6 @@ -2721,10 +2714,10 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/graph@1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1)': + '@rsdoctor/graph@1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1)': dependencies: - '@rsdoctor/types': 1.0.2(@rspack/core@1.3.5)(webpack@5.97.1) - '@rsdoctor/utils': 1.0.2(@rspack/core@1.3.5)(webpack@5.97.1) + '@rsdoctor/types': 1.0.2(@rspack/core@1.3.8)(webpack@5.97.1) + '@rsdoctor/utils': 1.0.2(@rspack/core@1.3.8)(webpack@5.97.1) lodash.unionby: 4.8.0 socket.io: 4.8.1(bufferutil@4.0.9) source-map: 0.7.4 @@ -2735,14 +2728,14 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/rspack-plugin@1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1)': + '@rsdoctor/rspack-plugin@1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1)': dependencies: - '@rsdoctor/core': 1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1) - '@rsdoctor/graph': 1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1) - '@rsdoctor/sdk': 1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1) - '@rsdoctor/types': 1.0.2(@rspack/core@1.3.5)(webpack@5.97.1) - '@rsdoctor/utils': 1.0.2(@rspack/core@1.3.5)(webpack@5.97.1) - '@rspack/core': 1.3.5 + '@rsdoctor/core': 1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1) + '@rsdoctor/graph': 1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1) + '@rsdoctor/sdk': 1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1) + '@rsdoctor/types': 1.0.2(@rspack/core@1.3.8)(webpack@5.97.1) + '@rsdoctor/utils': 1.0.2(@rspack/core@1.3.8)(webpack@5.97.1) + '@rspack/core': 1.3.8 lodash: 4.17.21 transitivePeerDependencies: - '@rsbuild/core' @@ -2752,12 +2745,12 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/sdk@1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1)': + '@rsdoctor/sdk@1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1)': dependencies: '@rsdoctor/client': 1.0.2 - '@rsdoctor/graph': 1.0.2(@rspack/core@1.3.5)(bufferutil@4.0.9)(webpack@5.97.1) - '@rsdoctor/types': 1.0.2(@rspack/core@1.3.5)(webpack@5.97.1) - '@rsdoctor/utils': 1.0.2(@rspack/core@1.3.5)(webpack@5.97.1) + '@rsdoctor/graph': 1.0.2(@rspack/core@1.3.8)(bufferutil@4.0.9)(webpack@5.97.1) + '@rsdoctor/types': 1.0.2(@rspack/core@1.3.8)(webpack@5.97.1) + '@rsdoctor/utils': 1.0.2(@rspack/core@1.3.8)(webpack@5.97.1) '@types/fs-extra': 11.0.4 body-parser: 1.20.3 cors: 2.8.5 @@ -2777,7 +2770,7 @@ snapshots: - utf-8-validate - webpack - '@rsdoctor/types@1.0.2(@rspack/core@1.3.5)(webpack@5.97.1)': + '@rsdoctor/types@1.0.2(@rspack/core@1.3.8)(webpack@5.97.1)': dependencies: '@types/connect': 3.4.38 '@types/estree': 1.0.5 @@ -2785,12 +2778,12 @@ snapshots: source-map: 0.7.4 webpack: 5.97.1 optionalDependencies: - '@rspack/core': 1.3.5 + '@rspack/core': 1.3.8 - '@rsdoctor/utils@1.0.2(@rspack/core@1.3.5)(webpack@5.97.1)': + '@rsdoctor/utils@1.0.2(@rspack/core@1.3.8)(webpack@5.97.1)': dependencies: '@babel/code-frame': 7.26.2 - '@rsdoctor/types': 1.0.2(@rspack/core@1.3.5)(webpack@5.97.1) + '@rsdoctor/types': 1.0.2(@rspack/core@1.3.8)(webpack@5.97.1) '@types/estree': 1.0.5 acorn: 8.14.1 acorn-import-attributes: 1.9.5(acorn@8.14.1) @@ -2811,50 +2804,50 @@ snapshots: - supports-color - webpack - '@rspack/binding-darwin-arm64@1.3.5': + '@rspack/binding-darwin-arm64@1.3.8': optional: true - '@rspack/binding-darwin-x64@1.3.5': + '@rspack/binding-darwin-x64@1.3.8': optional: true - '@rspack/binding-linux-arm64-gnu@1.3.5': + '@rspack/binding-linux-arm64-gnu@1.3.8': optional: true - '@rspack/binding-linux-arm64-musl@1.3.5': + '@rspack/binding-linux-arm64-musl@1.3.8': optional: true - '@rspack/binding-linux-x64-gnu@1.3.5': + '@rspack/binding-linux-x64-gnu@1.3.8': optional: true - '@rspack/binding-linux-x64-musl@1.3.5': + '@rspack/binding-linux-x64-musl@1.3.8': optional: true - '@rspack/binding-win32-arm64-msvc@1.3.5': + '@rspack/binding-win32-arm64-msvc@1.3.8': optional: true - '@rspack/binding-win32-ia32-msvc@1.3.5': + '@rspack/binding-win32-ia32-msvc@1.3.8': optional: true - '@rspack/binding-win32-x64-msvc@1.3.5': + '@rspack/binding-win32-x64-msvc@1.3.8': optional: true - '@rspack/binding@1.3.5': + '@rspack/binding@1.3.8': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.3.5 - '@rspack/binding-darwin-x64': 1.3.5 - '@rspack/binding-linux-arm64-gnu': 1.3.5 - '@rspack/binding-linux-arm64-musl': 1.3.5 - '@rspack/binding-linux-x64-gnu': 1.3.5 - '@rspack/binding-linux-x64-musl': 1.3.5 - '@rspack/binding-win32-arm64-msvc': 1.3.5 - '@rspack/binding-win32-ia32-msvc': 1.3.5 - '@rspack/binding-win32-x64-msvc': 1.3.5 + '@rspack/binding-darwin-arm64': 1.3.8 + '@rspack/binding-darwin-x64': 1.3.8 + '@rspack/binding-linux-arm64-gnu': 1.3.8 + '@rspack/binding-linux-arm64-musl': 1.3.8 + '@rspack/binding-linux-x64-gnu': 1.3.8 + '@rspack/binding-linux-x64-musl': 1.3.8 + '@rspack/binding-win32-arm64-msvc': 1.3.8 + '@rspack/binding-win32-ia32-msvc': 1.3.8 + '@rspack/binding-win32-x64-msvc': 1.3.8 - '@rspack/cli@1.3.5(@rspack/core@1.3.5)(@types/express@4.17.21)(bufferutil@4.0.9)(webpack@5.97.1)': + '@rspack/cli@1.3.8(@rspack/core@1.3.8)(@types/express@4.17.21)(bufferutil@4.0.9)(webpack@5.97.1)': dependencies: '@discoveryjs/json-ext': 0.5.7 - '@rspack/core': 1.3.5 - '@rspack/dev-server': 1.1.1(@rspack/core@1.3.5)(@types/express@4.17.21)(bufferutil@4.0.9)(webpack@5.97.1) + '@rspack/core': 1.3.8 + '@rspack/dev-server': 1.1.1(@rspack/core@1.3.8)(@types/express@4.17.21)(bufferutil@4.0.9)(webpack@5.97.1) colorette: 2.0.20 exit-hook: 4.0.0 interpret: 3.1.1 @@ -2870,16 +2863,16 @@ snapshots: - webpack - webpack-cli - '@rspack/core@1.3.5': + '@rspack/core@1.3.8': dependencies: - '@module-federation/runtime-tools': 0.11.2 - '@rspack/binding': 1.3.5 + '@module-federation/runtime-tools': 0.13.0 + '@rspack/binding': 1.3.8 '@rspack/lite-tapable': 1.0.1 caniuse-lite: 1.0.30001715 - '@rspack/dev-server@1.1.1(@rspack/core@1.3.5)(@types/express@4.17.21)(bufferutil@4.0.9)(webpack@5.97.1)': + '@rspack/dev-server@1.1.1(@rspack/core@1.3.8)(@types/express@4.17.21)(bufferutil@4.0.9)(webpack@5.97.1)': dependencies: - '@rspack/core': 1.3.5 + '@rspack/core': 1.3.8 chokidar: 3.6.0 express: 4.21.2 http-proxy-middleware: 2.0.9(@types/express@4.17.21) @@ -2904,24 +2897,24 @@ snapshots: '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/bonjour@3.5.13': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/connect-history-api-fallback@1.5.4': dependencies: '@types/express-serve-static-core': 5.0.6 - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/connect@3.4.38': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/cors@2.8.17': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/eslint-scope@3.7.7': dependencies: @@ -2939,14 +2932,14 @@ snapshots: '@types/express-serve-static-core@4.19.6': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/qs': 6.9.18 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 '@types/express-serve-static-core@5.0.6': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/qs': 6.9.18 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -2961,27 +2954,27 @@ snapshots: '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/http-errors@2.0.4': {} '@types/http-proxy@1.17.16': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/json-schema@7.0.15': {} '@types/jsonfile@6.1.4': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/mime@1.3.5': {} '@types/node-forge@1.3.11': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 - '@types/node@22.14.1': + '@types/node@22.15.3': dependencies: undici-types: 6.21.0 @@ -2994,7 +2987,7 @@ snapshots: '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/serve-index@1.9.4': dependencies: @@ -3003,14 +2996,14 @@ snapshots: '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/send': 0.17.4 - '@types/serviceworker@0.0.131': {} + '@types/serviceworker@0.0.132': {} '@types/sockjs@0.3.36': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 '@types/tapable@2.2.7': dependencies: @@ -3018,17 +3011,17 @@ snapshots: '@types/ws@8.18.1': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 - '@typescript-eslint/eslint-plugin@8.30.1(@typescript-eslint/parser@8.30.1(eslint@9.25.0)(typescript@5.8.3))(eslint@9.25.0)(typescript@5.8.3)': + '@typescript-eslint/eslint-plugin@8.31.0(@typescript-eslint/parser@8.31.0(eslint@9.25.1)(typescript@5.8.3))(eslint@9.25.1)(typescript@5.8.3)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.30.1(eslint@9.25.0)(typescript@5.8.3) - '@typescript-eslint/scope-manager': 8.30.1 - '@typescript-eslint/type-utils': 8.30.1(eslint@9.25.0)(typescript@5.8.3) - '@typescript-eslint/utils': 8.30.1(eslint@9.25.0)(typescript@5.8.3) - '@typescript-eslint/visitor-keys': 8.30.1 - eslint: 9.25.0 + '@typescript-eslint/parser': 8.31.0(eslint@9.25.1)(typescript@5.8.3) + '@typescript-eslint/scope-manager': 8.31.0 + '@typescript-eslint/type-utils': 8.31.0(eslint@9.25.1)(typescript@5.8.3) + '@typescript-eslint/utils': 8.31.0(eslint@9.25.1)(typescript@5.8.3) + '@typescript-eslint/visitor-keys': 8.31.0 + eslint: 9.25.1 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 @@ -3037,40 +3030,40 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.30.1(eslint@9.25.0)(typescript@5.8.3)': + '@typescript-eslint/parser@8.31.0(eslint@9.25.1)(typescript@5.8.3)': dependencies: - '@typescript-eslint/scope-manager': 8.30.1 - '@typescript-eslint/types': 8.30.1 - '@typescript-eslint/typescript-estree': 8.30.1(typescript@5.8.3) - '@typescript-eslint/visitor-keys': 8.30.1 + '@typescript-eslint/scope-manager': 8.31.0 + '@typescript-eslint/types': 8.31.0 + '@typescript-eslint/typescript-estree': 8.31.0(typescript@5.8.3) + '@typescript-eslint/visitor-keys': 8.31.0 debug: 4.4.0 - eslint: 9.25.0 + eslint: 9.25.1 typescript: 5.8.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.30.1': + '@typescript-eslint/scope-manager@8.31.0': dependencies: - '@typescript-eslint/types': 8.30.1 - '@typescript-eslint/visitor-keys': 8.30.1 + '@typescript-eslint/types': 8.31.0 + '@typescript-eslint/visitor-keys': 8.31.0 - '@typescript-eslint/type-utils@8.30.1(eslint@9.25.0)(typescript@5.8.3)': + '@typescript-eslint/type-utils@8.31.0(eslint@9.25.1)(typescript@5.8.3)': dependencies: - '@typescript-eslint/typescript-estree': 8.30.1(typescript@5.8.3) - '@typescript-eslint/utils': 8.30.1(eslint@9.25.0)(typescript@5.8.3) + '@typescript-eslint/typescript-estree': 8.31.0(typescript@5.8.3) + '@typescript-eslint/utils': 8.31.0(eslint@9.25.1)(typescript@5.8.3) debug: 4.4.0 - eslint: 9.25.0 + eslint: 9.25.1 ts-api-utils: 2.1.0(typescript@5.8.3) typescript: 5.8.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/types@8.30.1': {} + '@typescript-eslint/types@8.31.0': {} - '@typescript-eslint/typescript-estree@8.30.1(typescript@5.8.3)': + '@typescript-eslint/typescript-estree@8.31.0(typescript@5.8.3)': dependencies: - '@typescript-eslint/types': 8.30.1 - '@typescript-eslint/visitor-keys': 8.30.1 + '@typescript-eslint/types': 8.31.0 + '@typescript-eslint/visitor-keys': 8.31.0 debug: 4.4.0 fast-glob: 3.3.3 is-glob: 4.0.3 @@ -3081,20 +3074,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.30.1(eslint@9.25.0)(typescript@5.8.3)': + '@typescript-eslint/utils@8.31.0(eslint@9.25.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.6.1(eslint@9.25.0) - '@typescript-eslint/scope-manager': 8.30.1 - '@typescript-eslint/types': 8.30.1 - '@typescript-eslint/typescript-estree': 8.30.1(typescript@5.8.3) - eslint: 9.25.0 + '@eslint-community/eslint-utils': 4.6.1(eslint@9.25.1) + '@typescript-eslint/scope-manager': 8.31.0 + '@typescript-eslint/types': 8.31.0 + '@typescript-eslint/typescript-estree': 8.31.0(typescript@5.8.3) + eslint: 9.25.1 typescript: 5.8.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/visitor-keys@8.30.1': + '@typescript-eslint/visitor-keys@8.31.0': dependencies: - '@typescript-eslint/types': 8.30.1 + '@typescript-eslint/types': 8.31.0 eslint-visitor-keys: 4.2.0 '@webassemblyjs/ast@1.14.1': @@ -3265,7 +3258,7 @@ snapshots: '@fastify/error': 4.1.0 fastq: 1.19.1 - axios@1.8.4: + axios@1.9.0: dependencies: follow-redirects: 1.15.9 form-data: 4.0.2 @@ -3325,7 +3318,7 @@ snapshots: browserslist@4.24.4: dependencies: caniuse-lite: 1.0.30001715 - electron-to-chromium: 1.5.139 + electron-to-chromium: 1.5.143 node-releases: 2.0.19 update-browserslist-db: 1.1.3(browserslist@4.24.4) @@ -3543,7 +3536,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.5.139: {} + electron-to-chromium@1.5.143: {} emoji-regex@8.0.0: {} @@ -3558,7 +3551,7 @@ snapshots: engine.io@6.6.4(bufferutil@4.0.9): dependencies: '@types/cors': 2.8.17 - '@types/node': 22.14.1 + '@types/node': 22.15.3 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.7.2 @@ -3593,7 +3586,7 @@ snapshots: es-errors@1.3.0: {} - es-module-lexer@1.6.0: {} + es-module-lexer@1.7.0: {} es-object-atoms@1.1.1: dependencies: @@ -3626,15 +3619,15 @@ snapshots: eslint-visitor-keys@4.2.0: {} - eslint@9.25.0: + eslint@9.25.1: dependencies: - '@eslint-community/eslint-utils': 4.6.1(eslint@9.25.0) + '@eslint-community/eslint-utils': 4.6.1(eslint@9.25.1) '@eslint-community/regexpp': 4.12.1 '@eslint/config-array': 0.20.0 '@eslint/config-helpers': 0.2.1 '@eslint/core': 0.13.0 '@eslint/eslintrc': 3.3.1 - '@eslint/js': 9.25.0 + '@eslint/js': 9.25.1 '@eslint/plugin-kit': 0.2.8 '@humanfs/node': 0.16.6 '@humanwhocodes/module-importer': 1.0.1 @@ -3909,7 +3902,7 @@ snapshots: glob-to-regexp@0.4.1: {} - glob@11.0.1: + glob@11.0.2: dependencies: foreground-child: 3.3.1 jackspeak: 4.1.0 @@ -4081,7 +4074,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -4463,7 +4456,7 @@ snapshots: ajv: 6.12.6 ajv-keywords: 3.5.2(ajv@6.12.6) - schema-utils@4.3.0: + schema-utils@4.3.2: dependencies: '@types/json-schema': 7.0.15 ajv: 8.17.1 @@ -4702,7 +4695,7 @@ snapshots: dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 - schema-utils: 4.3.0 + schema-utils: 4.3.2 serialize-javascript: 6.0.2 terser: 5.39.0 webpack: 5.97.1 @@ -4825,7 +4818,7 @@ snapshots: mime-types: 2.1.35 on-finished: 2.4.1 range-parser: 1.2.1 - schema-utils: 4.3.0 + schema-utils: 4.3.2 optionalDependencies: webpack: 5.97.1 @@ -4851,7 +4844,7 @@ snapshots: launch-editor: 2.10.0 open: 10.1.1 p-retry: 6.2.1 - schema-utils: 4.3.0 + schema-utils: 4.3.2 selfsigned: 2.4.1 serve-index: 1.9.1 sockjs: 0.3.24 @@ -4879,7 +4872,7 @@ snapshots: browserslist: 4.24.4 chrome-trace-event: 1.0.4 enhanced-resolve: 5.18.1 - es-module-lexer: 1.6.0 + es-module-lexer: 1.7.0 eslint-scope: 5.1.1 events: 3.3.0 glob-to-regexp: 0.4.1 diff --git a/rspack.config.js b/rspack.config.js index ba49050..f05aeb3 100644 --- a/rspack.config.js +++ b/rspack.config.js @@ -29,14 +29,12 @@ export default defineConfig({ loader: "builtin:swc-loader", exclude: ["/node_modules/"], options: { - asdasdasds: new Error(), jsc: { parser: { syntax: "typescript", }, target: "es2022", }, - strictMode: false, module: { type: "es6", strict: false, diff --git a/src/client/shared/event.ts b/src/client/shared/event.ts index 1190a3e..aadddc5 100644 --- a/src/client/shared/event.ts +++ b/src/client/shared/event.ts @@ -1,4 +1,5 @@ import { iswindow } from ".."; +import { unrewriteUrl } from "../../shared"; import { SCRAMJETCLIENT } from "../../symbols"; import { ScramjetClient } from "../client"; import { getOwnPropertyDescriptorHandler } from "../helpers"; @@ -44,6 +45,14 @@ export default function (client: ScramjetClient, self: Self) { return this.data; }, }, + hashchange: { + oldUrl() { + return unrewriteUrl(this.oldUrl); + }, + newURL() { + return unrewriteUrl(this.newURL); + }, + }, }; function wraplistener(listener: (...args: any) => any) {