From e9149edcde54411f2deae134233d55740ee51ae3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Jan 2026 12:12:32 +0200 Subject: [PATCH] build(deps): bump the minor-and-patch group across 1 directory with 6 updates (#2700) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com> --- app/features/api-private/routes/seed.ts | 20 +++++ app/features/team/team.css | 3 +- package-lock.json | 112 ++++++++++++------------ package.json | 12 +-- 4 files changed, 84 insertions(+), 63 deletions(-) diff --git a/app/features/api-private/routes/seed.ts b/app/features/api-private/routes/seed.ts index d1e70df6e..22e58bbb3 100644 --- a/app/features/api-private/routes/seed.ts +++ b/app/features/api-private/routes/seed.ts @@ -60,6 +60,9 @@ export const action: ActionFunction = async ({ request }) => { const REG_OPEN_TOURNAMENT_IDS = [1, 3]; +const SEED_REFERENCE_TIMESTAMP = 1767440151; + +// TODO: do this cleaner function adjustSeedDatesToCurrent(variation: SeedVariation) { const halfAnHourFromNow = Math.floor((Date.now() + 1000 * 60 * 30) / 1000); const oneHourAgo = Math.floor((Date.now() - 1000 * 60 * 60) / 1000); @@ -88,6 +91,23 @@ function adjustSeedDatesToCurrent(variation: SeedVariation) { .run(now, now); sql.prepare(`UPDATE "GroupLike" SET createdAt = ?`).run(now); + + const scrimTimeOffset = now - SEED_REFERENCE_TIMESTAMP; + sql + .prepare( + `UPDATE "ScrimPost" SET "at" = "at" + ?, "createdAt" = "createdAt" + ?`, + ) + .run(scrimTimeOffset, scrimTimeOffset); + sql + .prepare( + `UPDATE "ScrimPost" SET "rangeEnd" = "rangeEnd" + ? WHERE "rangeEnd" IS NOT NULL`, + ) + .run(scrimTimeOffset); + sql + .prepare( + `UPDATE "ScrimPostRequest" SET "at" = "at" + ? WHERE "at" IS NOT NULL`, + ) + .run(scrimTimeOffset); } function restoreFromPreSeeded(sourcePath: string) { diff --git a/app/features/team/team.css b/app/features/team/team.css index 6ab233c84..61d24f831 100644 --- a/app/features/team/team.css +++ b/app/features/team/team.css @@ -54,7 +54,8 @@ rgba(255, 255, 255, 0), rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.6) - ), var(--team-banner-img); + ), + var(--team-banner-img); background-size: cover; width: 100%; aspect-ratio: 2 / 1; diff --git a/package-lock.json b/package-lock.json index 8750e7298..6970fa59a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@dnd-kit/sortable": "^10.0.0", "@dnd-kit/utilities": "^3.2.2", "@epic-web/cachified": "^5.6.0", - "@faker-js/faker": "^10.1.0", + "@faker-js/faker": "^10.2.0", "@hookform/resolvers": "^5.2.2", "@internationalized/date": "^3.10.1", "@react-router/node": "^7.11.0", @@ -51,9 +51,9 @@ "react-aria-components": "^1.14.0", "react-charts": "^3.0.0-beta.57", "react-dom": "^19.2.3", - "react-error-boundary": "^6.0.1", + "react-error-boundary": "^6.0.2", "react-flip-toolkit": "7.2.4", - "react-hook-form": "^7.69.0", + "react-hook-form": "^7.70.0", "react-i18next": "^16.5.1", "react-router": "^7.11.0", "react-use": "^17.6.0", @@ -65,10 +65,10 @@ "slugify": "^1.6.6", "swr": "^2.3.8", "web-push": "^3.6.7", - "zod": "^4.3.4" + "zod": "^4.3.5" }, "devDependencies": { - "@biomejs/biome": "2.3.10", + "@biomejs/biome": "2.3.11", "@playwright/test": "^1.57.0", "@react-router/dev": "^7.11.0", "@types/better-sqlite3": "^7.6.13", @@ -84,7 +84,7 @@ "cross-env": "^10.1.0", "dotenv": "^17.2.3", "i18next-locales-sync": "^2.1.1", - "knip": "^5.79.0", + "knip": "^5.80.0", "ley": "^0.8.1", "sql-formatter": "^15.6.12", "tsx": "^4.21.0", @@ -1469,9 +1469,9 @@ } }, "node_modules/@biomejs/biome": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.3.10.tgz", - "integrity": "sha512-/uWSUd1MHX2fjqNLHNL6zLYWBbrJeG412/8H7ESuK8ewoRoMPUgHDebqKrPTx/5n6f17Xzqc9hdg3MEqA5hXnQ==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.3.11.tgz", + "integrity": "sha512-/zt+6qazBWguPG6+eWmiELqO+9jRsMZ/DBU3lfuU2ngtIQYzymocHhKiZRyrbra4aCOoyTg/BmY+6WH5mv9xmQ==", "dev": true, "license": "MIT OR Apache-2.0", "bin": { @@ -1485,20 +1485,20 @@ "url": "https://opencollective.com/biome" }, "optionalDependencies": { - "@biomejs/cli-darwin-arm64": "2.3.10", - "@biomejs/cli-darwin-x64": "2.3.10", - "@biomejs/cli-linux-arm64": "2.3.10", - "@biomejs/cli-linux-arm64-musl": "2.3.10", - "@biomejs/cli-linux-x64": "2.3.10", - "@biomejs/cli-linux-x64-musl": "2.3.10", - "@biomejs/cli-win32-arm64": "2.3.10", - "@biomejs/cli-win32-x64": "2.3.10" + "@biomejs/cli-darwin-arm64": "2.3.11", + "@biomejs/cli-darwin-x64": "2.3.11", + "@biomejs/cli-linux-arm64": "2.3.11", + "@biomejs/cli-linux-arm64-musl": "2.3.11", + "@biomejs/cli-linux-x64": "2.3.11", + "@biomejs/cli-linux-x64-musl": "2.3.11", + "@biomejs/cli-win32-arm64": "2.3.11", + "@biomejs/cli-win32-x64": "2.3.11" } }, "node_modules/@biomejs/cli-darwin-arm64": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.3.10.tgz", - "integrity": "sha512-M6xUjtCVnNGFfK7HMNKa593nb7fwNm43fq1Mt71kpLpb+4mE7odO8W/oWVDyBVO4ackhresy1ZYO7OJcVo/B7w==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.3.11.tgz", + "integrity": "sha512-/uXXkBcPKVQY7rc9Ys2CrlirBJYbpESEDme7RKiBD6MmqR2w3j0+ZZXRIL2xiaNPsIMMNhP1YnA+jRRxoOAFrA==", "cpu": [ "arm64" ], @@ -1513,9 +1513,9 @@ } }, "node_modules/@biomejs/cli-darwin-x64": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.3.10.tgz", - "integrity": "sha512-Vae7+V6t/Avr8tVbFNjnFSTKZogZHFYl7MMH62P/J1kZtr0tyRQ9Fe0onjqjS2Ek9lmNLmZc/VR5uSekh+p1fg==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.3.11.tgz", + "integrity": "sha512-fh7nnvbweDPm2xEmFjfmq7zSUiox88plgdHF9OIW4i99WnXrAC3o2P3ag9judoUMv8FCSUnlwJCM1B64nO5Fbg==", "cpu": [ "x64" ], @@ -1530,9 +1530,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.3.10.tgz", - "integrity": "sha512-hhPw2V3/EpHKsileVOFynuWiKRgFEV48cLe0eA+G2wO4SzlwEhLEB9LhlSrVeu2mtSn205W283LkX7Fh48CaxA==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.3.11.tgz", + "integrity": "sha512-l4xkGa9E7Uc0/05qU2lMYfN1H+fzzkHgaJoy98wO+b/7Gl78srbCRRgwYSW+BTLixTBrM6Ede5NSBwt7rd/i6g==", "cpu": [ "arm64" ], @@ -1547,9 +1547,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.3.10.tgz", - "integrity": "sha512-B9DszIHkuKtOH2IFeeVkQmSMVUjss9KtHaNXquYYWCjH8IstNgXgx5B0aSBQNr6mn4RcKKRQZXn9Zu1rM3O0/A==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.3.11.tgz", + "integrity": "sha512-XPSQ+XIPZMLaZ6zveQdwNjbX+QdROEd1zPgMwD47zvHV+tCGB88VH+aynyGxAHdzL+Tm/+DtKST5SECs4iwCLg==", "cpu": [ "arm64" ], @@ -1564,9 +1564,9 @@ } }, "node_modules/@biomejs/cli-linux-x64": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.3.10.tgz", - "integrity": "sha512-wwAkWD1MR95u+J4LkWP74/vGz+tRrIQvr8kfMMJY8KOQ8+HMVleREOcPYsQX82S7uueco60L58Wc6M1I9WA9Dw==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.3.11.tgz", + "integrity": "sha512-/1s9V/H3cSe0r0Mv/Z8JryF5x9ywRxywomqZVLHAoa/uN0eY7F8gEngWKNS5vbbN/BsfpCG5yeBT5ENh50Frxg==", "cpu": [ "x64" ], @@ -1581,9 +1581,9 @@ } }, "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.3.10.tgz", - "integrity": "sha512-QTfHZQh62SDFdYc2nfmZFuTm5yYb4eO1zwfB+90YxUumRCR171tS1GoTX5OD0wrv4UsziMPmrePMtkTnNyYG3g==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.3.11.tgz", + "integrity": "sha512-vU7a8wLs5C9yJ4CB8a44r12aXYb8yYgBn+WeyzbMjaCMklzCv1oXr8x+VEyWodgJt9bDmhiaW/I0RHbn7rsNmw==", "cpu": [ "x64" ], @@ -1598,9 +1598,9 @@ } }, "node_modules/@biomejs/cli-win32-arm64": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.3.10.tgz", - "integrity": "sha512-o7lYc9n+CfRbHvkjPhm8s9FgbKdYZu5HCcGVMItLjz93EhgJ8AM44W+QckDqLA9MKDNFrR8nPbO4b73VC5kGGQ==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.3.11.tgz", + "integrity": "sha512-PZQ6ElCOnkYapSsysiTy0+fYX+agXPlWugh6+eQ6uPKI3vKAqNp6TnMhoM3oY2NltSB89hz59o8xIfOdyhi9Iw==", "cpu": [ "arm64" ], @@ -1615,9 +1615,9 @@ } }, "node_modules/@biomejs/cli-win32-x64": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.3.10.tgz", - "integrity": "sha512-pHEFgq7dUEsKnqG9mx9bXihxGI49X+ar+UBrEIj3Wqj3UCZp1rNgV+OoyjFgcXsjCWpuEAF4VJdkZr3TrWdCbQ==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.3.11.tgz", + "integrity": "sha512-43VrG813EW+b5+YbDbz31uUsheX+qFKCpXeY9kfdAx+ww3naKxeVkTD9zLIWxUPfJquANMHrmW3wbe/037G0Qg==", "cpu": [ "x64" ], @@ -2206,9 +2206,9 @@ } }, "node_modules/@faker-js/faker": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-10.1.0.tgz", - "integrity": "sha512-C3mrr3b5dRVlKPJdfrAXS8+dq+rq8Qm5SNRazca0JKgw1HQERFmrVb0towvMmw5uu8hHKNiQasMaR/tydf3Zsg==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-10.2.0.tgz", + "integrity": "sha512-rTXwAsIxpCqzUnZvrxVh3L0QA0NzToqWBLAhV+zDV3MIIwiQhAZHMdPCIaj5n/yADu/tyk12wIPgL6YHGXJP+g==", "funding": [ { "type": "opencollective", @@ -10853,9 +10853,9 @@ } }, "node_modules/knip": { - "version": "5.79.0", - "resolved": "https://registry.npmjs.org/knip/-/knip-5.79.0.tgz", - "integrity": "sha512-rcg+mNdqm6UiTuRVyy6UuuHw1n4ABMpNXDtrfGaCeUtJoRBAvAENIebr8YMtOz6XE7iVHZ8+rY7skgEtosczhQ==", + "version": "5.80.0", + "resolved": "https://registry.npmjs.org/knip/-/knip-5.80.0.tgz", + "integrity": "sha512-K/Ga2f/SHEUXXriVdaw2GfeIUJ5muwdqusHGkCtaG/1qeMmQJiuwZj9KnPxaDbnYPAu8RWjYYh8Nyb+qlJ3d8A==", "dev": true, "funding": [ { @@ -12476,9 +12476,9 @@ } }, "node_modules/react-error-boundary": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-6.0.1.tgz", - "integrity": "sha512-zArgQpjJUN1ZLMEKWtifxQweW3yfvwL5j2nh3Pesze1qG6r5oCDMy/TA97bUF01wy4xCeeL4/pd8GHmvEsP3Bg==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-6.0.2.tgz", + "integrity": "sha512-yvWErn55ag/ywZEFqYpXYX9rxIDPIabXIX25F184KY3F5Szk2x/cVieOflw5R47ltN3KzWOw82Lmlb4vNjyn9A==", "license": "MIT", "peerDependencies": { "react": "^18.0.0 || ^19.0.0", @@ -12504,9 +12504,9 @@ } }, "node_modules/react-hook-form": { - "version": "7.69.0", - "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.69.0.tgz", - "integrity": "sha512-yt6ZGME9f4F6WHwevrvpAjh42HMvocuSnSIHUGycBqXIJdhqGSPQzTpGF+1NLREk/58IdPxEMfPcFCjlMhclGw==", + "version": "7.70.0", + "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.70.0.tgz", + "integrity": "sha512-COOMajS4FI3Wuwrs3GPpi/Jeef/5W1DRR84Yl5/ShlT3dKVFUfoGiEZ/QE6Uw8P4T2/CLJdcTVYKvWBMQTEpvw==", "license": "MIT", "engines": { "node": ">=18.0.0" @@ -14618,9 +14618,9 @@ } }, "node_modules/zod": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.4.tgz", - "integrity": "sha512-Zw/uYiiyF6pUT1qmKbZziChgNPRu+ZRneAsMUDU6IwmXdWt5JwcUfy2bvLOCUtz5UniaN/Zx5aFttZYbYc7O/A==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.5.tgz", + "integrity": "sha512-k7Nwx6vuWx1IJ9Bjuf4Zt1PEllcwe7cls3VNzm4CQ1/hgtFUK2bRNG3rvnpPUhFjmqJKAKtjV576KnUkHocg/g==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" diff --git a/package.json b/package.json index a231c69cb..d0ddb26a7 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@dnd-kit/sortable": "^10.0.0", "@dnd-kit/utilities": "^3.2.2", "@epic-web/cachified": "^5.6.0", - "@faker-js/faker": "^10.1.0", + "@faker-js/faker": "^10.2.0", "@hookform/resolvers": "^5.2.2", "@internationalized/date": "^3.10.1", "@react-router/node": "^7.11.0", @@ -76,9 +76,9 @@ "react-aria-components": "^1.14.0", "react-charts": "^3.0.0-beta.57", "react-dom": "^19.2.3", - "react-error-boundary": "^6.0.1", + "react-error-boundary": "^6.0.2", "react-flip-toolkit": "7.2.4", - "react-hook-form": "^7.69.0", + "react-hook-form": "^7.70.0", "react-i18next": "^16.5.1", "react-router": "^7.11.0", "react-use": "^17.6.0", @@ -90,10 +90,10 @@ "slugify": "^1.6.6", "swr": "^2.3.8", "web-push": "^3.6.7", - "zod": "^4.3.4" + "zod": "^4.3.5" }, "devDependencies": { - "@biomejs/biome": "2.3.10", + "@biomejs/biome": "2.3.11", "@playwright/test": "^1.57.0", "@react-router/dev": "^7.11.0", "@types/better-sqlite3": "^7.6.13", @@ -109,7 +109,7 @@ "cross-env": "^10.1.0", "dotenv": "^17.2.3", "i18next-locales-sync": "^2.1.1", - "knip": "^5.79.0", + "knip": "^5.80.0", "ley": "^0.8.1", "sql-formatter": "^15.6.12", "tsx": "^4.21.0",