Bump dependencies

- @aws-sdk/client-s3 & @aws-sdk/lib-storage 3.1132.0
- lucide-react 1.46.0
- mediabunny 1.56.2
- remeda 2.50.0
- magic-string 1.4.1
- @biomejs/biome 2.5.13 (add sort compare functions for new useArraySortCompare lint)
This commit is contained in:
Kalle
2026-09-23 17:31:04 +03:00
parent d630e667ad
commit 4c3c4d7b73
8 changed files with 94 additions and 93 deletions

View File

@@ -76,11 +76,9 @@ describe("findAllTags", () => {
const result = await ArtRepository.findAllTags();
expect(result).toHaveLength(3);
expect(result.map((t) => t.name).sort()).toEqual([
"Character",
"Landscape",
"Weapon",
]);
expect(
result.map((t) => t.name).sort((a, b) => a.localeCompare(b)),
).toEqual(["Character", "Landscape", "Weapon"]);
});
test("returns empty array when no tags exist", async () => {

View File

@@ -174,8 +174,8 @@ describe("AvailabilityRepository.upsertOwnWeek", () => {
...WINDOW,
});
expect(weeks.map((week) => week.userId).sort()).toEqual(
[users.id(1), users.id(2)].sort(),
expect(weeks.map((week) => week.userId).sort((a, b) => a - b)).toEqual(
[users.id(1), users.id(2)].sort((a, b) => a - b),
);
});
});
@@ -469,7 +469,7 @@ describe("AvailabilityRepository.findAllTeamEventsByUserIds", () => {
events
.filter((event) => event.userId === users.id(2))
.map((e) => e.name)
.sort(),
.sort((a, b) => a.localeCompare(b)),
).toEqual(["Selected only", "Whole team"]);
});
});

View File

@@ -230,8 +230,8 @@ describe("SendouQ ready check", () => {
);
// the two who confirmed are not kickable, the two who didn't are
expect(kickable.sort()).toEqual(
[groups.ownMembers[2].id, groups.ownMembers[3].id].sort(),
expect(kickable.sort((a, b) => a - b)).toEqual(
[groups.ownMembers[2].id, groups.ownMembers[3].id].sort((a, b) => a - b),
);
});

View File

@@ -30,8 +30,8 @@ describe("findByUserId", () => {
);
expect(result).toHaveLength(2);
expect(result.map((org) => org.id).sort()).toEqual(
[org1.id, org2.id].sort(),
expect(result.map((org) => org.id).sort((a, b) => a - b)).toEqual(
[org1.id, org2.id].sort((a, b) => a - b),
);
});

View File

@@ -124,7 +124,9 @@ describe("TournamentAuditLogRepository", () => {
tournament.id,
);
expect(teams).toHaveLength(2);
expect(teams.map((team) => team.name).sort()).toEqual(["Team A", "Team B"]);
expect(
teams.map((team) => team.name).sort((a, b) => a.localeCompare(b)),
).toEqual(["Team A", "Team B"]);
const events = await TournamentAuditLogRepository.findByTournamentId({
tournamentId: tournament.id,

View File

@@ -114,10 +114,11 @@ describe("syncLiveStreams tournament streamers", () => {
const rows = await findAllLiveStreams();
expect(rows).toHaveLength(2);
expect(rows.map((r) => r.twitch).sort()).toEqual([
"streamer_one",
"streamer_two",
]);
expect(
rows
.map((r) => r.twitch)
.sort((a, b) => (a ?? "").localeCompare(b ?? "")),
).toEqual(["streamer_one", "streamer_two"]);
expect(rows[0].viewerCount).toBe(100);
});

View File

@@ -55,8 +55,8 @@
"knip": "knip"
},
"dependencies": {
"@aws-sdk/client-s3": "3.1130.0",
"@aws-sdk/lib-storage": "3.1130.0",
"@aws-sdk/client-s3": "3.1132.0",
"@aws-sdk/lib-storage": "3.1132.0",
"@date-fns/tz": "1.5.0",
"@dnd-kit/core": "6.3.1",
"@dnd-kit/modifiers": "9.0.0",
@@ -81,9 +81,9 @@
"ics": "3.12.0",
"isbot": "5.2.2",
"kysely": "0.29.0",
"lucide-react": "1.44.0",
"lucide-react": "1.46.0",
"markdown-to-jsx": "9.10.2",
"mediabunny": "1.56.1",
"mediabunny": "1.56.2",
"nanoid": "6.0.1",
"node-cron": "4.6.0",
"nprogress": "0.2.0",
@@ -97,7 +97,7 @@
"react-error-boundary": "6.1.5",
"react-i18next": "17.0.11",
"react-router": "8.3.1",
"remeda": "2.48.0",
"remeda": "2.50.0",
"remix-auth": "4.2.0",
"remix-auth-oauth2": "3.4.1",
"remix-i18next": "8.0.0",
@@ -109,7 +109,7 @@
},
"devDependencies": {
"@babel/preset-typescript": "7.29.7",
"@biomejs/biome": "2.5.12",
"@biomejs/biome": "2.5.13",
"@faker-js/faker": "10.6.0",
"@napi-rs/canvas": "1.0.9",
"@playwright/test": "1.63.0",
@@ -125,7 +125,7 @@
"cross-env": "10.1.0",
"i18next-locales-sync": "2.1.1",
"knip": "6.35.1",
"magic-string": "1.3.1",
"magic-string": "1.4.1",
"sharp": "^0.35.4",
"sql-formatter": "15.8.2",
"typescript": "7.0.2",

138
pnpm-lock.yaml generated
View File

@@ -16,11 +16,11 @@ importers:
.:
dependencies:
'@aws-sdk/client-s3':
specifier: 3.1130.0
version: 3.1130.0
specifier: 3.1132.0
version: 3.1132.0
'@aws-sdk/lib-storage':
specifier: 3.1130.0
version: 3.1130.0(@aws-sdk/client-s3@3.1130.0)
specifier: 3.1132.0
version: 3.1132.0(@aws-sdk/client-s3@3.1132.0)
'@date-fns/tz':
specifier: 1.5.0
version: 1.5.0
@@ -94,14 +94,14 @@ importers:
specifier: 0.29.0
version: 0.29.0(patch_hash=a3e94339939b1be5b70610601e96fff19ed5678aab525de24b52dfc5212c686a)
lucide-react:
specifier: 1.44.0
version: 1.44.0(react@19.3.0)
specifier: 1.46.0
version: 1.46.0(react@19.3.0)
markdown-to-jsx:
specifier: 9.10.2
version: 9.10.2(react@19.3.0)
mediabunny:
specifier: 1.56.1
version: 1.56.1
specifier: 1.56.2
version: 1.56.2
nanoid:
specifier: 6.0.1
version: 6.0.1
@@ -142,8 +142,8 @@ importers:
specifier: 8.3.1
version: 8.3.1(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
remeda:
specifier: 2.48.0
version: 2.48.0
specifier: 2.50.0
version: 2.50.0
remix-auth:
specifier: 4.2.0
version: 4.2.0
@@ -173,8 +173,8 @@ importers:
specifier: 7.29.7
version: 7.29.7(@babel/core@7.29.7)
'@biomejs/biome':
specifier: 2.5.12
version: 2.5.12
specifier: 2.5.13
version: 2.5.13
'@faker-js/faker':
specifier: 10.6.0
version: 10.6.0
@@ -221,8 +221,8 @@ importers:
specifier: 6.35.1
version: 6.35.1
magic-string:
specifier: 1.3.1
version: 1.3.1
specifier: 1.4.1
version: 1.4.1
sharp:
specifier: ^0.35.4
version: 0.35.4(@types/node@26.5.1)
@@ -254,8 +254,8 @@ packages:
resolution: {integrity: sha512-6uTniZc87q+B5eXouGTl+7Tmc482rEeCcvxpsvREP8EfF0gvloRZ41UOA9sbSJlyy8TbqIBXb3kKfKarEArUQA==}
engines: {node: '>=20.0.0'}
'@aws-sdk/client-s3@3.1130.0':
resolution: {integrity: sha512-TUe0hgQi3RtuccmTgpUsRIuPk07ZtJE6s3vpOeWCM8sibLNXPVKweemNEz5gwaRYTor8MAGgjlyVZfKGuu1ZOQ==}
'@aws-sdk/client-s3@3.1132.0':
resolution: {integrity: sha512-ccS2utR3YpKE1KEkAlo1Oq9kUhzy/IOIbpwHAcENn/JzpzCj9l79I2o6stTzXGOKbL8+XEdH2P7c2Znp8PbBlQ==}
engines: {node: '>=20.0.0'}
'@aws-sdk/core@3.978.0':
@@ -294,11 +294,11 @@ packages:
resolution: {integrity: sha512-uylIQSUWpfLuH2LovxEEfwzJGM/SabLOfLMg6YXu/E8jJEKUdpdILCVCQCdFvHyu/7dLJOHPMfrSwduxO56NkQ==}
engines: {node: '>=20.0.0'}
'@aws-sdk/lib-storage@3.1130.0':
resolution: {integrity: sha512-e9sb+Utkn6LiYrBhLyHl7k3V/0TtIetyRgVyJ4j67rSA4zmcgcrt6YJ6qopg1k3JXVXahcUhF7Imnd62d4TfqA==}
'@aws-sdk/lib-storage@3.1132.0':
resolution: {integrity: sha512-yKiaw9V22XRdqVGxp9+jbnDADIHsdr4WGwOqKVOEClFkl5NQPSWl6RyiVcG+8/DsXz7nsmWFJI2WiG8vLwc6bg==}
engines: {node: '>=20.0.0'}
peerDependencies:
'@aws-sdk/client-s3': ^3.1130.0
'@aws-sdk/client-s3': ^3.1132.0
'@aws-sdk/middleware-sdk-s3@3.972.76':
resolution: {integrity: sha512-NfnTkVUTBKTBuBgqaapFK9r3YdkKt1b2oRvgLzZq91bwNKh6ZS0S7sEcheguttREaL4iyfs/xQnqD7Z7AsWSsA==}
@@ -477,59 +477,59 @@ packages:
resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==}
engines: {node: '>=6.9.0'}
'@biomejs/biome@2.5.12':
resolution: {integrity: sha512-Lw4VHZRebrReBBnlHa12JQjnIBm3JJAA55PDB9LbBVBF0q4RYphm6KfmIjqtPhf61MxZ5Q9KoK8R8x+7per5Aw==}
'@biomejs/biome@2.5.13':
resolution: {integrity: sha512-+SEC/mFk1a+5mvUANZgbZTaiZXs1nj4iMhL/PHiqDT5TPUEPFIlliEtkKKZB4N862yylHC3UI+/Sj2I0HJEqhA==}
engines: {node: '>=14.21.3'}
hasBin: true
'@biomejs/cli-darwin-arm64@2.5.12':
resolution: {integrity: sha512-lCRY1rwgNeWNgTr4DI/u6ZwXTRwRLHAvbaio1YLLGS+4r1nhvB2ssyPqIpfUSmRveNfv0fn/N58C7CAdK2XVrg==}
'@biomejs/cli-darwin-arm64@2.5.13':
resolution: {integrity: sha512-nYSuDJ6zgVqZUkAkJkvhXxsF2PYIrUk/g638K4voCXz7foI9f7b6C2/7+oAihsHQlivZNMUrm/y8ywlcHQtZOw==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [darwin]
'@biomejs/cli-darwin-x64@2.5.12':
resolution: {integrity: sha512-vhPgwnh+6tN3ArdAXuET99xaNbFt7CG82Bqn+omHVLC5xdVx45JsYjGPmUIGNzjDek5XdNCP1HKksK7fn8+3bQ==}
'@biomejs/cli-darwin-x64@2.5.13':
resolution: {integrity: sha512-KVy1ceEDuJ3AzFxjT9kkxbVy+UANw1pjEMUS6lvKfxjJ+fmkRvc7sQn1Xo6ETgseEI7wUQoV03KSga3XfE8YRQ==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [darwin]
'@biomejs/cli-linux-arm64-musl@2.5.12':
resolution: {integrity: sha512-couHYjFLL5uuI8ne6zhT7KwEsXo5YP7ry/2xmEqah7qanu0YmfDi3mwJg47YXSuv/NpZj22CZzcRH/5c4gjPSQ==}
'@biomejs/cli-linux-arm64-musl@2.5.13':
resolution: {integrity: sha512-CH32xpep3dNS5EVJpAHlYchkBYznxyVZQrx0b6YYYlPL9u9ZeD2NtqiK/6s64+HFS2a7hGnryLlqqZAOh8ax5g==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
libc: [musl]
'@biomejs/cli-linux-arm64@2.5.12':
resolution: {integrity: sha512-2gp8aVwXYKdAtmBfRFCUuyDMcfN1ahHqUkGfLYrZlNRFmryMATLVvJgWKvyA8wu4Rwn5OSxM1UcUmOuOFNGeBQ==}
'@biomejs/cli-linux-arm64@2.5.13':
resolution: {integrity: sha512-VlNMtoxOqs0dUR6drxxHr18SNUvI7xxAuHZlH4s/dstYSf3g6RaqVgo8JRnhcOhKz9afWrvtJTboNG1JuYlIDQ==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@biomejs/cli-linux-x64-musl@2.5.12':
resolution: {integrity: sha512-8A0oDW58/w9f/PQNYuq0sGUZtGtGrkNF4Z6n0PUoXpLCshi85vtKTv1XSznQawhdE4MXJ8ufpzHXyLFe87M/+w==}
'@biomejs/cli-linux-x64-musl@2.5.13':
resolution: {integrity: sha512-F3pmwl+VHoUuVJN/tbNLKeLt0SVK3EIyN1jXlMcNyQGYRQQTVqXF+GgkP0/CjGXFN87e/mv0sBfUnWqWza5PKQ==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
libc: [musl]
'@biomejs/cli-linux-x64@2.5.12':
resolution: {integrity: sha512-SnvOs3TSTiuia4SQOUNe1aWC9RT4+YkjcKnOhL/nsKOV0k5ycgBkDzF0lUxKn1V7Q8CLTRq6iV23ZAivHomRoA==}
'@biomejs/cli-linux-x64@2.5.13':
resolution: {integrity: sha512-Fi6gIxbUaJ3ZCIXeG3ggIBPF76O2DjDN67WrPX/ODRv54GeXPm2gbEPC96Yb0yrJoiH0Eax1JLx1Pi0XbsNFZQ==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
libc: [glibc]
'@biomejs/cli-win32-arm64@2.5.12':
resolution: {integrity: sha512-b9vtoZFsuZt1pdjNwJvXl0f+BpayRzV008uS2+JpmwIKdSE2qdu4A/l04FESwLoou5g2E/Qlec0xwJydZplH+A==}
'@biomejs/cli-win32-arm64@2.5.13':
resolution: {integrity: sha512-+WD13qshXrr0Icv4BfsAdzm8Fs3TL+nZ59zEQxsYNd8lcgZJ0A5+OrlwsL1PipVCmWeRpxgIPD6DAcEd7smkCQ==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [win32]
'@biomejs/cli-win32-x64@2.5.12':
resolution: {integrity: sha512-B1R/l+CwEpKFSuqiwePzPNRk1EiJN8kc0UhdafNz6MZN9v5OFP9HYP1irptvWzHrwVI4blVNGMbxc5zt70m3IA==}
'@biomejs/cli-win32-x64@2.5.13':
resolution: {integrity: sha512-VOofU/nW761XWzUeUNE8zzYNyPrxuMuNFMizL0qz7J75yeV8N7WFheUlk1/K6dOkaFpH9wJ+lDKlwjAbw0346w==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [win32]
@@ -3512,8 +3512,8 @@ packages:
lru-cache@5.1.1:
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
lucide-react@1.44.0:
resolution: {integrity: sha512-2egNApH4hX4j/qdCgRublh88+9u3mEhz9iSlW5ckm4kaQEqZbXbMr0l5u5JZLy8nmWRx2dbHGQkEDYz6C9aCgw==}
lucide-react@1.46.0:
resolution: {integrity: sha512-Bv+FZXgZPrxc/NCl1e7JJVQFLdiCxYgxNVhqoV7X0p6I8ADJo8DxBnK1auH0fZz4AmqOJ3jgneL4f1i8LJQRAA==}
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
@@ -3524,8 +3524,8 @@ packages:
magic-string@0.30.21:
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
magic-string@1.3.1:
resolution: {integrity: sha512-rm91zr2Ou+XueDTohjQQjdQEcYM6zVi8KVUCG8Ec3vHwUEKrhSdCNyfuIywkA6hcCAteIn0ZOtAHA6eGpiX+Pg==}
magic-string@1.4.1:
resolution: {integrity: sha512-8lyCu36ErXR0J9uaGKlKQoiLZKmtI63YGLE8G2o9jyRPdr4X47LusSOwgOJOzcVtp81fTAAjxR7BwKz682Jhow==}
markdown-it@14.1.1:
resolution: {integrity: sha512-BuU2qnTti9YKgK5N+IeMubp14ZUKUUw7yeJbkjtosvHiP0AZ5c8IAgEMk79D0eC8F23r4Ac/q8cAIFdm2FtyoA==}
@@ -3560,8 +3560,8 @@ packages:
resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==}
engines: {node: '>= 0.8'}
mediabunny@1.56.1:
resolution: {integrity: sha512-DNOm0bRBmeOxJgCK/g3LxNWbxY5morTauNdlychujGmJ9L37ezVezkNoI1WtO2Xdb4WlWWJlYfIKnOEzd5phRw==}
mediabunny@1.56.2:
resolution: {integrity: sha512-KrrL2Hr47q+IXS19BVWJyYMw1Wb8gz8FkeKP/+ui7q8tPt0lfaio2d9CaGkEWFghaD02wNae/HgYBZTcg5RyZg==}
merge-descriptors@2.0.0:
resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==}
@@ -3932,8 +3932,8 @@ packages:
resolution: {integrity: sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==}
engines: {node: '>= 20.19.0'}
remeda@2.48.0:
resolution: {integrity: sha512-+tf74WyTpQT1lHI/zJeXOkMBqb6R9gNcd3T4DpXzjs26PdwEARCPKOjLAwJaQYrvSXS+nxsXMhEZD4NS40QuSg==}
remeda@2.50.0:
resolution: {integrity: sha512-pzljnP7Gnl/lLz5WcOSkxEGCjcK4dteQihQjRrtKCGqn8J6jD0BHwfU6pRrXjvQV2EWe+HdgtfZW7rDdmKn8uQ==}
engines: {node: '>=18.0.0'}
remix-auth-oauth2@3.4.1:
@@ -4477,7 +4477,7 @@ snapshots:
'@smithy/types': 4.18.0
tslib: 2.8.1
'@aws-sdk/client-s3@3.1130.0':
'@aws-sdk/client-s3@3.1132.0':
dependencies:
'@aws-sdk/checksums': 3.1001.0
'@aws-sdk/core': 3.978.0
@@ -4586,9 +4586,9 @@ snapshots:
'@smithy/types': 4.18.0
tslib: 2.8.1
'@aws-sdk/lib-storage@3.1130.0(@aws-sdk/client-s3@3.1130.0)':
'@aws-sdk/lib-storage@3.1132.0(@aws-sdk/client-s3@3.1132.0)':
dependencies:
'@aws-sdk/client-s3': 3.1130.0
'@aws-sdk/client-s3': 3.1132.0
'@smithy/core': 3.34.1
'@smithy/types': 4.18.0
buffer: 5.6.0
@@ -4843,39 +4843,39 @@ snapshots:
'@babel/helper-string-parser': 7.29.7
'@babel/helper-validator-identifier': 7.29.7
'@biomejs/biome@2.5.12':
'@biomejs/biome@2.5.13':
optionalDependencies:
'@biomejs/cli-darwin-arm64': 2.5.12
'@biomejs/cli-darwin-x64': 2.5.12
'@biomejs/cli-linux-arm64': 2.5.12
'@biomejs/cli-linux-arm64-musl': 2.5.12
'@biomejs/cli-linux-x64': 2.5.12
'@biomejs/cli-linux-x64-musl': 2.5.12
'@biomejs/cli-win32-arm64': 2.5.12
'@biomejs/cli-win32-x64': 2.5.12
'@biomejs/cli-darwin-arm64': 2.5.13
'@biomejs/cli-darwin-x64': 2.5.13
'@biomejs/cli-linux-arm64': 2.5.13
'@biomejs/cli-linux-arm64-musl': 2.5.13
'@biomejs/cli-linux-x64': 2.5.13
'@biomejs/cli-linux-x64-musl': 2.5.13
'@biomejs/cli-win32-arm64': 2.5.13
'@biomejs/cli-win32-x64': 2.5.13
'@biomejs/cli-darwin-arm64@2.5.12':
'@biomejs/cli-darwin-arm64@2.5.13':
optional: true
'@biomejs/cli-darwin-x64@2.5.12':
'@biomejs/cli-darwin-x64@2.5.13':
optional: true
'@biomejs/cli-linux-arm64-musl@2.5.12':
'@biomejs/cli-linux-arm64-musl@2.5.13':
optional: true
'@biomejs/cli-linux-arm64@2.5.12':
'@biomejs/cli-linux-arm64@2.5.13':
optional: true
'@biomejs/cli-linux-x64-musl@2.5.12':
'@biomejs/cli-linux-x64-musl@2.5.13':
optional: true
'@biomejs/cli-linux-x64@2.5.12':
'@biomejs/cli-linux-x64@2.5.13':
optional: true
'@biomejs/cli-win32-arm64@2.5.12':
'@biomejs/cli-win32-arm64@2.5.13':
optional: true
'@biomejs/cli-win32-x64@2.5.12':
'@biomejs/cli-win32-x64@2.5.13':
optional: true
'@blazediff/core@1.9.1': {}
@@ -7720,7 +7720,7 @@ snapshots:
dependencies:
yallist: 3.1.1
lucide-react@1.44.0(react@19.3.0):
lucide-react@1.46.0(react@19.3.0):
dependencies:
react: 19.3.0
@@ -7730,7 +7730,7 @@ snapshots:
dependencies:
'@jridgewell/sourcemap-codec': 1.6.0
magic-string@1.3.1:
magic-string@1.4.1:
dependencies:
'@jridgewell/sourcemap-codec': 1.6.0
@@ -7753,7 +7753,7 @@ snapshots:
media-typer@1.1.0: {}
mediabunny@1.56.1:
mediabunny@1.56.2:
dependencies:
'@types/dom-mediacapture-transform': 0.1.12
'@types/dom-webcodecs': 0.1.13
@@ -8154,7 +8154,7 @@ snapshots:
readdirp@5.1.1: {}
remeda@2.48.0: {}
remeda@2.50.0: {}
remix-auth-oauth2@3.4.1(remix-auth@4.2.0):
dependencies: