From a7474cbbbdc9cfb56643a273451e5d8e4453eaad Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Thu, 25 Apr 2024 11:26:05 -0700 Subject: [PATCH] Update dependencies, change generate token based on new lucia method, and replace fails. --- package.json | 14 +- pnpm-lock.yaml | 681 +++++++----------- src/lib/server/auth-utils.ts | 26 +- src/lib/types.ts | 2 +- .../collections/[id]/+page.server.ts | 17 +- 5 files changed, 284 insertions(+), 456 deletions(-) diff --git a/package.json b/package.json index bb04c4c..fb6b7ad 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ }, "devDependencies": { "@melt-ui/pp": "^0.3.1", - "@melt-ui/svelte": "^0.76.3", + "@melt-ui/svelte": "^0.77.0", "@playwright/test": "^1.43.1", "@resvg/resvg-js": "^2.6.2", "@sveltejs/adapter-auto": "^3.2.0", @@ -52,21 +52,21 @@ "satori": "^0.10.13", "satori-html": "^0.3.2", "svelte": "^4.2.15", - "svelte-check": "^3.6.9", + "svelte-check": "^3.7.0", "svelte-headless-table": "^0.18.2", "svelte-meta-tags": "^3.1.2", "svelte-preprocess": "^5.1.4", "svelte-sequential-preprocessor": "^2.0.1", "sveltekit-flash-message": "^2.4.4", "sveltekit-rate-limiter": "^0.5.1", - "sveltekit-superforms": "^2.12.5", + "sveltekit-superforms": "^2.12.6", "tailwindcss": "^3.4.3", "ts-node": "^10.9.2", "tslib": "^2.6.1", - "tsx": "^4.7.2", + "tsx": "^4.7.3", "typescript": "^5.4.4", "vite": "^5.2.10", - "vitest": "^1.4.0", + "vitest": "^1.5.2", "zod": "^3.23.4" }, "type": "module", @@ -98,8 +98,8 @@ "just-capitalize": "^3.2.0", "just-kebab-case": "^4.2.0", "loader": "^2.1.1", - "lucia": "3.1.1", - "lucide-svelte": "^0.368.0", + "lucia": "3.2.0", + "lucide-svelte": "^0.373.0", "open-props": "^1.7.3", "oslo": "^1.2.0", "pg": "^8.11.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a00760c..de5d0ef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,7 +19,7 @@ importers: version: 1.2.48 '@lucia-auth/adapter-drizzle': specifier: ^1.0.7 - version: 1.0.7(lucia@3.1.1) + version: 1.0.7(lucia@3.2.0) '@lukeed/uuid': specifier: ^2.0.1 version: 2.0.1 @@ -61,7 +61,7 @@ importers: version: 4.29.1 formsnap: specifier: ^1.0.0 - version: 1.0.0(svelte@4.2.15)(sveltekit-superforms@2.12.5(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(svelte@4.2.15)) + version: 1.0.0(svelte@4.2.15)(sveltekit-superforms@2.12.6(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(svelte@4.2.15)) html-entities: specifier: ^2.5.2 version: 2.5.2 @@ -78,11 +78,11 @@ importers: specifier: ^2.1.1 version: 2.1.1 lucia: - specifier: 3.1.1 - version: 3.1.1 + specifier: 3.2.0 + version: 3.2.0 lucide-svelte: - specifier: ^0.368.0 - version: 0.368.0(svelte@4.2.15) + specifier: ^0.373.0 + version: 0.373.0(svelte@4.2.15) open-props: specifier: ^1.7.3 version: 1.7.3 @@ -122,10 +122,10 @@ importers: devDependencies: '@melt-ui/pp': specifier: ^0.3.1 - version: 0.3.1(@melt-ui/svelte@0.76.3(svelte@4.2.15))(svelte@4.2.15) + version: 0.3.1(@melt-ui/svelte@0.77.0(svelte@4.2.15))(svelte@4.2.15) '@melt-ui/svelte': - specifier: ^0.76.3 - version: 0.76.3(svelte@4.2.15) + specifier: ^0.77.0 + version: 0.77.0(svelte@4.2.15) '@playwright/test': specifier: ^1.43.1 version: 1.43.1 @@ -137,7 +137,7 @@ importers: version: 3.2.0(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0))) '@sveltejs/enhanced-img': specifier: ^0.2.0 - version: 0.2.0(rollup@4.13.0)(svelte@4.2.15) + version: 0.2.0(rollup@4.16.4)(svelte@4.2.15) '@sveltejs/kit': specifier: ^2.5.7 version: 2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)) @@ -214,8 +214,8 @@ importers: specifier: ^4.2.15 version: 4.2.15 svelte-check: - specifier: ^3.6.9 - version: 3.6.9(postcss-load-config@5.0.3(jiti@1.21.0)(postcss@8.4.38))(postcss@8.4.38)(sass@1.75.0)(svelte@4.2.15) + specifier: ^3.7.0 + version: 3.7.0(postcss-load-config@5.0.3(jiti@1.21.0)(postcss@8.4.38))(postcss@8.4.38)(sass@1.75.0)(svelte@4.2.15) svelte-headless-table: specifier: ^0.18.2 version: 0.18.2(svelte@4.2.15) @@ -235,8 +235,8 @@ importers: specifier: ^0.5.1 version: 0.5.1(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0))) sveltekit-superforms: - specifier: ^2.12.5 - version: 2.12.5(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(svelte@4.2.15) + specifier: ^2.12.6 + version: 2.12.6(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(svelte@4.2.15) tailwindcss: specifier: ^3.4.3 version: 3.4.3(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5)) @@ -247,8 +247,8 @@ importers: specifier: ^2.6.1 version: 2.6.2 tsx: - specifier: ^4.7.2 - version: 4.7.2 + specifier: ^4.7.3 + version: 4.7.3 typescript: specifier: ^5.4.4 version: 5.4.5 @@ -256,8 +256,8 @@ importers: specifier: ^5.2.10 version: 5.2.10(@types/node@20.12.7)(sass@1.75.0) vitest: - specifier: ^1.4.0 - version: 1.5.0(@types/node@20.12.7)(sass@1.75.0) + specifier: ^1.5.2 + version: 1.5.2(@types/node@20.12.7)(sass@1.75.0) zod: specifier: ^3.23.4 version: 3.23.4 @@ -521,9 +521,6 @@ packages: '@emnapi/core@0.45.0': resolution: {integrity: sha512-DPWjcUDQkCeEM4VnljEOEcXdAD7pp8zSZsgOujk/LGIwCXWbXJngin+MO4zbH429lzeC3WbYLGjE2MaUOwzpyw==} - '@emnapi/core@1.1.1': - resolution: {integrity: sha512-eu4KjHfXg3I+UUR7vSuwZXpRo4c8h4Rtb5Lu2F7Z4JqJFl/eidquONEBiRs6viXKpWBC3BaJBy68xGJ2j56idw==} - '@emnapi/runtime@0.45.0': resolution: {integrity: sha512-Txumi3td7J4A/xTTwlssKieHKTGl3j4A1tglBx72auZ49YK7ePY6XZricgIg9mnZT4xPfA+UPCUdnhRuEFDL+w==} @@ -1219,14 +1216,11 @@ packages: peerDependencies: svelte: '>=3 <5' - '@melt-ui/svelte@0.76.3': - resolution: {integrity: sha512-fEtwHnOVLH0eNwtr+7pX5JQVtOL2XWVFA0/xrNU0yL6NkEpv++4NUwaaulGZC4nVmVG/gIA1JK2fx5M0u01TlA==} + '@melt-ui/svelte@0.77.0': + resolution: {integrity: sha512-/Ttn+UkfNK+kM7LgnE7x/w6rrtaTApRQ/zQ4xIYi17sYlEpak2lNmacke2DfJ1Uj8rpF6OvUEjZCrMl3QWP2nQ==} peerDependencies: svelte: '>=3 <5' - '@napi-rs/wasm-runtime@0.1.2': - resolution: {integrity: sha512-8JuczewTFIZ/XIjHQ+YlQUydHvlKx2hkcxtuGwh+t/t5zWyZct6YG4+xjHcq8xyc/e7FmFwf42Zj2YgICwmlvA==} - '@neondatabase/serverless@0.9.1': resolution: {integrity: sha512-Xi+tVIXuaeB24BHzhr0W/4vcbb9WwIaB6yK0RsMIteLtzNB86+am6EDFovd3rYCYM1ea7rWcwte2dLOrzW7eqA==} @@ -1240,348 +1234,174 @@ packages: cpu: [arm] os: [android] - '@node-rs/argon2-android-arm-eabi@1.7.2': - resolution: {integrity: sha512-WhW84XOzdR4AOGc4BJvIg5lCRVBL0pXp/PPCe8QCyWw493p7VdNCdYpr2xdtjS/0zImmY85HNB/6zpzjLRTT/A==} - engines: {node: '>= 10'} - cpu: [arm] - os: [android] - '@node-rs/argon2-android-arm64@1.7.0': resolution: {integrity: sha512-s9j/G30xKUx8WU50WIhF0fIl1EdhBGq0RQ06lEhZ0Gi0ap8lhqbE2Bn5h3/G2D1k0Dx+yjeVVNmt/xOQIRG38A==} engines: {node: '>= 10'} cpu: [arm64] os: [android] - '@node-rs/argon2-android-arm64@1.7.2': - resolution: {integrity: sha512-CdtayHSMIyDuVhSYFirwA757c4foQuyTjpysgFJLHweP9C7uDiBf9WBYij+UyabpaCadJ0wPyK6Vakinvlk4/g==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [android] - '@node-rs/argon2-darwin-arm64@1.7.0': resolution: {integrity: sha512-ZIz4L6HGOB9U1kW23g+m7anGNuTZ0RuTw0vNp3o+2DWpb8u8rODq6A8tH4JRL79S+Co/Nq608m9uackN2pe0Rw==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@node-rs/argon2-darwin-arm64@1.7.2': - resolution: {integrity: sha512-hUOhtgYHTEyzX5sgMZVdXunONOus2HWpWydF5D/RYJ1mZ76FXRnFpQE40DqbzisdPIraKdn40m7JqkPP7wqdyg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - '@node-rs/argon2-darwin-x64@1.7.0': resolution: {integrity: sha512-5oi/pxqVhODW/pj1+3zElMTn/YukQeywPHHYDbcAW3KsojFjKySfhcJMd1DjKTc+CHQI+4lOxZzSUzK7mI14Hw==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@node-rs/argon2-darwin-x64@1.7.2': - resolution: {integrity: sha512-lfs5HX+t542yUfcv6Aa/NeGD1nUCwyQNgnPEGcik71Ow6V13hkR1bHgmT1u3CHN4fBts0gW+DQEDsq1xlVgkvw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - '@node-rs/argon2-freebsd-x64@1.7.0': resolution: {integrity: sha512-Ify08683hA4QVXYoIm5SUWOY5DPIT/CMB0CQT+IdxQAg/F+qp342+lUkeAtD5bvStQuCx/dFO3bnnzoe2clMhA==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] - '@node-rs/argon2-freebsd-x64@1.7.2': - resolution: {integrity: sha512-ROoF+4VaCBJUjddrTN1hjuqSl89ppRcjVXJscSPJjWzTlbzFmGGovJvIzUBmCr/Oq3yM1zKHj6MP9oRD5cB+/g==} - engines: {node: '>= 10'} - cpu: [x64] - os: [freebsd] - '@node-rs/argon2-linux-arm-gnueabihf@1.7.0': resolution: {integrity: sha512-7DjDZ1h5AUHAtRNjD19RnQatbhL+uuxBASuuXIBu4/w6Dx8n7YPxwTP4MXfsvuRgKuMWiOb/Ub/HJ3kXVCXRkg==} engines: {node: '>= 10'} cpu: [arm] os: [linux] - '@node-rs/argon2-linux-arm-gnueabihf@1.7.2': - resolution: {integrity: sha512-CBSB8KPI8LS74Bcz3dYaa2/khULutz4vSDvFWUERlSLX+mPdDhoZi6UPuUPPF9e01w8AbiK1YCqlLUTm3tIMfw==} - engines: {node: '>= 10'} - cpu: [arm] - os: [linux] - '@node-rs/argon2-linux-arm64-gnu@1.7.0': resolution: {integrity: sha512-nJDoMP4Y3YcqGswE4DvP080w6O24RmnFEDnL0emdI8Nou17kNYBzP2546Nasx9GCyLzRcYQwZOUjrtUuQ+od2g==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@node-rs/argon2-linux-arm64-gnu@1.7.2': - resolution: {integrity: sha512-6LBTug6ZiWFakP3X3Nqs7ZTM03gmcSWX4YvEn20HhhQE5NDrsrw3zNqGj0cJiNzKKIMSDDuj7uGy+ITEfNo4CA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@node-rs/argon2-linux-arm64-musl@1.7.0': resolution: {integrity: sha512-BKWS8iVconhE3jrb9mj6t1J9vwUqQPpzCbUKxfTGJfc+kNL58F1SXHBoe2cDYGnHrFEHTY0YochzXoAfm4Dm/A==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@node-rs/argon2-linux-arm64-musl@1.7.2': - resolution: {integrity: sha512-KjhQ+ZPne29t9VRVeIif7JdKwQba+tM6CBNYBoJB1iON0CUKeqSQtZcHuTj9gkf2SNRG5bsU4ABcfxd0OKsKHg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@node-rs/argon2-linux-x64-gnu@1.7.0': resolution: {integrity: sha512-EmgqZOlf4Jurk/szW1iTsVISx25bKksVC5uttJDUloTgsAgIGReCpUUO1R24pBhu9ESJa47iv8NSf3yAfGv6jQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@node-rs/argon2-linux-x64-gnu@1.7.2': - resolution: {integrity: sha512-BQvp+iLtKqomHz4q5t1aKoni9osgvUDU5sZtHAlFm5dRTlGHnympcQVATRE5GHyH9C6MIM9W7P1kqEeCLGPolQ==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@node-rs/argon2-linux-x64-musl@1.7.0': resolution: {integrity: sha512-/o1efYCYIxjfuoRYyBTi2Iy+1iFfhqHCvvVsnjNSgO1xWiWrX0Rrt/xXW5Zsl7vS2Y+yu8PL8KFWRzZhaVxfKA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@node-rs/argon2-linux-x64-musl@1.7.2': - resolution: {integrity: sha512-yXJudpBZQ98g+lWaHn9EzZ5KsAyqRdlpub/K+5NP7gHehb8wzBRIFAejIHAG0fvzQEEc86VOnV2koWIVZxWAvw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@node-rs/argon2-wasm32-wasi@1.7.0': resolution: {integrity: sha512-Evmk9VcxqnuwQftfAfYEr6YZYSPLzmKUsbFIMep5nTt9PT4XYRFAERj7wNYp+rOcBenF3X4xoB+LhwcOMTNE5w==} engines: {node: '>=14.0.0'} cpu: [wasm32] - '@node-rs/argon2-wasm32-wasi@1.7.2': - resolution: {integrity: sha512-diXlVjJZY2GIV8ZDwUqXPhacXsFR0klGSv5D9f+XidwWXK4udtzDhkM/7N/Mb7h1HAWaxZ6IN9spYFjvWH1wqg==} - engines: {node: '>=14.0.0'} - cpu: [wasm32] - '@node-rs/argon2-win32-arm64-msvc@1.7.0': resolution: {integrity: sha512-qgsU7T004COWWpSA0tppDqDxbPLgg8FaU09krIJ7FBl71Sz8SFO40h7fDIjfbTT5w7u6mcaINMQ5bSHu75PCaA==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@node-rs/argon2-win32-arm64-msvc@1.7.2': - resolution: {integrity: sha512-dhIBrY04P9nbmwzBpgERQDmmSu4YBZyeEE32t4TikMz5rQ07iaVC+JpGmtCBZoDIsLDHGC8cikENd3YEqpqIcA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - '@node-rs/argon2-win32-ia32-msvc@1.7.0': resolution: {integrity: sha512-JGafwWYQ/HpZ3XSwP4adQ6W41pRvhcdXvpzIWtKvX+17+xEXAe2nmGWM6s27pVkg1iV2ZtoYLRDkOUoGqZkCcg==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] - '@node-rs/argon2-win32-ia32-msvc@1.7.2': - resolution: {integrity: sha512-o1tfqr8gyALCzuxBoQfvhxkeYMaw/0H8Gmt7klTYyEIBvEFu7SD5qytXO9Px7t5420nZL/Wy5cflg3IB1s57Pg==} - engines: {node: '>= 10'} - cpu: [ia32] - os: [win32] - '@node-rs/argon2-win32-x64-msvc@1.7.0': resolution: {integrity: sha512-9oq4ShyFakw8AG3mRls0AoCpxBFcimYx7+jvXeAf2OqKNO+mSA6eZ9z7KQeVCi0+SOEUYxMGf5UiGiDb9R6+9Q==} engines: {node: '>= 10'} cpu: [x64] os: [win32] - '@node-rs/argon2-win32-x64-msvc@1.7.2': - resolution: {integrity: sha512-v0h53XUc7hNgWiWi0qcMcHvj9/kwuItI9NwLK4C+gtzT3UB0cedhfIL8HFMKThMXasy41ZdbpCF2Bi0kJoLNEg==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - '@node-rs/argon2@1.7.0': resolution: {integrity: sha512-zfULc+/tmcWcxn+nHkbyY8vP3+MpEqKORbszt4UkpqZgBgDAAIYvuDN/zukfTgdmo6tmJKKVfzigZOPk4LlIog==} engines: {node: '>= 10'} - '@node-rs/argon2@1.7.2': - resolution: {integrity: sha512-+H6pc3M1vIX9YnG59YW7prHhhpv19P8YyxlXHnnFzTimf2q+kKDF7mGWbhvN9STqIY+P70Patn0Q6qb6Ib5/4g==} - engines: {node: '>= 10'} - '@node-rs/bcrypt-android-arm-eabi@1.9.0': resolution: {integrity: sha512-nOCFISGtnodGHNiLrG0WYLWr81qQzZKYfmwHc7muUeq+KY0sQXyHOwZk9OuNQAWv/lnntmtbwkwT0QNEmOyLvA==} engines: {node: '>= 10'} cpu: [arm] os: [android] - '@node-rs/bcrypt-android-arm-eabi@1.9.2': - resolution: {integrity: sha512-er/Q2khwpan9pczvTTqY/DJE4UU65u31xd0NkZlHUTKyB7djRhWfzoGexGx2GN+k831/RR3U8kKE/8QUHeO3hQ==} - engines: {node: '>= 10'} - cpu: [arm] - os: [android] - '@node-rs/bcrypt-android-arm64@1.9.0': resolution: {integrity: sha512-+ZrIAtigVmjYkqZQTThHVlz0+TG6D+GDHWhVKvR2DifjtqJ0i+mb9gjo++hN+fWEQdWNGxKCiBBjwgT4EcXd6A==} engines: {node: '>= 10'} cpu: [arm64] os: [android] - '@node-rs/bcrypt-android-arm64@1.9.2': - resolution: {integrity: sha512-OUYatOEG5vbLbF73q2TC8UqrDO81zUQxnaFD/OAB1hcm6J+ur0zJ8E53c35/DIqkTp7JarPMraC4rouJ2ugN4w==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [android] - '@node-rs/bcrypt-darwin-arm64@1.9.0': resolution: {integrity: sha512-CQiS+F9Pa0XozvkXR1g7uXE9QvBOPOplDg0iCCPRYTN9PqA5qYxhwe48G3o+v2UeQceNRrbnEtWuANm7JRqIhw==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@node-rs/bcrypt-darwin-arm64@1.9.2': - resolution: {integrity: sha512-svJKsGbzMAxOB5oluOYneN4YkKUy26WSMgm3KOIhgoX30IeMilj+2jFN/5qrI0oDZ0Iczb3XyL5DuZFtEkdP8A==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - '@node-rs/bcrypt-darwin-x64@1.9.0': resolution: {integrity: sha512-4pTKGawYd7sNEjdJ7R/R67uwQH1VvwPZ0SSUMmeNHbxD5QlwAPXdDH11q22uzVXsvNFZ6nGQBg8No5OUGpx6Ug==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@node-rs/bcrypt-darwin-x64@1.9.2': - resolution: {integrity: sha512-9OrySjBi/rWix8NZWD/TrNbNcwMY0pAiMHdL09aJnJ07uPih83GGh1pq4UHCYFCMy7iTX8swOmDlGBUImkOZbg==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - '@node-rs/bcrypt-freebsd-x64@1.9.0': resolution: {integrity: sha512-UmWzySX4BJhT/B8xmTru6iFif3h0Rpx3TqxRLCcbgmH43r7k5/9QuhpiyzpvKGpKHJCFNm4F3rC2wghvw5FCIg==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] - '@node-rs/bcrypt-freebsd-x64@1.9.2': - resolution: {integrity: sha512-/djXV71RO6g5L1mI2pVvmp3x3pH7G4uKI3ODG1JBIXoz334oOcCMh40sB0uq0ljP8WEadker01p4T1rJE98fpg==} - engines: {node: '>= 10'} - cpu: [x64] - os: [freebsd] - '@node-rs/bcrypt-linux-arm-gnueabihf@1.9.0': resolution: {integrity: sha512-8qoX4PgBND2cVwsbajoAWo3NwdfJPEXgpCsZQZURz42oMjbGyhhSYbovBCskGU3EBLoC8RA2B1jFWooeYVn5BA==} engines: {node: '>= 10'} cpu: [arm] os: [linux] - '@node-rs/bcrypt-linux-arm-gnueabihf@1.9.2': - resolution: {integrity: sha512-F7wP950OTAooxEleUN4I2hqryGZK7hi1cSgRF13Wvbc597RFux35KiSxIXUA3mNt2DE7lV2PeceEtCOScaThWQ==} - engines: {node: '>= 10'} - cpu: [arm] - os: [linux] - '@node-rs/bcrypt-linux-arm64-gnu@1.9.0': resolution: {integrity: sha512-TuAC6kx0SbcIA4mSEWPi+OCcDjTQUMl213v5gMNlttF+D4ieIZx6pPDGTaMO6M2PDHTeCG0CBzZl0Lu+9b0c7Q==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@node-rs/bcrypt-linux-arm64-gnu@1.9.2': - resolution: {integrity: sha512-MehG+yQ0TgKMgKR1rO4hdvHkVsTM91Cof8qI9EJlS5+7+QSwfFA5O0zGwCkISD7bsyauJ5uJgcByGjpEobAHOg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@node-rs/bcrypt-linux-arm64-musl@1.9.0': resolution: {integrity: sha512-/sIvKDABOI8QOEnLD7hIj02BVaNOuCIWBKvxcJOt8+TuwJ6zmY1UI5kSv9d99WbiHjTp97wtAUbZQwauU4b9ew==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@node-rs/bcrypt-linux-arm64-musl@1.9.2': - resolution: {integrity: sha512-PRZTAJjOwKEGsIhmBvfNh81So+wGl4QyCFAt23j+KwBujLStjC0N3YaqtTlWVKG9tcriPtmMYiAQtXWIyIgg/w==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@node-rs/bcrypt-linux-x64-gnu@1.9.0': resolution: {integrity: sha512-DyyhDHDsLBsCKz1tZ1hLvUZSc1DK0FU0v52jK6IBQxrj24WscSU9zZe7ie/V9kdmA4Ep57BfpWX8Dsa2JxGdgQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@node-rs/bcrypt-linux-x64-gnu@1.9.2': - resolution: {integrity: sha512-5WfGO+O1m7nJ55WZ8XDq+ItA98Z4O7sNWsR+1nIj9YGT+Tx5zkQ2RBhpK6oCWZMluuZ0eKQ0FDmyP6K+2NDRIA==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@node-rs/bcrypt-linux-x64-musl@1.9.0': resolution: {integrity: sha512-duIiuqQ+Lew8ASSAYm6ZRqcmfBGWwsi81XLUwz86a2HR7Qv6V4yc3ZAUQovAikhjCsIqe8C11JlAZSK6+PlXYg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@node-rs/bcrypt-linux-x64-musl@1.9.2': - resolution: {integrity: sha512-VjCn0388p6PMCVUYHgYmHZrKNc7WwNJRr2WLJsHbQRGDOKbpNL6YolCjQxUchcSPDhzwrq1cIdy4j0fpoXEsdw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@node-rs/bcrypt-wasm32-wasi@1.9.0': resolution: {integrity: sha512-ylaGmn9Wjwv/D5lxtawttx3H6Uu2WTTR7lWlRHGT6Ga/MB1Vj4OjSGUW8G8zIVnKuXpGbZ92pgHlt4HUpSLctw==} engines: {node: '>=14.0.0'} cpu: [wasm32] - '@node-rs/bcrypt-wasm32-wasi@1.9.2': - resolution: {integrity: sha512-P06aHfMzm9makwU+nM7WA65yQnS1xuqJ8l/6I/LvXjnl+lfB3DtJ2B0CSLtjnUGpUgcHbWl5gEbNnTPxSAirjQ==} - engines: {node: '>=14.0.0'} - cpu: [wasm32] - '@node-rs/bcrypt-win32-arm64-msvc@1.9.0': resolution: {integrity: sha512-2h86gF7QFyEzODuDFml/Dp1MSJoZjxJ4yyT2Erf4NkwsiA5MqowUhUsorRwZhX6+2CtlGa7orbwi13AKMsYndw==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@node-rs/bcrypt-win32-arm64-msvc@1.9.2': - resolution: {integrity: sha512-Iyo/Q5/eNw27VRd3mLBgh1b9b5fnT3QHTVwxv3Siv/MRAIfJXH/cTOe18qSwYQzNh0ZioW4yemFPYCWSZi7szA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - '@node-rs/bcrypt-win32-ia32-msvc@1.9.0': resolution: {integrity: sha512-kqxalCvhs4FkN0+gWWfa4Bdy2NQAkfiqq/CEf6mNXC13RSV673Ev9V8sRlQyNpCHCNkeXfOT9pgoBdJmMs9muA==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] - '@node-rs/bcrypt-win32-ia32-msvc@1.9.2': - resolution: {integrity: sha512-6LHWMaPylyyHoS5863YpxAACVB8DWCxro5W6pQ4h8WKSgHpJp8Um9jphTdN0A2w45HZjUnfcFuiFFC+TbftjCw==} - engines: {node: '>= 10'} - cpu: [ia32] - os: [win32] - '@node-rs/bcrypt-win32-x64-msvc@1.9.0': resolution: {integrity: sha512-2y0Tuo6ZAT2Cz8V7DHulSlv1Bip3zbzeXyeur+uR25IRNYXKvI/P99Zl85Fbuu/zzYAZRLLlGTRe6/9IHofe/w==} engines: {node: '>= 10'} cpu: [x64] os: [win32] - '@node-rs/bcrypt-win32-x64-msvc@1.9.2': - resolution: {integrity: sha512-vZ9T1MOaYkLO9FTyl28YX0SYJneiYTKNFgM8PUv8nas8xrD+7OzokA0fEtlNp6413T7IKSD/iG9qi8nTWsiyGg==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - '@node-rs/bcrypt@1.9.0': resolution: {integrity: sha512-u2OlIxW264bFUfvbFqDz9HZKFjwe8FHFtn7T/U8mYjPZ7DWYpbUB+/dkW/QgYfMSfR0ejkyuWaBBe0coW7/7ig==} engines: {node: '>= 10'} - '@node-rs/bcrypt@1.9.2': - resolution: {integrity: sha512-FKUo9iCSIti+ldwoOlY1ztyIFhZxEgT7jZ/UCt/9bg1rLmNdbQQD2JKIMImDCqmTWuLPY4ZF4Q5MyOMIfDCd8Q==} - engines: {node: '>= 10'} - '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -1707,66 +1527,146 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.16.4': + resolution: {integrity: sha512-GkhjAaQ8oUTOKE4g4gsZ0u8K/IHU1+2WQSgS1TwTcYvL+sjbaQjNHFXbOJ6kgqGHIO1DfUhI/Sphi9GkRT9K+Q==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.13.0': resolution: {integrity: sha512-BSbaCmn8ZadK3UAQdlauSvtaJjhlDEjS5hEVVIN3A4bbl3X+otyf/kOJV08bYiRxfejP3DXFzO2jz3G20107+Q==} cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.16.4': + resolution: {integrity: sha512-Bvm6D+NPbGMQOcxvS1zUl8H7DWlywSXsphAeOnVeiZLQ+0J6Is8T7SrjGTH29KtYkiY9vld8ZnpV3G2EPbom+w==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.13.0': resolution: {integrity: sha512-Ovf2evVaP6sW5Ut0GHyUSOqA6tVKfrTHddtmxGQc1CTQa1Cw3/KMCDEEICZBbyppcwnhMwcDce9ZRxdWRpVd6g==} cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.16.4': + resolution: {integrity: sha512-i5d64MlnYBO9EkCOGe5vPR/EeDwjnKOGGdd7zKFhU5y8haKhQZTN2DgVtpODDMxUr4t2K90wTUJg7ilgND6bXw==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.13.0': resolution: {integrity: sha512-U+Jcxm89UTK592vZ2J9st9ajRv/hrwHdnvyuJpa5A2ngGSVHypigidkQJP+YiGL6JODiUeMzkqQzbCG3At81Gg==} cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.16.4': + resolution: {integrity: sha512-WZupV1+CdUYehaZqjaFTClJI72fjJEgTXdf4NbW69I9XyvdmztUExBtcI2yIIU6hJtYvtwS6pkTkHJz+k08mAQ==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-linux-arm-gnueabihf@4.13.0': resolution: {integrity: sha512-8wZidaUJUTIR5T4vRS22VkSMOVooG0F4N+JSwQXWSRiC6yfEsFMLTYRFHvby5mFFuExHa/yAp9juSphQQJAijQ==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-gnueabihf@4.16.4': + resolution: {integrity: sha512-ADm/xt86JUnmAfA9mBqFcRp//RVRt1ohGOYF6yL+IFCYqOBNwy5lbEK05xTsEoJq+/tJzg8ICUtS82WinJRuIw==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.16.4': + resolution: {integrity: sha512-tJfJaXPiFAG+Jn3cutp7mCs1ePltuAgRqdDZrzb1aeE3TktWWJ+g7xK9SNlaSUFw6IU4QgOxAY4rA+wZUT5Wfg==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.13.0': resolution: {integrity: sha512-Iu0Kno1vrD7zHQDxOmvweqLkAzjxEVqNhUIXBsZ8hu8Oak7/5VTPrxOEZXYC1nmrBVJp0ZcL2E7lSuuOVaE3+w==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.16.4': + resolution: {integrity: sha512-7dy1BzQkgYlUTapDTvK997cgi0Orh5Iu7JlZVBy1MBURk7/HSbHkzRnXZa19ozy+wwD8/SlpJnOOckuNZtJR9w==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-arm64-musl@4.13.0': resolution: {integrity: sha512-C31QrW47llgVyrRjIwiOwsHFcaIwmkKi3PCroQY5aVq4H0A5v/vVVAtFsI1nfBngtoRpeREvZOkIhmRwUKkAdw==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-musl@4.16.4': + resolution: {integrity: sha512-zsFwdUw5XLD1gQe0aoU2HVceI6NEW7q7m05wA46eUAyrkeNYExObfRFQcvA6zw8lfRc5BHtan3tBpo+kqEOxmg==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-powerpc64le-gnu@4.16.4': + resolution: {integrity: sha512-p8C3NnxXooRdNrdv6dBmRTddEapfESEUflpICDNKXpHvTjRRq1J82CbU5G3XfebIZyI3B0s074JHMWD36qOW6w==} + cpu: [ppc64] + os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.13.0': resolution: {integrity: sha512-Oq90dtMHvthFOPMl7pt7KmxzX7E71AfyIhh+cPhLY9oko97Zf2C9tt/XJD4RgxhaGeAraAXDtqxvKE1y/j35lA==} cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.16.4': + resolution: {integrity: sha512-Lh/8ckoar4s4Id2foY7jNgitTOUQczwMWNYi+Mjt0eQ9LKhr6sK477REqQkmy8YHY3Ca3A2JJVdXnfb3Rrwkng==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.16.4': + resolution: {integrity: sha512-1xwwn9ZCQYuqGmulGsTZoKrrn0z2fAur2ujE60QgyDpHmBbXbxLaQiEvzJWDrscRq43c8DnuHx3QorhMTZgisQ==} + cpu: [s390x] + os: [linux] + '@rollup/rollup-linux-x64-gnu@4.13.0': resolution: {integrity: sha512-yUD/8wMffnTKuiIsl6xU+4IA8UNhQ/f1sAnQebmE/lyQ8abjsVyDkyRkWop0kdMhKMprpNIhPmYlCxgHrPoXoA==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-gnu@4.16.4': + resolution: {integrity: sha512-LuOGGKAJ7dfRtxVnO1i3qWc6N9sh0Em/8aZ3CezixSTM+E9Oq3OvTsvC4sm6wWjzpsIlOCnZjdluINKESflJLA==} + cpu: [x64] + os: [linux] + '@rollup/rollup-linux-x64-musl@4.13.0': resolution: {integrity: sha512-9RyNqoFNdF0vu/qqX63fKotBh43fJQeYC98hCaf89DYQpv+xu0D8QFSOS0biA7cGuqJFOc1bJ+m2rhhsKcw1hw==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-musl@4.16.4': + resolution: {integrity: sha512-ch86i7KkJKkLybDP2AtySFTRi5fM3KXp0PnHocHuJMdZwu7BuyIKi35BE9guMlmTpwwBTB3ljHj9IQXnTCD0vA==} + cpu: [x64] + os: [linux] + '@rollup/rollup-win32-arm64-msvc@4.13.0': resolution: {integrity: sha512-46ue8ymtm/5PUU6pCvjlic0z82qWkxv54GTJZgHrQUuZnVH+tvvSP0LsozIDsCBFO4VjJ13N68wqrKSeScUKdA==} cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.16.4': + resolution: {integrity: sha512-Ma4PwyLfOWZWayfEsNQzTDBVW8PZ6TUUN1uFTBQbF2Chv/+sjenE86lpiEwj2FiviSmSZ4Ap4MaAfl1ciF4aSA==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.13.0': resolution: {integrity: sha512-P5/MqLdLSlqxbeuJ3YDeX37srC8mCflSyTrUsgbU1c/U9j6l2g2GiIdYaGD9QjdMQPMSgYm7hgg0551wHyIluw==} cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.16.4': + resolution: {integrity: sha512-9m/ZDrQsdo/c06uOlP3W9G2ENRVzgzbSXmXHT4hwVaDQhYcRpi9bgBT0FTG9OhESxwK0WjQxYOSfv40cU+T69w==} + cpu: [ia32] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.13.0': resolution: {integrity: sha512-UKXUQNbO3DOhzLRwHSpa0HnhhCgNODvfoPWv2FCXme8N/ANFfhIPMGuOT+QuKd16+B5yxZ0HdpNlqPvTMS1qfw==} cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.16.4': + resolution: {integrity: sha512-YunpoOAyGLDseanENHmbFvQSfVL5BxW3k7hhy0eN4rb3gS/ct75dVD0EXOWIqFT/nE8XYW6LP6vz6ctKRi0k9A==} + cpu: [x64] + os: [win32] + '@shuding/opentype.js@1.4.0-beta.0': resolution: {integrity: sha512-3NgmNyH3l/Hv6EvsWJbsvpcpUba6R8IREQ83nH83cyakCw7uM1arZKNfHwv1Wz6jgqrF/j4x5ELvR6PnK9nTcA==} engines: {node: '>= 8.0.0'} @@ -1784,8 +1684,8 @@ packages: '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - '@sinclair/typebox@0.32.20': - resolution: {integrity: sha512-ziK497ILSIYMxD/thl496idIb03IZPlha04itLQu1xAFQbumWZ+Dj4PMMCkDRpAYhvVSdmRlTjGu2B2MA5RplQ==} + '@sinclair/typebox@0.32.23': + resolution: {integrity: sha512-NiMhEgFo5nDlg39HDEvETDdXmURfyd8ougIjynebGebZti/gZ4LxoCcbVS6jgfNF8Sf7ZvPVl/fV0YsJIW4ltg==} '@sodaru/yup-to-json-schema@2.0.1': resolution: {integrity: sha512-lWb0Wiz8KZ9ip/dY1eUqt7fhTPmL24p6Hmv5Fd9pzlzAdw/YNcWZr+tiCT4oZ4Zyxzi9+1X4zv82o7jYvcFxYA==} @@ -1953,20 +1853,20 @@ packages: resolution: {integrity: sha512-Qq3XxbA26jzqS9ICifkqzT399lMQZ2fWtqeV3luI2as+UIK7qDifJFU2Q4W3q3IB5VXoWxgwAZSZEO0em9I/qQ==} engines: {node: '>=18.16.0'} - '@vitest/expect@1.5.0': - resolution: {integrity: sha512-0pzuCI6KYi2SIC3LQezmxujU9RK/vwC1U9R0rLuGlNGcOuDWxqWKu6nUdFsX9tH1WU0SXtAxToOsEjeUn1s3hA==} + '@vitest/expect@1.5.2': + resolution: {integrity: sha512-rf7MTD1WCoDlN3FfYJ9Llfp0PbdtOMZ3FIF0AVkDnKbp3oiMW1c8AmvRZBcqbAhDUAvF52e9zx4WQM1r3oraVA==} - '@vitest/runner@1.5.0': - resolution: {integrity: sha512-7HWwdxXP5yDoe7DTpbif9l6ZmDwCzcSIK38kTSIt6CFEpMjX4EpCgT6wUmS0xTXqMI6E/ONmfgRKmaujpabjZQ==} + '@vitest/runner@1.5.2': + resolution: {integrity: sha512-7IJ7sJhMZrqx7HIEpv3WrMYcq8ZNz9L6alo81Y6f8hV5mIE6yVZsFoivLZmr0D777klm1ReqonE9LyChdcmw6g==} - '@vitest/snapshot@1.5.0': - resolution: {integrity: sha512-qpv3fSEuNrhAO3FpH6YYRdaECnnRjg9VxbhdtPwPRnzSfHVXnNzzrpX4cJxqiwgRMo7uRMWDFBlsBq4Cr+rO3A==} + '@vitest/snapshot@1.5.2': + resolution: {integrity: sha512-CTEp/lTYos8fuCc9+Z55Ga5NVPKUgExritjF5VY7heRFUfheoAqBneUlvXSUJHUZPjnPmyZA96yLRJDP1QATFQ==} - '@vitest/spy@1.5.0': - resolution: {integrity: sha512-vu6vi6ew5N5MMHJjD5PoakMRKYdmIrNJmyfkhRpQt5d9Ewhw9nZ5Aqynbi3N61bvk9UvZ5UysMT6ayIrZ8GA9w==} + '@vitest/spy@1.5.2': + resolution: {integrity: sha512-xCcPvI8JpCtgikT9nLpHPL1/81AYqZy1GCy4+MCHBE7xi8jgsYkULpW5hrx5PGLgOQjUpb6fd15lqcriJ40tfQ==} - '@vitest/utils@1.5.0': - resolution: {integrity: sha512-BDU0GNL8MWkRkSRdNFvCUCAVOeHaUlVJ9Tx0TYBZyXaaOTmGtUFObzchCivIBrIwKzvZA7A9sCejVhXM2aY98A==} + '@vitest/utils@1.5.2': + resolution: {integrity: sha512-sWOmyofuXLJ85VvXNsroZur7mOJGiQeM0JN3/0D1uU8U9bGFM69X1iqHaRXl6R8BwaLY6yPCogP257zxTzkUdA==} abbrev@1.1.1: resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} @@ -2334,8 +2234,8 @@ packages: resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} engines: {node: '>=8'} - devalue@4.3.2: - resolution: {integrity: sha512-KqFl6pOgOW+Y6wJgu80rHpo2/3H07vr8ntR9rkkFIRETewbf5GaYYcakYfiKz89K+sLsuPkQIZaXDMjUObZwWg==} + devalue@4.3.3: + resolution: {integrity: sha512-UH8EL6H2ifcY8TbD2QsxwCC/pr5xSwPvv85LrLXVihmHVC3T3YqTCIwnR5ak0yO1KYqlxrPVOA/JVZJYPy2ATg==} devalue@5.0.0: resolution: {integrity: sha512-gO+/OMXF7488D+u3ue+G7Y4AA3ZmUnB3eHJXmBTgNHvr4ZNzl36A0ZtG+XCRNYCkYx/bFmw4qtkoFLa+wSrwAA==} @@ -2870,8 +2770,8 @@ packages: resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==} hasBin: true - joi@17.12.3: - resolution: {integrity: sha512-2RRziagf555owrm9IRVtdKynOBeITiDpuZqIpgwqXShPncPKNiRQoiGsl/T8SQdq+8ugRzH2LqY67irr2y/d+g==} + joi@17.13.0: + resolution: {integrity: sha512-9qcrTyoBmFZRNHeVP4edKqIUEgFzq7MHvTNSDuHSqkpOPtiBkgNgcmTSqmiw1kw9tdKaiddvIDv/eCJDxmqWCA==} js-tokens@8.0.3: resolution: {integrity: sha512-UfJMcSJc+SEXEl9lH/VLHSZbThQyLpw1vLO1Lb+j4RWDvG3N2f7yj3PVQA3cmkTBNldJ9eFnM+xEXxHIXrYiJw==} @@ -2976,11 +2876,11 @@ packages: lru-queue@0.1.0: resolution: {integrity: sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==} - lucia@3.1.1: - resolution: {integrity: sha512-Ygvgnqq7Ha7lYVaZATPwkPD2s2Qlsm71Z2o0byx/abNBfFldCRow5sNii6RqMsuMpK957RAI3Gw4/aWoagkc7A==} + lucia@3.2.0: + resolution: {integrity: sha512-eXMxXwk6hqtjRTj4W/x3EnTUtAztLPm0p2N2TEBMDEbakDLXiYnDQ9z/qahjPdPdhPguQc+vwO0/88zIWxlpuw==} - lucide-svelte@0.368.0: - resolution: {integrity: sha512-/uSazMXmY0cZzehGaE1SHQDtQrQBvAVR8UCEpNEjRKSy3yluSqtlGj7T5KvewJpP9kBDCKPgKVcKgdJgEzpRlw==} + lucide-svelte@0.373.0: + resolution: {integrity: sha512-p727laQi1KayKzB9ldnzrfdhrOv3mXkBr7fVWfNHG5rjSOn7FIHu6dOzuHBp5/cmYyG5WI9n/nCS+EG2ThJJ2Q==} peerDependencies: svelte: ^3 || ^4 || ^5.0.0-next.42 @@ -3099,11 +2999,6 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - nanoid@5.0.6: - resolution: {integrity: sha512-rRq0eMHoGZxlvaFOUdK1Ev83Bd1IgzzR+WJ3IbDJ7QOSdAxYjlurSPqFs9s4lJg29RT6nPwizFtJhQS6V5xgiA==} - engines: {node: ^18 || >=20} - hasBin: true - nanoid@5.0.7: resolution: {integrity: sha512-oLxFY2gd2IqnjcYyOXD8XGCftpGtZP2AbHbOkthDkvRywH5ayNtPVy9YlOPcHckXzbLTCHpkb7FB+yuxKV13pQ==} engines: {node: ^18 || >=20} @@ -3180,9 +3075,6 @@ packages: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} engines: {node: '>= 0.8.0'} - oslo@1.0.1: - resolution: {integrity: sha512-esfzZry+HfGgK/GCYkg7BRlLd3RH5aHa08wgLJPYjENXybi0BvXxGk0LbUj+lXfz2TkjPDHe4rB/o6JxRLHxBg==} - oslo@1.2.0: resolution: {integrity: sha512-OoFX6rDsNcOQVAD2gQD/z03u4vEjWZLzJtwkmgfRF+KpQUXwdgEXErD7zNhyowmHwHefP+PM9Pw13pgpHMRlzw==} @@ -3645,8 +3537,8 @@ packages: peerDependencies: svelte: ^4.1.1 - react-is@18.2.0: - resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} + react-is@18.3.0: + resolution: {integrity: sha512-wRiUsea88TjKDc4FBEn+sLvIDesp6brMbGWnJGjew2waAc9evdhja/2LvePc898HJbHw0L+MTWy7NhpnELAvLQ==} read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} @@ -3704,6 +3596,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.16.4: + resolution: {integrity: sha512-kuaTJSUbz+Wsb2ATGvEknkI12XV40vIiHmLuFlejoo7HtDok/O5eDDD0UpCVY5bBX5U5RYo8wWP83H7ZsqVEnA==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} @@ -3872,8 +3769,8 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - svelte-check@3.6.9: - resolution: {integrity: sha512-hDQrk3L0osX07djQyMiXocKysTLfusqi8AriNcCiQxhQR49/LonYolcUGMtZ0fbUR8HTR198Prrgf52WWU9wEg==} + svelte-check@3.7.0: + resolution: {integrity: sha512-Va6sGL4Vy4znn0K+vaatk98zoBvG2aDee4y3r5X4S80z8DXfbACHvdLlyXa4C4c5tQzK9H0Uq2pbd20wH3ucjQ==} hasBin: true peerDependencies: svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 @@ -3992,8 +3889,8 @@ packages: peerDependencies: '@sveltejs/kit': 1.x || 2.x - sveltekit-superforms@2.12.5: - resolution: {integrity: sha512-p8qHNsMcPoB1mgTU8catzID8HJmxIK9ozRbGrv50Jk/XPotOjn5zTvW/stkVDBDL/tPLz0vfw+2PNbkkHCdhlw==} + sveltekit-superforms@2.12.6: + resolution: {integrity: sha512-qVA6HjD+WlPughk+YGGWXTY5lIvNP8JUoEK4TqzLhDkC8j6y0d2aB7ofgzqpkvY7nV77aNG3erP/qxr2DzBJEg==} peerDependencies: '@sveltejs/kit': 1.x || 2.x svelte: 3.x || 4.x || >=5.0.0-next.51 @@ -4104,8 +4001,8 @@ packages: tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - tsx@4.7.2: - resolution: {integrity: sha512-BCNd4kz6fz12fyrgCTEdZHGJ9fWTGeUzXmQysh0RVocDY3h4frk05ZNCXSy4kIenF7y/QnrdiVpTsyNRn6vlAw==} + tsx@4.7.3: + resolution: {integrity: sha512-+fQnMqIp/jxZEXLcj6WzYy9FhcS5/Dfk8y4AtzJ6ejKcKqmfTF8Gso/jtrzDggCF2zTU20gJa6n8XqPYwDAUYQ==} engines: {node: '>=18.0.0'} hasBin: true @@ -4177,8 +4074,8 @@ packages: resolution: {integrity: sha512-23jnLhkTH0HR9Vd9LxMYnajOLeo0RJNEAHhtlsQP6kfPuOBoTzt54rWbEWB9jmhEXAOflLQpM+FrmilVPAoyGA==} engines: {node: '>=18.0.0'} - vite-node@1.5.0: - resolution: {integrity: sha512-tV8h6gMj6vPzVCa7l+VGq9lwoJjW8Y79vst8QZZGiuRAfijU+EEWuc0kFpmndQrWhMMhet1jdSF+40KSZUqIIw==} + vite-node@1.5.2: + resolution: {integrity: sha512-Y8p91kz9zU+bWtF7HGt6DVw2JbhyuB2RlZix3FPYAYmUyZ3n7iTp8eSyLyY6sxtPegvxQtmlTMhfPhUfCUF93A==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -4218,15 +4115,15 @@ packages: vite: optional: true - vitest@1.5.0: - resolution: {integrity: sha512-d8UKgR0m2kjdxDWX6911uwxout6GHS0XaGH1cksSIVVG8kRlE7G7aBw7myKQCvDI5dT4j7ZMa+l706BIORMDLw==} + vitest@1.5.2: + resolution: {integrity: sha512-l9gwIkq16ug3xY7BxHwcBQovLZG75zZL0PlsiYQbf76Rz6QGs54416UWMtC0jXeihvHvcHrf2ROEjkQRVpoZYw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 1.5.0 - '@vitest/ui': 1.5.0 + '@vitest/browser': 1.5.2 + '@vitest/ui': 1.5.2 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -4581,11 +4478,6 @@ snapshots: tslib: 2.6.2 optional: true - '@emnapi/core@1.1.1': - dependencies: - tslib: 2.6.2 - optional: true - '@emnapi/runtime@0.45.0': dependencies: tslib: 2.6.2 @@ -5028,9 +4920,9 @@ snapshots: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - '@lucia-auth/adapter-drizzle@1.0.7(lucia@3.1.1)': + '@lucia-auth/adapter-drizzle@1.0.7(lucia@3.2.0)': dependencies: - lucia: 3.1.1 + lucia: 3.2.0 '@lukeed/csprng@1.1.0': {} @@ -5053,9 +4945,9 @@ snapshots: - encoding - supports-color - '@melt-ui/pp@0.3.1(@melt-ui/svelte@0.76.3(svelte@4.2.15))(svelte@4.2.15)': + '@melt-ui/pp@0.3.1(@melt-ui/svelte@0.77.0(svelte@4.2.15))(svelte@4.2.15)': dependencies: - '@melt-ui/svelte': 0.76.3(svelte@4.2.15) + '@melt-ui/svelte': 0.77.0(svelte@4.2.15) estree-walker: 3.0.3 magic-string: 0.30.5 svelte: 4.2.15 @@ -5070,23 +4962,16 @@ snapshots: nanoid: 5.0.7 svelte: 4.2.15 - '@melt-ui/svelte@0.76.3(svelte@4.2.15)': + '@melt-ui/svelte@0.77.0(svelte@4.2.15)': dependencies: '@floating-ui/core': 1.6.0 '@floating-ui/dom': 1.6.3 '@internationalized/date': 3.5.2 dequal: 2.0.3 focus-trap: 7.5.4 - nanoid: 5.0.6 + nanoid: 5.0.7 svelte: 4.2.15 - '@napi-rs/wasm-runtime@0.1.2': - dependencies: - '@emnapi/core': 1.1.1 - '@emnapi/runtime': 1.1.1 - '@tybys/wasm-util': 0.8.1 - optional: true - '@neondatabase/serverless@0.9.1': dependencies: '@types/pg': 8.6.6 @@ -5096,63 +4981,33 @@ snapshots: '@node-rs/argon2-android-arm-eabi@1.7.0': optional: true - '@node-rs/argon2-android-arm-eabi@1.7.2': - optional: true - '@node-rs/argon2-android-arm64@1.7.0': optional: true - '@node-rs/argon2-android-arm64@1.7.2': - optional: true - '@node-rs/argon2-darwin-arm64@1.7.0': optional: true - '@node-rs/argon2-darwin-arm64@1.7.2': - optional: true - '@node-rs/argon2-darwin-x64@1.7.0': optional: true - '@node-rs/argon2-darwin-x64@1.7.2': - optional: true - '@node-rs/argon2-freebsd-x64@1.7.0': optional: true - '@node-rs/argon2-freebsd-x64@1.7.2': - optional: true - '@node-rs/argon2-linux-arm-gnueabihf@1.7.0': optional: true - '@node-rs/argon2-linux-arm-gnueabihf@1.7.2': - optional: true - '@node-rs/argon2-linux-arm64-gnu@1.7.0': optional: true - '@node-rs/argon2-linux-arm64-gnu@1.7.2': - optional: true - '@node-rs/argon2-linux-arm64-musl@1.7.0': optional: true - '@node-rs/argon2-linux-arm64-musl@1.7.2': - optional: true - '@node-rs/argon2-linux-x64-gnu@1.7.0': optional: true - '@node-rs/argon2-linux-x64-gnu@1.7.2': - optional: true - '@node-rs/argon2-linux-x64-musl@1.7.0': optional: true - '@node-rs/argon2-linux-x64-musl@1.7.2': - optional: true - '@node-rs/argon2-wasm32-wasi@1.7.0': dependencies: '@emnapi/core': 0.45.0 @@ -5161,29 +5016,15 @@ snapshots: memfs-browser: 3.5.10302 optional: true - '@node-rs/argon2-wasm32-wasi@1.7.2': - dependencies: - '@napi-rs/wasm-runtime': 0.1.2 - optional: true - '@node-rs/argon2-win32-arm64-msvc@1.7.0': optional: true - '@node-rs/argon2-win32-arm64-msvc@1.7.2': - optional: true - '@node-rs/argon2-win32-ia32-msvc@1.7.0': optional: true - '@node-rs/argon2-win32-ia32-msvc@1.7.2': - optional: true - '@node-rs/argon2-win32-x64-msvc@1.7.0': optional: true - '@node-rs/argon2-win32-x64-msvc@1.7.2': - optional: true - '@node-rs/argon2@1.7.0': optionalDependencies: '@node-rs/argon2-android-arm-eabi': 1.7.0 @@ -5201,83 +5042,36 @@ snapshots: '@node-rs/argon2-win32-ia32-msvc': 1.7.0 '@node-rs/argon2-win32-x64-msvc': 1.7.0 - '@node-rs/argon2@1.7.2': - optionalDependencies: - '@node-rs/argon2-android-arm-eabi': 1.7.2 - '@node-rs/argon2-android-arm64': 1.7.2 - '@node-rs/argon2-darwin-arm64': 1.7.2 - '@node-rs/argon2-darwin-x64': 1.7.2 - '@node-rs/argon2-freebsd-x64': 1.7.2 - '@node-rs/argon2-linux-arm-gnueabihf': 1.7.2 - '@node-rs/argon2-linux-arm64-gnu': 1.7.2 - '@node-rs/argon2-linux-arm64-musl': 1.7.2 - '@node-rs/argon2-linux-x64-gnu': 1.7.2 - '@node-rs/argon2-linux-x64-musl': 1.7.2 - '@node-rs/argon2-wasm32-wasi': 1.7.2 - '@node-rs/argon2-win32-arm64-msvc': 1.7.2 - '@node-rs/argon2-win32-ia32-msvc': 1.7.2 - '@node-rs/argon2-win32-x64-msvc': 1.7.2 - '@node-rs/bcrypt-android-arm-eabi@1.9.0': optional: true - '@node-rs/bcrypt-android-arm-eabi@1.9.2': - optional: true - '@node-rs/bcrypt-android-arm64@1.9.0': optional: true - '@node-rs/bcrypt-android-arm64@1.9.2': - optional: true - '@node-rs/bcrypt-darwin-arm64@1.9.0': optional: true - '@node-rs/bcrypt-darwin-arm64@1.9.2': - optional: true - '@node-rs/bcrypt-darwin-x64@1.9.0': optional: true - '@node-rs/bcrypt-darwin-x64@1.9.2': - optional: true - '@node-rs/bcrypt-freebsd-x64@1.9.0': optional: true - '@node-rs/bcrypt-freebsd-x64@1.9.2': - optional: true - '@node-rs/bcrypt-linux-arm-gnueabihf@1.9.0': optional: true - '@node-rs/bcrypt-linux-arm-gnueabihf@1.9.2': - optional: true - '@node-rs/bcrypt-linux-arm64-gnu@1.9.0': optional: true - '@node-rs/bcrypt-linux-arm64-gnu@1.9.2': - optional: true - '@node-rs/bcrypt-linux-arm64-musl@1.9.0': optional: true - '@node-rs/bcrypt-linux-arm64-musl@1.9.2': - optional: true - '@node-rs/bcrypt-linux-x64-gnu@1.9.0': optional: true - '@node-rs/bcrypt-linux-x64-gnu@1.9.2': - optional: true - '@node-rs/bcrypt-linux-x64-musl@1.9.0': optional: true - '@node-rs/bcrypt-linux-x64-musl@1.9.2': - optional: true - '@node-rs/bcrypt-wasm32-wasi@1.9.0': dependencies: '@emnapi/core': 0.45.0 @@ -5286,29 +5080,15 @@ snapshots: memfs-browser: 3.5.10302 optional: true - '@node-rs/bcrypt-wasm32-wasi@1.9.2': - dependencies: - '@napi-rs/wasm-runtime': 0.1.2 - optional: true - '@node-rs/bcrypt-win32-arm64-msvc@1.9.0': optional: true - '@node-rs/bcrypt-win32-arm64-msvc@1.9.2': - optional: true - '@node-rs/bcrypt-win32-ia32-msvc@1.9.0': optional: true - '@node-rs/bcrypt-win32-ia32-msvc@1.9.2': - optional: true - '@node-rs/bcrypt-win32-x64-msvc@1.9.0': optional: true - '@node-rs/bcrypt-win32-x64-msvc@1.9.2': - optional: true - '@node-rs/bcrypt@1.9.0': optionalDependencies: '@node-rs/bcrypt-android-arm-eabi': 1.9.0 @@ -5326,23 +5106,6 @@ snapshots: '@node-rs/bcrypt-win32-ia32-msvc': 1.9.0 '@node-rs/bcrypt-win32-x64-msvc': 1.9.0 - '@node-rs/bcrypt@1.9.2': - optionalDependencies: - '@node-rs/bcrypt-android-arm-eabi': 1.9.2 - '@node-rs/bcrypt-android-arm64': 1.9.2 - '@node-rs/bcrypt-darwin-arm64': 1.9.2 - '@node-rs/bcrypt-darwin-x64': 1.9.2 - '@node-rs/bcrypt-freebsd-x64': 1.9.2 - '@node-rs/bcrypt-linux-arm-gnueabihf': 1.9.2 - '@node-rs/bcrypt-linux-arm64-gnu': 1.9.2 - '@node-rs/bcrypt-linux-arm64-musl': 1.9.2 - '@node-rs/bcrypt-linux-x64-gnu': 1.9.2 - '@node-rs/bcrypt-linux-x64-musl': 1.9.2 - '@node-rs/bcrypt-wasm32-wasi': 1.9.2 - '@node-rs/bcrypt-win32-arm64-msvc': 1.9.2 - '@node-rs/bcrypt-win32-ia32-msvc': 1.9.2 - '@node-rs/bcrypt-win32-x64-msvc': 1.9.2 - '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 @@ -5426,53 +5189,101 @@ snapshots: estree-walker: 2.0.2 picomatch: 2.3.1 - '@rollup/pluginutils@5.1.0(rollup@4.13.0)': + '@rollup/pluginutils@5.1.0(rollup@4.16.4)': dependencies: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.13.0 + rollup: 4.16.4 '@rollup/rollup-android-arm-eabi@4.13.0': optional: true + '@rollup/rollup-android-arm-eabi@4.16.4': + optional: true + '@rollup/rollup-android-arm64@4.13.0': optional: true + '@rollup/rollup-android-arm64@4.16.4': + optional: true + '@rollup/rollup-darwin-arm64@4.13.0': optional: true + '@rollup/rollup-darwin-arm64@4.16.4': + optional: true + '@rollup/rollup-darwin-x64@4.13.0': optional: true + '@rollup/rollup-darwin-x64@4.16.4': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.13.0': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.16.4': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.16.4': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.13.0': optional: true + '@rollup/rollup-linux-arm64-gnu@4.16.4': + optional: true + '@rollup/rollup-linux-arm64-musl@4.13.0': optional: true + '@rollup/rollup-linux-arm64-musl@4.16.4': + optional: true + + '@rollup/rollup-linux-powerpc64le-gnu@4.16.4': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.13.0': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.16.4': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.16.4': + optional: true + '@rollup/rollup-linux-x64-gnu@4.13.0': optional: true + '@rollup/rollup-linux-x64-gnu@4.16.4': + optional: true + '@rollup/rollup-linux-x64-musl@4.13.0': optional: true + '@rollup/rollup-linux-x64-musl@4.16.4': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.13.0': optional: true + '@rollup/rollup-win32-arm64-msvc@4.16.4': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.13.0': optional: true + '@rollup/rollup-win32-ia32-msvc@4.16.4': + optional: true + '@rollup/rollup-win32-x64-msvc@4.13.0': optional: true + '@rollup/rollup-win32-x64-msvc@4.16.4': + optional: true + '@shuding/opentype.js@1.4.0-beta.0': dependencies: fflate: 0.7.4 @@ -5491,7 +5302,7 @@ snapshots: '@sinclair/typebox@0.27.8': {} - '@sinclair/typebox@0.32.20': + '@sinclair/typebox@0.32.23': optional: true '@sodaru/yup-to-json-schema@2.0.1': @@ -5511,11 +5322,11 @@ snapshots: - encoding - supports-color - '@sveltejs/enhanced-img@0.2.0(rollup@4.13.0)(svelte@4.2.15)': + '@sveltejs/enhanced-img@0.2.0(rollup@4.16.4)(svelte@4.2.15)': dependencies: magic-string: 0.30.9 svelte-parse-markup: 0.1.2(svelte@4.2.15) - vite-imagetools: 7.0.1(rollup@4.13.0) + vite-imagetools: 7.0.1(rollup@4.16.4) transitivePeerDependencies: - rollup - svelte @@ -5736,29 +5547,29 @@ snapshots: validator: 13.11.0 optional: true - '@vitest/expect@1.5.0': + '@vitest/expect@1.5.2': dependencies: - '@vitest/spy': 1.5.0 - '@vitest/utils': 1.5.0 + '@vitest/spy': 1.5.2 + '@vitest/utils': 1.5.2 chai: 4.4.1 - '@vitest/runner@1.5.0': + '@vitest/runner@1.5.2': dependencies: - '@vitest/utils': 1.5.0 + '@vitest/utils': 1.5.2 p-limit: 5.0.0 pathe: 1.1.2 - '@vitest/snapshot@1.5.0': + '@vitest/snapshot@1.5.2': dependencies: magic-string: 0.30.9 pathe: 1.1.2 pretty-format: 29.7.0 - '@vitest/spy@1.5.0': + '@vitest/spy@1.5.2': dependencies: tinyspy: 2.2.1 - '@vitest/utils@1.5.0': + '@vitest/utils@1.5.2': dependencies: diff-sequences: 29.6.3 estree-walker: 3.0.3 @@ -6107,7 +5918,7 @@ snapshots: detect-libc@2.0.3: {} - devalue@4.3.2: {} + devalue@4.3.3: {} devalue@5.0.0: {} @@ -6489,11 +6300,11 @@ snapshots: dependencies: tabbable: 6.2.0 - formsnap@1.0.0(svelte@4.2.15)(sveltekit-superforms@2.12.5(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(svelte@4.2.15)): + formsnap@1.0.0(svelte@4.2.15)(sveltekit-superforms@2.12.6(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(svelte@4.2.15)): dependencies: nanoid: 5.0.7 svelte: 4.2.15 - sveltekit-superforms: 2.12.5(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(svelte@4.2.15) + sveltekit-superforms: 2.12.6(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(svelte@4.2.15) fraction.js@4.3.7: {} @@ -6699,7 +6510,7 @@ snapshots: jiti@1.21.0: {} - joi@17.12.3: + joi@17.13.0: dependencies: '@hapi/hoek': 9.3.0 '@hapi/topo': 5.1.0 @@ -6797,11 +6608,11 @@ snapshots: dependencies: es5-ext: 0.10.62 - lucia@3.1.1: + lucia@3.2.0: dependencies: - oslo: 1.0.1 + oslo: 1.2.0 - lucide-svelte@0.368.0(svelte@4.2.15): + lucide-svelte@0.373.0(svelte@4.2.15): dependencies: svelte: 4.2.15 @@ -6915,8 +6726,6 @@ snapshots: nanoid@3.3.7: {} - nanoid@5.0.6: {} - nanoid@5.0.7: {} natural-compare@1.4.0: {} @@ -6978,11 +6787,6 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - oslo@1.0.1: - dependencies: - '@node-rs/argon2': 1.7.2 - '@node-rs/bcrypt': 1.9.2 - oslo@1.2.0: dependencies: '@node-rs/argon2': 1.7.0 @@ -7434,7 +7238,7 @@ snapshots: dependencies: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 - react-is: 18.2.0 + react-is: 18.3.0 property-expr@2.0.6: optional: true @@ -7456,7 +7260,7 @@ snapshots: '@floating-ui/dom': 1.5.3 svelte: 4.2.15 - react-is@18.2.0: {} + react-is@18.3.0: {} read-cache@1.0.0: dependencies: @@ -7521,6 +7325,29 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.13.0 fsevents: 2.3.3 + rollup@4.16.4: + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.16.4 + '@rollup/rollup-android-arm64': 4.16.4 + '@rollup/rollup-darwin-arm64': 4.16.4 + '@rollup/rollup-darwin-x64': 4.16.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.16.4 + '@rollup/rollup-linux-arm-musleabihf': 4.16.4 + '@rollup/rollup-linux-arm64-gnu': 4.16.4 + '@rollup/rollup-linux-arm64-musl': 4.16.4 + '@rollup/rollup-linux-powerpc64le-gnu': 4.16.4 + '@rollup/rollup-linux-riscv64-gnu': 4.16.4 + '@rollup/rollup-linux-s390x-gnu': 4.16.4 + '@rollup/rollup-linux-x64-gnu': 4.16.4 + '@rollup/rollup-linux-x64-musl': 4.16.4 + '@rollup/rollup-win32-arm64-msvc': 4.16.4 + '@rollup/rollup-win32-ia32-msvc': 4.16.4 + '@rollup/rollup-win32-x64-msvc': 4.16.4 + fsevents: 2.3.3 + optional: true + run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 @@ -7719,7 +7546,7 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte-check@3.6.9(postcss-load-config@5.0.3(jiti@1.21.0)(postcss@8.4.38))(postcss@8.4.38)(sass@1.75.0)(svelte@4.2.15): + svelte-check@3.7.0(postcss-load-config@5.0.3(jiti@1.21.0)(postcss@8.4.38))(postcss@8.4.38)(sass@1.75.0)(svelte@4.2.15): dependencies: '@jridgewell/trace-mapping': 0.3.25 chokidar: 3.6.0 @@ -7843,21 +7670,21 @@ snapshots: '@isaacs/ttlcache': 1.4.1 '@sveltejs/kit': 2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)) - sveltekit-superforms@2.12.5(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(svelte@4.2.15): + sveltekit-superforms@2.12.6(@sveltejs/kit@2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(svelte@4.2.15): dependencies: '@sveltejs/kit': 2.5.7(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)))(svelte@4.2.15)(vite@5.2.10(@types/node@20.12.7)(sass@1.75.0)) - devalue: 4.3.2 + devalue: 4.3.3 just-clone: 6.2.0 memoize-weak: 1.0.2 svelte: 4.2.15 ts-deepmerge: 7.0.0 optionalDependencies: '@gcornut/valibot-json-schema': 0.0.27(@types/json-schema@7.0.15)(esbuild-runner@2.2.2(esbuild@0.19.11))(esbuild@0.19.11)(valibot@0.30.0) - '@sinclair/typebox': 0.32.20 + '@sinclair/typebox': 0.32.23 '@sodaru/yup-to-json-schema': 2.0.1 '@vinejs/vine': 1.8.0 arktype: 1.0.29-alpha - joi: 17.12.3 + joi: 17.13.0 superstruct: 1.0.4 valibot: 0.30.0 yup: 1.4.0 @@ -7992,7 +7819,7 @@ snapshots: tslib@2.6.2: {} - tsx@4.7.2: + tsx@4.7.3: dependencies: esbuild: 0.19.11 get-tsconfig: 4.7.2 @@ -8049,14 +7876,14 @@ snapshots: validator@13.11.0: optional: true - vite-imagetools@7.0.1(rollup@4.13.0): + vite-imagetools@7.0.1(rollup@4.16.4): dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.13.0) + '@rollup/pluginutils': 5.1.0(rollup@4.16.4) imagetools-core: 7.0.0 transitivePeerDependencies: - rollup - vite-node@1.5.0(@types/node@20.12.7)(sass@1.75.0): + vite-node@1.5.2(@types/node@20.12.7)(sass@1.75.0): dependencies: cac: 6.7.14 debug: 4.3.4 @@ -8087,13 +7914,13 @@ snapshots: optionalDependencies: vite: 5.2.10(@types/node@20.12.7)(sass@1.75.0) - vitest@1.5.0(@types/node@20.12.7)(sass@1.75.0): + vitest@1.5.2(@types/node@20.12.7)(sass@1.75.0): dependencies: - '@vitest/expect': 1.5.0 - '@vitest/runner': 1.5.0 - '@vitest/snapshot': 1.5.0 - '@vitest/spy': 1.5.0 - '@vitest/utils': 1.5.0 + '@vitest/expect': 1.5.2 + '@vitest/runner': 1.5.2 + '@vitest/snapshot': 1.5.2 + '@vitest/spy': 1.5.2 + '@vitest/utils': 1.5.2 acorn-walk: 8.3.2 chai: 4.4.1 debug: 4.3.4 @@ -8107,7 +7934,7 @@ snapshots: tinybench: 2.6.0 tinypool: 0.8.3 vite: 5.2.10(@types/node@20.12.7)(sass@1.75.0) - vite-node: 1.5.0(@types/node@20.12.7)(sass@1.75.0) + vite-node: 1.5.2(@types/node@20.12.7)(sass@1.75.0) why-is-node-running: 2.2.2 optionalDependencies: '@types/node': 20.12.7 diff --git a/src/lib/server/auth-utils.ts b/src/lib/server/auth-utils.ts index 9a62cc7..6c22e83 100644 --- a/src/lib/server/auth-utils.ts +++ b/src/lib/server/auth-utils.ts @@ -1,19 +1,17 @@ -import db from "$lib/drizzle"; -import { eq } from "drizzle-orm"; -import { generateId } from "lucia"; -import { TimeSpan, createDate } from "oslo"; -import { password_reset_tokens } from "../../schema"; +import { generateIdFromEntropySize } from 'lucia'; +import { TimeSpan, createDate } from 'oslo'; +import { eq } from 'drizzle-orm'; +import db from '$lib/drizzle'; +import { password_reset_tokens } from '../../schema'; export async function createPasswordResetToken(userId: string): Promise { // optionally invalidate all existing tokens await db.delete(password_reset_tokens).where(eq(password_reset_tokens.user_id, userId)); - const tokenId = generateId(40); - await db - .insert(password_reset_tokens) - .values({ - id: tokenId, - user_id: userId, - expires_at: createDate(new TimeSpan(2, "h")) - }); + const tokenId = generateIdFromEntropySize(40); + await db.insert(password_reset_tokens).values({ + id: tokenId, + user_id: userId, + expires_at: createDate(new TimeSpan(2, 'h')), + }); return tokenId; -} \ No newline at end of file +} diff --git a/src/lib/types.ts b/src/lib/types.ts index 9e0fde0..4eedc0d 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -176,4 +176,4 @@ export type SearchQuery = { fields?: string; }; -export type UICollection = Pick; +export type UICollection = Pick; diff --git a/src/routes/(app)/(protected)/collections/[id]/+page.server.ts b/src/routes/(app)/(protected)/collections/[id]/+page.server.ts index 6702e45..6a39ba3 100644 --- a/src/routes/(app)/(protected)/collections/[id]/+page.server.ts +++ b/src/routes/(app)/(protected)/collections/[id]/+page.server.ts @@ -1,4 +1,4 @@ -import { type Actions, error } from '@sveltejs/kit'; +import { type Actions, error, fail } from '@sveltejs/kit'; import { and, eq } from 'drizzle-orm'; import { zod } from 'sveltekit-superforms/adapters'; import { superValidate } from 'sveltekit-superforms/server'; @@ -33,7 +33,7 @@ export async function load(event) { const searchForm = await superValidate(searchData, zod(search_schema)); const listManageForm = await superValidate(zod(modifyListGameSchema)); - const collection: UICollection | undefined = await db.query.collections.findFirst({ + const collection = await db.query.collections.findFirst({ columns: { id: true, cuid: true, @@ -91,7 +91,10 @@ export async function load(event) { return { searchForm, listManageForm, - collection, + collection: { + name: collection.name, + cuid: collection.cuid ?? '', + }, items, }; } @@ -102,7 +105,7 @@ export const actions: Actions = { const form = await superValidate(event, zod(modifyListGameSchema)); if (!event.locals.user) { - throw fail(401); + return fail(401, {}); } const user = event.locals.user; @@ -147,14 +150,14 @@ export const actions: Actions = { // Create new wishlist create: async ({ locals }) => { if (!locals.user) { - throw fail(401); + return fail(401); } return error(405, 'Method not allowed'); }, // Delete a wishlist delete: async ({ locals }) => { if (!locals.user) { - throw fail(401); + return fail(401); } return error(405, 'Method not allowed'); }, @@ -164,7 +167,7 @@ export const actions: Actions = { const form = await superValidate(event, zod(modifyListGameSchema)); if (!locals.user) { - throw fail(401); + return fail(401); } const game = await db.query.games.findFirst({