Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
696bf5d07e Bump yaml
Bumps  and [yaml](https://github.com/eemeli/yaml). These dependencies needed to be updated together.

Updates `yaml` from 2.8.2 to 2.8.3
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.8.2...v2.8.3)

Updates `yaml` from 1.10.2 to 1.10.3
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.8.2...v2.8.3)

---
updated-dependencies:
- dependency-name: yaml
  dependency-version: 2.8.3
  dependency-type: indirect
- dependency-name: yaml
  dependency-version: 1.10.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-25 21:04:16 +00:00
6 changed files with 2112 additions and 90 deletions

2177
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,6 @@ import { convert } from "html-to-text";
import ellipsize from "ellipsize"; import ellipsize from "ellipsize";
import { LIBRARY_SERVICE_BASE_URI } from "../../constants/endpoints"; import { LIBRARY_SERVICE_BASE_URI } from "../../constants/endpoints";
import axios from "axios"; import axios from "axios";
import { useGetComicByIdQuery } from "../../graphql/generated";
interface MatchResultProps { interface MatchResultProps {
matchData: any; matchData: any;
@@ -32,7 +31,7 @@ export const MatchResult = (props: MatchResultProps) => {
// Invalidate and refetch the comic book metadata // Invalidate and refetch the comic book metadata
if (props.queryClient) { if (props.queryClient) {
await props.queryClient.invalidateQueries({ await props.queryClient.invalidateQueries({
queryKey: useGetComicByIdQuery.getKey({ id: comicObjectId }), queryKey: ["comicBookMetadata", comicObjectId],
}); });
} }

View File

@@ -19,7 +19,7 @@ interface LibraryStatisticsProps {
* Returns `null` when `stats` is absent or the statistics array is empty. * Returns `null` when `stats` is absent or the statistics array is empty.
*/ */
export const LibraryStatistics = ({ stats }: LibraryStatisticsProps): ReactElement | null => { export const LibraryStatistics = ({ stats }: LibraryStatisticsProps): ReactElement | null => {
if (!stats || !stats.totalDocuments) return null; if (!stats) return null;
const facet = stats.statistics?.[0]; const facet = stats.statistics?.[0];
if (!facet) return null; if (!facet) return null;

View File

@@ -11,11 +11,9 @@ type VolumeGroupsProps = {
volumeGroups?: GetVolumeGroupsQuery['getComicBookGroups']; volumeGroups?: GetVolumeGroupsQuery['getComicBookGroups'];
}; };
export const VolumeGroups = (props: VolumeGroupsProps): ReactElement | null => { export const VolumeGroups = (props: VolumeGroupsProps): ReactElement => {
// Till mongo gives us back the deduplicated results with the ObjectId // Till mongo gives us back the deduplicated results with the ObjectId
const deduplicatedGroups = unionBy(props.volumeGroups, "volumes.id"); const deduplicatedGroups = unionBy(props.volumeGroups, "volumes.id");
if (!deduplicatedGroups || deduplicatedGroups.length === 0) return null;
const navigate = useNavigate(); const navigate = useNavigate();
const navigateToVolumes = (row: any) => { const navigateToVolumes = (row: any) => {
navigate(`/volumes/all`); navigate(`/volumes/all`);

View File

@@ -15,9 +15,7 @@ type WantedComicsListProps = {
export const WantedComicsList = ({ export const WantedComicsList = ({
comics, comics,
}: WantedComicsListProps): ReactElement | null => { }: WantedComicsListProps): ReactElement => {
if (!comics || comics.length === 0) return null;
const navigate = useNavigate(); const navigate = useNavigate();
// embla carousel // embla carousel

View File

@@ -10638,14 +10638,14 @@ yallist@^3.0.2:
integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
yaml@^1.10.0: yaml@^1.10.0:
version "1.10.2" version "1.10.3"
resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.3.tgz#76e407ed95c42684fb8e14641e5de62fe65bbcb3"
integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== integrity sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA==
yaml@^2.3.1: yaml@^2.3.1:
version "2.8.2" version "2.8.3"
resolved "https://registry.npmjs.org/yaml/-/yaml-2.8.2.tgz" resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.8.3.tgz#a0d6bd2efb3dd03c59370223701834e60409bd7d"
integrity sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A== integrity sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==
yargs-parser@^18.1.2: yargs-parser@^18.1.2:
version "18.1.3" version "18.1.3"