From c43d48f930d36b25cfc4ac41f00d799bb358a2aa Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sat, 3 Feb 2024 10:20:21 +0200 Subject: [PATCH] Upgrade deps --- app/components/AbilitiesSelector.tsx | 4 +- app/components/BuildCard.tsx | 4 +- app/db/seed/index.ts | 12 +- app/db/tables.ts | 7 +- app/features/build-analyzer/core/stats.ts | 8 +- .../build-stats/build-stats-utils.test.ts | 8 +- .../build-stats/routes/builds.$slug.stats.tsx | 2 +- app/features/builds/BuildRepository.server.ts | 6 +- .../builds/queries/buildsBy.server.ts | 6 +- app/features/builds/routes/builds.$slug.tsx | 33 +- app/features/calendar/routes/calendar.$id.tsx | 4 +- .../core/map-list-generator/map-list.ts | 2 +- .../map-list-generator/core/map-pool.ts | 2 +- .../core/objectDamage.test.ts | 10 +- .../core/objectDamage.ts | 4 +- app/features/sendouq/core/groups.server.ts | 10 +- app/features/team/routes/t.tsx | 2 +- .../top-search/routes/xsearch.player.$id.tsx | 14 +- app/features/top-search/routes/xsearch.tsx | 10 +- .../components/ScoreReporter.tsx | 4 +- .../components/TeamRosterInputs.tsx | 6 +- .../tournament-bracket/core/bestOf.server.ts | 8 +- .../tournament/routes/to.$id.join.tsx | 5 +- app/features/tournament/tournament-utils.ts | 2 +- .../user-page/routes/u.$identifier.index.tsx | 2 +- app/features/vods/routes/vods.$id.tsx | 2 +- app/features/vods/routes/vods.new.tsx | 2 +- app/modules/brackets-manager/helpers.ts | 4 +- .../generation.test.ts | 24 +- .../tournament-map-list.ts | 16 +- .../tournament-map-list-generator/utils.ts | 2 +- package-lock.json | 3498 +++++++++-------- package.json | 56 +- scripts/check-translation-jsons.ts | 9 +- tsconfig.json | 8 +- 35 files changed, 1970 insertions(+), 1826 deletions(-) diff --git a/app/components/AbilitiesSelector.tsx b/app/components/AbilitiesSelector.tsx index b3f9ecaad..0247c419f 100644 --- a/app/components/AbilitiesSelector.tsx +++ b/app/components/AbilitiesSelector.tsx @@ -179,7 +179,7 @@ function addAbility({ // were given an atRowIndex and atAbilityIndex if (canPlaceAbilityAtSlot(atRowIndex, atAbilityIndex, ability)) { // Assign this ability to the slot - abilitiesClone[atRowIndex]![atAbilityIndex] = ability.name; + abilitiesClone[atRowIndex][atAbilityIndex] = ability.name; } } else { // Loop through all slots and attempt to place this ability @@ -197,7 +197,7 @@ function addAbility({ } // Assign this ability to the slot - abilitiesClone[rowIndex]![abilityIndex] = ability.name; + abilitiesClone[rowIndex][abilityIndex] = ability.name; return abilitiesClone; } diff --git a/app/components/BuildCard.tsx b/app/components/BuildCard.tsx index 286ce9f3d..827fe9050 100644 --- a/app/components/BuildCard.tsx +++ b/app/components/BuildCard.tsx @@ -158,7 +158,7 @@ export function BuildCard({ build, owner, canEdit = false }: BuildProps) { ))} {weapons.length === 1 && (