diff --git a/frontend/package-lock.json b/frontend/package-lock.json index adc4de99e..5d6441b54 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -13,7 +13,7 @@ "@radix-ui/react-collapsible": "^1.1.12", "@radix-ui/react-dialog": "^1.1.15", "@tanstack/react-query": "^5.90.2", - "@tanstack/react-router": "^1.131.44", + "@tanstack/react-router": "^1.132.47", "@vector-im/compound-design-tokens": "6.0.0", "@vector-im/compound-web": "^8.2.4", "@zxcvbn-ts/core": "^3.0.4", @@ -39,8 +39,8 @@ "@storybook/addon-docs": "^9.1.10", "@storybook/react-vite": "^9.1.10", "@tanstack/react-query-devtools": "^5.90.2", - "@tanstack/react-router-devtools": "^1.131.44", - "@tanstack/router-plugin": "^1.131.44", + "@tanstack/react-router-devtools": "^1.132.50", + "@tanstack/router-plugin": "^1.132.47", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", @@ -5317,9 +5317,9 @@ } }, "node_modules/@tanstack/history": { - "version": "1.131.2", - "resolved": "https://registry.npmjs.org/@tanstack/history/-/history-1.131.2.tgz", - "integrity": "sha512-cs1WKawpXIe+vSTeiZUuSBy8JFjEuDgdMKZFRLKwQysKo8y2q6Q1HvS74Yw+m5IhOW1nTZooa6rlgdfXcgFAaw==", + "version": "1.132.31", + "resolved": "https://registry.npmjs.org/@tanstack/history/-/history-1.132.31.tgz", + "integrity": "sha512-UCHM2uS0t/uSszqPEo+SBSSoQVeQ+LlOWAVBl5SA7+AedeAbKafIPjFn8huZCXNLAYb0WKV2+wETr7lDK9uz7g==", "license": "MIT", "engines": { "node": ">=12" @@ -5385,14 +5385,14 @@ } }, "node_modules/@tanstack/react-router": { - "version": "1.131.44", - "resolved": "https://registry.npmjs.org/@tanstack/react-router/-/react-router-1.131.44.tgz", - "integrity": "sha512-LREJfrl8lSedXHCRAAt0HvnHFP9ikAQWnVhYRM++B26w4ZYQBbLvgCT1BCDZVY7MR6rslcd4OfgpZMOyVhNzFg==", + "version": "1.132.47", + "resolved": "https://registry.npmjs.org/@tanstack/react-router/-/react-router-1.132.47.tgz", + "integrity": "sha512-mjCN1ueVLHBOK1gqLeacCrUPBZietMKTkr7xZlC32dCGn4e+83zMSlRTS2TrEl7+wEH+bqjnoyx8ALYTSiQ1Cg==", "license": "MIT", "dependencies": { - "@tanstack/history": "1.131.2", + "@tanstack/history": "1.132.31", "@tanstack/react-store": "^0.7.0", - "@tanstack/router-core": "1.131.44", + "@tanstack/router-core": "1.132.47", "isbot": "^5.1.22", "tiny-invariant": "^1.3.3", "tiny-warning": "^1.0.3" @@ -5410,13 +5410,14 @@ } }, "node_modules/@tanstack/react-router-devtools": { - "version": "1.131.44", - "resolved": "https://registry.npmjs.org/@tanstack/react-router-devtools/-/react-router-devtools-1.131.44.tgz", - "integrity": "sha512-JGICSLe3ZIqayo2Pz9bpCBLrK8NIruYSQoe/JkZimSGltV3HU+uPb1dohw0CpyxVuhx+tDqFBzq4cDPCABs4/w==", + "version": "1.132.50", + "resolved": "https://registry.npmjs.org/@tanstack/react-router-devtools/-/react-router-devtools-1.132.50.tgz", + "integrity": "sha512-OMtjhVvoTPliBIPLoiGdiJKgX/D5rt65xC9+yvI3Y0z6007SzDEbKLBt1Fke630bygcZlOfOjcprruqjJ1FojQ==", "dev": true, "license": "MIT", "dependencies": { - "@tanstack/router-devtools-core": "1.131.44" + "@tanstack/router-devtools-core": "1.132.50", + "vite": "^7.1.7" }, "engines": { "node": ">=12" @@ -5426,21 +5427,22 @@ "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "@tanstack/react-router": "^1.131.44", + "@tanstack/react-router": "^1.132.47", "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0" } }, "node_modules/@tanstack/react-router-devtools/node_modules/@tanstack/router-devtools-core": { - "version": "1.131.44", - "resolved": "https://registry.npmjs.org/@tanstack/router-devtools-core/-/router-devtools-core-1.131.44.tgz", - "integrity": "sha512-ZpQfRERLAjZ2NBdFOWjlrbMzQ+23aGs+9324KVdLzZkcd1lc0ztpLb5HAGtqLXfncvO60TfiRz106ygjKsaJow==", + "version": "1.132.50", + "resolved": "https://registry.npmjs.org/@tanstack/router-devtools-core/-/router-devtools-core-1.132.50.tgz", + "integrity": "sha512-6oMevkpk06Ia3AaUHs02UQulQz8PZyYcs/U0BinVF42B8JTFlRp++HXRX4hgBnVlv81bylUnMbJ6sYASeQySUQ==", "dev": true, "license": "MIT", "dependencies": { "clsx": "^2.1.1", "goober": "^2.1.16", - "solid-js": "^1.9.5" + "solid-js": "^1.9.5", + "vite": "^7.1.7" }, "engines": { "node": ">=12" @@ -5450,7 +5452,7 @@ "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "@tanstack/router-core": "^1.131.44", + "@tanstack/router-core": "^1.132.47", "csstype": "^3.0.10", "solid-js": ">=1.9.5", "tiny-invariant": "^1.3.3" @@ -5480,14 +5482,14 @@ } }, "node_modules/@tanstack/router-core": { - "version": "1.131.44", - "resolved": "https://registry.npmjs.org/@tanstack/router-core/-/router-core-1.131.44.tgz", - "integrity": "sha512-Npi9xB3GSYZhRW8+gPhP6bEbyx0vNc8ZNwsi0JapdiFpIiszgRJ57pesy/rklruv46gYQjLVA5KDOsuaCT/urA==", + "version": "1.132.47", + "resolved": "https://registry.npmjs.org/@tanstack/router-core/-/router-core-1.132.47.tgz", + "integrity": "sha512-8YKFHmG6VUqXaWAJzEqjyW6w31dARS2USd2mtI5ZeZcihqMbskK28N4iotBXNn+sSKJnPRjc7A4jTnnEf8Mn8Q==", "license": "MIT", "dependencies": { - "@tanstack/history": "1.131.2", + "@tanstack/history": "1.132.31", "@tanstack/store": "^0.7.0", - "cookie-es": "^1.2.2", + "cookie-es": "^2.0.0", "seroval": "^1.3.2", "seroval-plugins": "^1.3.2", "tiny-invariant": "^1.3.3", @@ -5502,15 +5504,15 @@ } }, "node_modules/@tanstack/router-generator": { - "version": "1.131.44", - "resolved": "https://registry.npmjs.org/@tanstack/router-generator/-/router-generator-1.131.44.tgz", - "integrity": "sha512-CnrlRkGatdQXdvTteflOTMANupb1z59CO3DSV+UzBkTG+g+vfWgJeKQ0EkfwZ2QuS6Su2v5r5EMHs/AookeZZw==", + "version": "1.132.47", + "resolved": "https://registry.npmjs.org/@tanstack/router-generator/-/router-generator-1.132.47.tgz", + "integrity": "sha512-t3HHDWRQ4CDkm141I7pl1xQf6vehNG54m5h/2DqJGugYkP4C1x0jxqzgCbek2SuuGocS1P+NrWQeyNFmkUIgEA==", "dev": true, "license": "MIT", "dependencies": { - "@tanstack/router-core": "1.131.44", - "@tanstack/router-utils": "1.131.2", - "@tanstack/virtual-file-routes": "1.131.2", + "@tanstack/router-core": "1.132.47", + "@tanstack/router-utils": "1.132.31", + "@tanstack/virtual-file-routes": "1.132.31", "prettier": "^3.5.0", "recast": "^0.23.11", "source-map": "^0.7.4", @@ -5526,9 +5528,9 @@ } }, "node_modules/@tanstack/router-plugin": { - "version": "1.131.44", - "resolved": "https://registry.npmjs.org/@tanstack/router-plugin/-/router-plugin-1.131.44.tgz", - "integrity": "sha512-CvheUPlB8vxXf23RSDz6q97l1EI5H3f+1qJ/LEBvy7bhls8vYouJ3xyTeu4faz8bEEieLUoVQrCcr+xFY0lkuw==", + "version": "1.132.47", + "resolved": "https://registry.npmjs.org/@tanstack/router-plugin/-/router-plugin-1.132.47.tgz", + "integrity": "sha512-E/BDgWavv7t0Szp4daIzSoeNiyJaKnN1gofb/ViLbepgHFQUAxuBwqIf+o+hYDggvENcFrYnai1T03PsSyuZ3Q==", "dev": true, "license": "MIT", "dependencies": { @@ -5538,10 +5540,10 @@ "@babel/template": "^7.27.2", "@babel/traverse": "^7.27.7", "@babel/types": "^7.27.7", - "@tanstack/router-core": "1.131.44", - "@tanstack/router-generator": "1.131.44", - "@tanstack/router-utils": "1.131.2", - "@tanstack/virtual-file-routes": "1.131.2", + "@tanstack/router-core": "1.132.47", + "@tanstack/router-generator": "1.132.47", + "@tanstack/router-utils": "1.132.31", + "@tanstack/virtual-file-routes": "1.132.31", "babel-dead-code-elimination": "^1.0.10", "chokidar": "^3.6.0", "unplugin": "^2.1.2", @@ -5556,9 +5558,9 @@ }, "peerDependencies": { "@rsbuild/core": ">=1.0.2", - "@tanstack/react-router": "^1.131.44", - "vite": ">=5.0.0 || >=6.0.0", - "vite-plugin-solid": "^2.11.2", + "@tanstack/react-router": "^1.132.47", + "vite": ">=5.0.0 || >=6.0.0 || >=7.0.0", + "vite-plugin-solid": "^2.11.8", "webpack": ">=5.92.0" }, "peerDependenciesMeta": { @@ -5596,9 +5598,9 @@ } }, "node_modules/@tanstack/router-utils": { - "version": "1.131.2", - "resolved": "https://registry.npmjs.org/@tanstack/router-utils/-/router-utils-1.131.2.tgz", - "integrity": "sha512-sr3x0d2sx9YIJoVth0QnfEcAcl+39sQYaNQxThtHmRpyeFYNyM2TTH+Ud3TNEnI3bbzmLYEUD+7YqB987GzhDA==", + "version": "1.132.31", + "resolved": "https://registry.npmjs.org/@tanstack/router-utils/-/router-utils-1.132.31.tgz", + "integrity": "sha512-uf8mQ3wV58K8TL5XXBoWhkYxmCV7LLWbbf6AvcxdhnCnBNmXBGlY+T8RdsRnXyI2Iyp2HfHaVZ+8H3CEQedXfw==", "dev": true, "license": "MIT", "dependencies": { @@ -5607,7 +5609,9 @@ "@babel/parser": "^7.27.5", "@babel/preset-typescript": "^7.27.1", "ansis": "^4.1.0", - "diff": "^8.0.2" + "diff": "^8.0.2", + "fast-glob": "^3.3.3", + "pathe": "^2.0.3" }, "engines": { "node": ">=12" @@ -5628,9 +5632,9 @@ } }, "node_modules/@tanstack/virtual-file-routes": { - "version": "1.131.2", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-file-routes/-/virtual-file-routes-1.131.2.tgz", - "integrity": "sha512-VEEOxc4mvyu67O+Bl0APtYjwcNRcL9it9B4HKbNgcBTIOEalhk+ufBl4kiqc8WP1sx1+NAaiS+3CcJBhrqaSRg==", + "version": "1.132.31", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-file-routes/-/virtual-file-routes-1.132.31.tgz", + "integrity": "sha512-rxS8Cm2nIXroLqkm9pE/8X2lFNuvcTIIiFi5VH4PwzvKscAuaW3YRMN1WmaGDI2mVEn+GLaoY6Kc3jOczL5i4w==", "dev": true, "license": "MIT", "engines": { @@ -6296,9 +6300,9 @@ } }, "node_modules/ansis": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansis/-/ansis-4.1.0.tgz", - "integrity": "sha512-BGcItUBWSMRgOCe+SVZJ+S7yTRG0eGt9cXAHev72yuGcY23hnLA7Bky5L/xLyPINoSN95geovfBkqoTlNZYa7w==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/ansis/-/ansis-4.2.0.tgz", + "integrity": "sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==", "dev": true, "license": "ISC", "engines": { @@ -7379,9 +7383,9 @@ } }, "node_modules/cookie-es": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-1.2.2.tgz", - "integrity": "sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-2.0.0.tgz", + "integrity": "sha512-RAj4E421UYRgqokKUmotqAwuplYw15qtdXfY+hGzgCJ/MBjCVZcSoHK/kH9kocfjRjcDME7IiDWR/1WX1TM2Pg==", "license": "MIT" }, "node_modules/core-util-is": { @@ -8480,9 +8484,9 @@ } }, "node_modules/goober": { - "version": "2.1.16", - "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.16.tgz", - "integrity": "sha512-erjk19y1U33+XAMe1VTvIONHYoSqE4iS7BYUZfHaqeohLmnC0FdxEh7rQU+6MZ4OajItzjZFSRtVANrQwNq6/g==", + "version": "2.1.18", + "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.18.tgz", + "integrity": "sha512-2vFqsaDVIT9Gz7N6kAL++pLpp41l3PfDuusHcjnGLfR6+huZkl6ziX+zgVC3ZxpqWhzH6pyDdGrCeDhMIvwaxw==", "dev": true, "license": "MIT", "peerDependencies": { diff --git a/frontend/package.json b/frontend/package.json index 9dffe59a4..693552464 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -23,7 +23,7 @@ "@radix-ui/react-collapsible": "^1.1.12", "@radix-ui/react-dialog": "^1.1.15", "@tanstack/react-query": "^5.90.2", - "@tanstack/react-router": "^1.131.44", + "@tanstack/react-router": "^1.132.47", "@vector-im/compound-design-tokens": "6.0.0", "@vector-im/compound-web": "^8.2.4", "@zxcvbn-ts/core": "^3.0.4", @@ -49,8 +49,8 @@ "@storybook/addon-docs": "^9.1.10", "@storybook/react-vite": "^9.1.10", "@tanstack/react-query-devtools": "^5.90.2", - "@tanstack/react-router-devtools": "^1.131.44", - "@tanstack/router-plugin": "^1.131.44", + "@tanstack/react-router-devtools": "^1.132.50", + "@tanstack/router-plugin": "^1.132.47", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", diff --git a/frontend/src/routeTree.gen.ts b/frontend/src/routeTree.gen.ts index b3a112826..4338a8008 100644 --- a/frontend/src/routeTree.gen.ts +++ b/frontend/src/routeTree.gen.ts @@ -243,13 +243,6 @@ export interface RootRouteChildren { declare module '@tanstack/react-router' { interface FileRoutesByPath { - '/_account': { - id: '/_account' - path: '' - fullPath: '' - preLoaderRoute: typeof AccountRouteImport - parentRoute: typeof rootRouteImport - } '/reset-cross-signing': { id: '/reset-cross-signing' path: '/reset-cross-signing' @@ -257,33 +250,26 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof ResetCrossSigningRouteImport parentRoute: typeof rootRouteImport } - '/clients/$id': { - id: '/clients/$id' - path: '/clients/$id' - fullPath: '/clients/$id' - preLoaderRoute: typeof ClientsIdRouteImport - parentRoute: typeof rootRouteImport - } - '/devices/$': { - id: '/devices/$' - path: '/devices/$' - fullPath: '/devices/$' - preLoaderRoute: typeof DevicesSplatRouteImport + '/_account': { + id: '/_account' + path: '' + fullPath: '' + preLoaderRoute: typeof AccountRouteImport parentRoute: typeof rootRouteImport } - '/reset-cross-signing/cancelled': { - id: '/reset-cross-signing/cancelled' - path: '/cancelled' - fullPath: '/reset-cross-signing/cancelled' - preLoaderRoute: typeof ResetCrossSigningCancelledRouteImport + '/reset-cross-signing/': { + id: '/reset-cross-signing/' + path: '/' + fullPath: '/reset-cross-signing/' + preLoaderRoute: typeof ResetCrossSigningIndexRouteImport parentRoute: typeof ResetCrossSigningRoute } - '/reset-cross-signing/success': { - id: '/reset-cross-signing/success' - path: '/success' - fullPath: '/reset-cross-signing/success' - preLoaderRoute: typeof ResetCrossSigningSuccessRouteImport - parentRoute: typeof ResetCrossSigningRoute + '/_account/': { + id: '/_account/' + path: '/' + fullPath: '/' + preLoaderRoute: typeof AccountIndexRouteImport + parentRoute: typeof AccountRoute } '/sessions/$id': { id: '/sessions/$id' @@ -292,48 +278,55 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof SessionsIdRouteImport parentRoute: typeof rootRouteImport } - '/_account/': { - id: '/_account/' - path: '/' - fullPath: '/' - preLoaderRoute: typeof AccountIndexRouteImport - parentRoute: typeof AccountRoute + '/reset-cross-signing/success': { + id: '/reset-cross-signing/success' + path: '/success' + fullPath: '/reset-cross-signing/success' + preLoaderRoute: typeof ResetCrossSigningSuccessRouteImport + parentRoute: typeof ResetCrossSigningRoute } - '/reset-cross-signing/': { - id: '/reset-cross-signing/' - path: '/' - fullPath: '/reset-cross-signing/' - preLoaderRoute: typeof ResetCrossSigningIndexRouteImport + '/reset-cross-signing/cancelled': { + id: '/reset-cross-signing/cancelled' + path: '/cancelled' + fullPath: '/reset-cross-signing/cancelled' + preLoaderRoute: typeof ResetCrossSigningCancelledRouteImport parentRoute: typeof ResetCrossSigningRoute } - '/_account/sessions/browsers': { - id: '/_account/sessions/browsers' - path: '/sessions/browsers' - fullPath: '/sessions/browsers' - preLoaderRoute: typeof AccountSessionsBrowsersRouteImport - parentRoute: typeof AccountRoute + '/devices/$': { + id: '/devices/$' + path: '/devices/$' + fullPath: '/devices/$' + preLoaderRoute: typeof DevicesSplatRouteImport + parentRoute: typeof rootRouteImport } - '/emails/$id/in-use': { - id: '/emails/$id/in-use' - path: '/emails/$id/in-use' - fullPath: '/emails/$id/in-use' - preLoaderRoute: typeof EmailsIdInUseRouteImport + '/clients/$id': { + id: '/clients/$id' + path: '/clients/$id' + fullPath: '/clients/$id' + preLoaderRoute: typeof ClientsIdRouteImport parentRoute: typeof rootRouteImport } - '/emails/$id/verify': { - id: '/emails/$id/verify' - path: '/emails/$id/verify' - fullPath: '/emails/$id/verify' - preLoaderRoute: typeof EmailsIdVerifyRouteImport + '/password/recovery/': { + id: '/password/recovery/' + path: '/password/recovery' + fullPath: '/password/recovery' + preLoaderRoute: typeof PasswordRecoveryIndexRouteImport parentRoute: typeof rootRouteImport } - '/password/change/success': { - id: '/password/change/success' - path: '/password/change/success' - fullPath: '/password/change/success' - preLoaderRoute: typeof PasswordChangeSuccessRouteImport + '/password/change/': { + id: '/password/change/' + path: '/password/change' + fullPath: '/password/change' + preLoaderRoute: typeof PasswordChangeIndexRouteImport parentRoute: typeof rootRouteImport } + '/_account/sessions/': { + id: '/_account/sessions/' + path: '/sessions' + fullPath: '/sessions' + preLoaderRoute: typeof AccountSessionsIndexRouteImport + parentRoute: typeof AccountRoute + } '/_account/plan/': { id: '/_account/plan/' path: '/plan' @@ -341,27 +334,34 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof AccountPlanIndexRouteImport parentRoute: typeof AccountRoute } - '/_account/sessions/': { - id: '/_account/sessions/' - path: '/sessions' - fullPath: '/sessions' - preLoaderRoute: typeof AccountSessionsIndexRouteImport - parentRoute: typeof AccountRoute + '/password/change/success': { + id: '/password/change/success' + path: '/password/change/success' + fullPath: '/password/change/success' + preLoaderRoute: typeof PasswordChangeSuccessRouteImport + parentRoute: typeof rootRouteImport } - '/password/change/': { - id: '/password/change/' - path: '/password/change' - fullPath: '/password/change' - preLoaderRoute: typeof PasswordChangeIndexRouteImport + '/emails/$id/verify': { + id: '/emails/$id/verify' + path: '/emails/$id/verify' + fullPath: '/emails/$id/verify' + preLoaderRoute: typeof EmailsIdVerifyRouteImport parentRoute: typeof rootRouteImport } - '/password/recovery/': { - id: '/password/recovery/' - path: '/password/recovery' - fullPath: '/password/recovery' - preLoaderRoute: typeof PasswordRecoveryIndexRouteImport + '/emails/$id/in-use': { + id: '/emails/$id/in-use' + path: '/emails/$id/in-use' + fullPath: '/emails/$id/in-use' + preLoaderRoute: typeof EmailsIdInUseRouteImport parentRoute: typeof rootRouteImport } + '/_account/sessions/browsers': { + id: '/_account/sessions/browsers' + path: '/sessions/browsers' + fullPath: '/sessions/browsers' + preLoaderRoute: typeof AccountSessionsBrowsersRouteImport + parentRoute: typeof AccountRoute + } } }