diff --git a/package.json b/package.json index e1738d601..23e874fde 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "@dnd-kit/utilities": "^3.2.0", "@emotion/react": "^11.10.5", "@emotion/server": "^11.10.0", - "@mantine/carousel": "^5.9.3", "@mantine/core": "^5.9.3", "@mantine/dates": "^5.9.3", "@mantine/dropzone": "^5.9.3", @@ -41,7 +40,6 @@ "@mantine/modals": "^5.9.3", "@mantine/next": "^5.9.3", "@mantine/notifications": "^5.9.3", - "@mantine/prism": "^5.9.3", "@nivo/core": "^0.79.0", "@nivo/line": "^0.79.1", "@tabler/icons": "^1.106.0", @@ -50,7 +48,7 @@ "axios": "^0.27.2", "consola": "^2.15.3", "cookies-next": "^2.1.1", - "dayjs": "^1.11.6", + "dayjs": "^1.11.7", "dockerode": "^3.3.2", "embla-carousel-react": "^7.0.0", "fily-publish-gridstack": "^0.0.13", @@ -59,7 +57,7 @@ "i18next-browser-languagedetector": "^6.1.5", "i18next-http-backend": "^1.4.1", "js-file-download": "^0.4.12", - "next": "12.2.0", + "next": "^13.1.6", "next-i18next": "^11.3.0", "nzbget-api": "^0.0.3", "ping": "^0.4.2", diff --git a/src/components/Dashboard/Modals/AboutModal/AboutModal.tsx b/src/components/Dashboard/Modals/AboutModal/AboutModal.tsx index 905085e47..13b290a3f 100644 --- a/src/components/Dashboard/Modals/AboutModal/AboutModal.tsx +++ b/src/components/Dashboard/Modals/AboutModal/AboutModal.tsx @@ -53,7 +53,15 @@ export const AboutModal = ({ opened, closeModal, newVersionAvailable }: AboutMod opened={opened} title={ - + Homarr logo {t('about')} Homarr diff --git a/src/components/Dashboard/Modals/EditAppModal/Tabs/IntegrationTab/Components/InputElements/IntegrationSelector.tsx b/src/components/Dashboard/Modals/EditAppModal/Tabs/IntegrationTab/Components/InputElements/IntegrationSelector.tsx index b6c37a8a9..7ba366339 100644 --- a/src/components/Dashboard/Modals/EditAppModal/Tabs/IntegrationTab/Components/InputElements/IntegrationSelector.tsx +++ b/src/components/Dashboard/Modals/EditAppModal/Tabs/IntegrationTab/Components/InputElements/IntegrationSelector.tsx @@ -126,11 +126,11 @@ export const IntegrationSelector = ({ form }: IntegrationSelectorProps) => { /> ) } + {...inputProps} onChange={(value) => { form.setFieldValue('integration.properties', getNewProperties(value)); inputProps.onChange(value); }} - {...inputProps} /> ); }; diff --git a/src/components/Dashboard/Modals/EditAppModal/Tabs/IntegrationTab/Components/IntegrationOptionsRenderer/IntegrationOptionsRenderer.tsx b/src/components/Dashboard/Modals/EditAppModal/Tabs/IntegrationTab/Components/IntegrationOptionsRenderer/IntegrationOptionsRenderer.tsx index 0d8d4bfd9..a22721f78 100644 --- a/src/components/Dashboard/Modals/EditAppModal/Tabs/IntegrationTab/Components/IntegrationOptionsRenderer/IntegrationOptionsRenderer.tsx +++ b/src/components/Dashboard/Modals/EditAppModal/Tabs/IntegrationTab/Components/IntegrationOptionsRenderer/IntegrationOptionsRenderer.tsx @@ -61,7 +61,6 @@ export const IntegrationOptionsRenderer = ({ form }: IntegrationOptionsRendererP label={`${property} (potentionally unmapped)`} secretIsPresent={isPresent} setIcon={IconKey} - value={formValue.value} type={accessabilityType} {...form.getInputProps(`integration.properties.${index}.value`)} /> @@ -76,7 +75,6 @@ export const IntegrationOptionsRenderer = ({ form }: IntegrationOptionsRendererP }} key={`input-${definition.label}`} label={definition.label} - value="" secretIsPresent={isPresent} setIcon={definition.icon} type={accessabilityType} diff --git a/src/components/Dashboard/Modals/EditAppModal/Tabs/NetworkTab/NetworkTab.tsx b/src/components/Dashboard/Modals/EditAppModal/Tabs/NetworkTab/NetworkTab.tsx index 7c1fe0c2c..6b3cc6a81 100644 --- a/src/components/Dashboard/Modals/EditAppModal/Tabs/NetworkTab/NetworkTab.tsx +++ b/src/components/Dashboard/Modals/EditAppModal/Tabs/NetworkTab/NetworkTab.tsx @@ -27,9 +27,9 @@ export const NetworkTab = ({ form }: NetworkTabProps) => { data={StatusCodes} clearable searchable - defaultValue={form.values.network.okStatus} + defaultValue={form.values.network.okStatus.map((x) => `${x}`)} variant="default" - {...form.getInputProps('network.okStatus')} + {...form.getInputProps('network.statusCodes')} /> )} diff --git a/src/components/Dashboard/Modals/SelectElement/Components/Shared/GenericElementType.tsx b/src/components/Dashboard/Modals/SelectElement/Components/Shared/GenericElementType.tsx index 07938aba2..fbf9cd169 100644 --- a/src/components/Dashboard/Modals/SelectElement/Components/Shared/GenericElementType.tsx +++ b/src/components/Dashboard/Modals/SelectElement/Components/Shared/GenericElementType.tsx @@ -24,7 +24,9 @@ export const GenericAvailableElementType = ({ const { t } = useTranslation('layout/modals/about'); const Icon = - typeof image === 'string' ? () => : image; + typeof image === 'string' + ? () => {name} + : image; return ( diff --git a/src/components/Dashboard/Tiles/Apps/AppTile.tsx b/src/components/Dashboard/Tiles/Apps/AppTile.tsx index 992ae1606..b11604187 100644 --- a/src/components/Dashboard/Tiles/Apps/AppTile.tsx +++ b/src/components/Dashboard/Tiles/Apps/AppTile.tsx @@ -1,7 +1,7 @@ import { Box, Stack, Title, UnstyledButton } from '@mantine/core'; -import { NextLink } from '@mantine/next'; import { createStyles } from '@mantine/styles'; import { motion } from 'framer-motion'; +import Link from 'next/link'; import { AppType } from '../../../../types/app'; import { useCardStyles } from '../../../layout/useCardStyles'; import { useEditModeStore } from '../../Views/useEditModeStore'; @@ -71,7 +71,7 @@ export const AppTile = ({ className, app }: AppTileProps) => { ) : ( 0 ? app.behaviour.externalUrl : app.url} target={app.behaviour.isOpeningNewTab ? '_blank' : '_self'} className={cx(classes.button)} diff --git a/src/modules/Docker/ContainerActionBar.tsx b/src/modules/Docker/ContainerActionBar.tsx index 6d1000025..3b8943908 100644 --- a/src/modules/Docker/ContainerActionBar.tsx +++ b/src/modules/Docker/ContainerActionBar.tsx @@ -20,7 +20,6 @@ import { useConfigContext } from '../../config/provider'; import { tryMatchService } from '../../tools/addToHomarr'; import { openContextModalGeneric } from '../../tools/mantineModalManagerExtensions'; import { AppType } from '../../types/app'; -import { appTileDefinition } from '../../components/Dashboard/Tiles/Apps/AppTile'; let t: TFunction<'modules/docker', undefined>; diff --git a/src/pages/404.tsx b/src/pages/404.tsx index 5ed2a87c5..aadf66175 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -1,16 +1,16 @@ -import React from 'react'; import { - createStyles, - Container, - Title, - Text, Button, + Container, + createStyles, Group, + Text, + Title, useMantineTheme, } from '@mantine/core'; -import { NextLink } from '@mantine/next'; +import React from 'react'; import { serverSideTranslations } from 'next-i18next/serverSideTranslations'; +import Link from 'next/link'; const useStyles = createStyles((theme) => ({ root: { @@ -85,9 +85,9 @@ export default function Custom404() { The config you are trying to access does not exist. Please check the URL and try again. - + - + diff --git a/src/tools/acceptableStatusCodes.ts b/src/tools/acceptableStatusCodes.ts index 3d942fd8d..12707ad65 100644 --- a/src/tools/acceptableStatusCodes.ts +++ b/src/tools/acceptableStatusCodes.ts @@ -1,21 +1,23 @@ -export const StatusCodes = [ - { value: 200, label: '200 - OK', group: 'Sucessful responses' }, - { value: 204, label: '204 - No Content', group: 'Sucessful responses' }, - { value: 301, label: '301 - Moved Permanently', group: 'Redirection responses' }, - { value: 302, label: '302 - Found / Moved Temporarily', group: 'Redirection responses' }, - { value: 304, label: '304 - Not Modified', group: 'Redirection responses' }, - { value: 307, label: '307 - Temporary Redirect', group: 'Redirection responses' }, - { value: 308, label: '308 - Permanent Redirect', group: 'Redirection responses' }, - { value: 400, label: '400 - Bad Request', group: 'Client error responses' }, - { value: 401, label: '401 - Unauthorized', group: 'Client error responses' }, - { value: 403, label: '403 - Forbidden', group: 'Client error responses' }, - { value: 404, label: '404 - Not Found', group: 'Client error responses' }, - { value: 405, label: '405 - Method Not Allowed', group: 'Client error responses' }, - { value: 408, label: '408 - Request Timeout', group: 'Client error responses' }, - { value: 410, label: '410 - Gone', group: 'Client error responses' }, - { value: 429, label: '429 - Too Many Requests', group: 'Client error responses' }, - { value: 500, label: '500 - Internal Server Error', group: 'Server error responses' }, - { value: 502, label: '502 - Bad Gateway', group: 'Server error responses' }, - { value: 503, label: '503 - Service Unavailable', group: 'Server error responses' }, - { value: 504, label: '504 - Gateway Timeout Error', group: 'Server error responses' }, +import { SelectItem } from '@mantine/core'; + +export const StatusCodes: SelectItem[] = [ + { value: '200', label: '200 - OK', group: 'Sucessful responses' }, + { value: '204', label: '204 - No Content', group: 'Sucessful responses' }, + { value: '301', label: '301 - Moved Permanently', group: 'Redirection responses' }, + { value: '302', label: '302 - Found / Moved Temporarily', group: 'Redirection responses' }, + { value: '304', label: '304 - Not Modified', group: 'Redirection responses' }, + { value: '307', label: '307 - Temporary Redirect', group: 'Redirection responses' }, + { value: '308', label: '308 - Permanent Redirect', group: 'Redirection responses' }, + { value: '400', label: '400 - Bad Request', group: 'Client error responses' }, + { value: '401', label: '401 - Unauthorized', group: 'Client error responses' }, + { value: '403', label: '403 - Forbidden', group: 'Client error responses' }, + { value: '404', label: '404 - Not Found', group: 'Client error responses' }, + { value: '405', label: '405 - Method Not Allowed', group: 'Client error responses' }, + { value: '408', label: '408 - Request Timeout', group: 'Client error responses' }, + { value: '410', label: '410 - Gone', group: 'Client error responses' }, + { value: '429', label: '429 - Too Many Requests', group: 'Client error responses' }, + { value: '500', label: '500 - Internal Server Error', group: 'Server error responses' }, + { value: '502', label: '502 - Bad Gateway', group: 'Server error responses' }, + { value: '503', label: '503 - Service Unavailable', group: 'Server error responses' }, + { value: '504', label: '504 - Gateway Timeout Error', group: 'Server error responses' }, ]; diff --git a/src/tools/addToHomarr.ts b/src/tools/addToHomarr.ts index bb340ba4e..ea79d93c7 100644 --- a/src/tools/addToHomarr.ts +++ b/src/tools/addToHomarr.ts @@ -1,4 +1,5 @@ import Dockerode from 'dockerode'; + import { MatchingImages, ServiceType, tryMatchPort } from './types'; function tryMatchType(imageName: string): ServiceType { diff --git a/src/tools/bytesHelper.ts b/src/tools/bytesHelper.ts index bcbe882d0..c4d06aa07 100644 --- a/src/tools/bytesHelper.ts +++ b/src/tools/bytesHelper.ts @@ -1,3 +1,6 @@ +/* eslint-disable no-param-reassign */ +/* eslint-disable no-plusplus */ +/* eslint-disable consistent-return */ export const bytes = { toPerSecondString: (bytes?: number) => { if (!bytes) return '-'; diff --git a/src/tools/config/mutations/useDeleteConfigMutation.tsx b/src/tools/config/mutations/useDeleteConfigMutation.tsx index 6885d79e6..d51e12208 100644 --- a/src/tools/config/mutations/useDeleteConfigMutation.tsx +++ b/src/tools/config/mutations/useDeleteConfigMutation.tsx @@ -1,5 +1,5 @@ import { showNotification } from '@mantine/notifications'; -import { IconCheck, IconX } from '@tabler/icons'; +import { IconX } from '@tabler/icons'; import { useMutation } from '@tanstack/react-query'; import { useTranslation } from 'next-i18next'; diff --git a/src/tools/isToday.ts b/src/tools/isToday.ts index 8ca8441f0..06c46db48 100644 --- a/src/tools/isToday.ts +++ b/src/tools/isToday.ts @@ -3,6 +3,6 @@ export const isToday = (date: Date) => { return ( today.getDate() === date.getDate() && today.getMonth() === date.getMonth() && - date.getFullYear() === date.getFullYear() + today.getFullYear() === date.getFullYear() ); }; diff --git a/src/tools/percentage.ts b/src/tools/percentage.ts index eaf588c34..7aa201361 100644 --- a/src/tools/percentage.ts +++ b/src/tools/percentage.ts @@ -1,3 +1,2 @@ -export const percentage = (partialValue: number, totalValue: number) => { - return ((100 * partialValue) / totalValue).toFixed(1); -}; +export const percentage = (partialValue: number, totalValue: number) => + ((100 * partialValue) / totalValue).toFixed(1); diff --git a/src/types/app.ts b/src/types/app.ts index 7edeadee9..0f6284628 100644 --- a/src/types/app.ts +++ b/src/types/app.ts @@ -1,4 +1,5 @@ import { IconKey, IconPassword, IconUser, TablerIcon } from '@tabler/icons'; + import { TileBaseType } from './tile'; export interface AppType extends TileBaseType { diff --git a/src/widgets/calendar/CalendarTile.tsx b/src/widgets/calendar/CalendarTile.tsx index 6398dd3f7..f076160e3 100644 --- a/src/widgets/calendar/CalendarTile.tsx +++ b/src/widgets/calendar/CalendarTile.tsx @@ -2,6 +2,7 @@ import { createStyles, Group, MantineThemeColors, useMantineTheme } from '@manti import { Calendar } from '@mantine/dates'; import { IconCalendarTime } from '@tabler/icons'; import { useQuery } from '@tanstack/react-query'; +import { i18n } from 'next-i18next'; import { useState } from 'react'; import { useConfigContext } from '../../config/provider'; import { useColorTheme } from '../../tools/color'; @@ -74,6 +75,7 @@ function CalendarTile({ widget }: CalendarTileProps) { style={{ position: 'relative', top: -15 }} onMonthChange={setMonth} size="xs" + locale={i18n?.resolvedLanguage ?? 'en'} fullWidth onChange={() => {}} firstDayOfWeek={widget.properties.sundayStart ? 'sunday' : 'monday'} diff --git a/src/widgets/weather/useWeatherForCity.ts b/src/widgets/weather/useWeatherForCity.ts index 62312f017..3f21ebad6 100644 --- a/src/widgets/weather/useWeatherForCity.ts +++ b/src/widgets/weather/useWeatherForCity.ts @@ -53,6 +53,7 @@ async function fetchWeather(coordinates?: Coordinates) { const res = await fetch( `https://api.open-meteo.com/v1/forecast?latitude=${latitude}&longitude=${longitude}&daily=weathercode,temperature_2m_max,temperature_2m_min¤t_weather=true&timezone=Europe%2FLondon` ); + // eslint-disable-next-line consistent-return return (await res.json()) as WeatherResponse; } diff --git a/yarn.lock b/yarn.lock index 97cdc592e..cf1f50c6d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1114,163 +1114,134 @@ __metadata: languageName: node linkType: hard -"@mantine/carousel@npm:^5.9.3": - version: 5.9.3 - resolution: "@mantine/carousel@npm:5.9.3" - dependencies: - "@mantine/utils": 5.9.3 - peerDependencies: - "@mantine/core": 5.9.3 - "@mantine/hooks": 5.9.3 - embla-carousel-react: ^7.0.0 - react: ">=16.8.0" - checksum: 4c64a170d3dacfe94c2bfdd40f21f2eeb48e91df4fcfe4b06c0990a19ec787d36bb9c7eaf83632aead451e1f45e438144a484e50d5ccd5a3314e61c9169d5a2e - languageName: node - linkType: hard - "@mantine/core@npm:^5.9.3": - version: 5.9.3 - resolution: "@mantine/core@npm:5.9.3" + version: 5.10.2 + resolution: "@mantine/core@npm:5.10.2" dependencies: "@floating-ui/react-dom-interactions": ^0.10.1 - "@mantine/styles": 5.9.3 - "@mantine/utils": 5.9.3 + "@mantine/styles": 5.10.2 + "@mantine/utils": 5.10.2 "@radix-ui/react-scroll-area": 1.0.2 react-textarea-autosize: 8.3.4 peerDependencies: - "@mantine/hooks": 5.9.3 + "@mantine/hooks": 5.10.2 react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 8a84074c5af3607034fc8b31a73b04281e7b62e421395d884e392e74b966b616d9f01211ec35d7d491effaa04e0a02f7c69cd2b70813ebc2cb21e34d31afd0f2 + checksum: 25b385a37106119283a11d79e26578c2e6b7625b2e26bf121926aeaaaa6b74e96c24354c12ead3604881db97be3c7dea9b121b3cb4df673cc08d6e1cd435ee2a languageName: node linkType: hard "@mantine/dates@npm:^5.9.3": - version: 5.9.3 - resolution: "@mantine/dates@npm:5.9.3" + version: 5.10.2 + resolution: "@mantine/dates@npm:5.10.2" dependencies: - "@mantine/utils": 5.9.3 + "@mantine/utils": 5.10.2 peerDependencies: - "@mantine/core": 5.9.3 - "@mantine/hooks": 5.9.3 + "@mantine/core": 5.10.2 + "@mantine/hooks": 5.10.2 dayjs: ">=1.0.0" react: ">=16.8.0" - checksum: fc7c8d19ab10c1d997a882debae74f21fa3a2a59ee834b901713e5ddd9feba7197f61fb68a9a27794071d83d7690564fc45793a6966eebf5f55dff368f837aee + checksum: ffa1d1677d6f9f0722816169a09b879e3087d67e4ea4855616f6e6a456816f851f0ce7262bff25e968e86178a4b0621a8f99587e5d85ff1f299963f0432159ea languageName: node linkType: hard "@mantine/dropzone@npm:^5.9.3": - version: 5.9.3 - resolution: "@mantine/dropzone@npm:5.9.3" + version: 5.10.2 + resolution: "@mantine/dropzone@npm:5.10.2" dependencies: - "@mantine/utils": 5.9.3 + "@mantine/utils": 5.10.2 react-dropzone: 14.2.3 peerDependencies: - "@mantine/core": 5.9.3 - "@mantine/hooks": 5.9.3 + "@mantine/core": 5.10.2 + "@mantine/hooks": 5.10.2 react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 4409c1a302ff7a964045cdd1c5aa17db6d6c0554a67d85f900424a4503f19022488eaf76a83c51e0d76c3c2477498e606bf9c3b2b7897480cdfdd6de9b2038cb + checksum: 103feac1ba8481591382ced6f954e3f98ae2da7134090fa9ef977bb3f1442c06a7ec2f55eddfd645e1d79020d1610ada0b4ade5492d61e1a2b68cd659ee43741 languageName: node linkType: hard "@mantine/form@npm:^5.9.3": - version: 5.9.3 - resolution: "@mantine/form@npm:5.9.3" + version: 5.10.2 + resolution: "@mantine/form@npm:5.10.2" dependencies: fast-deep-equal: ^3.1.3 klona: ^2.0.5 peerDependencies: react: ">=16.8.0" - checksum: e531b059c2a80a4286c62b722b17df1c13f7e6a76341692cdf8c9fa6b25e45555a5998185364d362320a83bed35a6f824c6a30cc94bc44d277140ac62a263a5a + checksum: 4e94d603b2530278eb340d38c8296d7ec5b73391040ec83766c4afe613b18ca486bb5b3064e3fec8ef47ed40302b102702ea0cc4d68c7b59c62bff822857c8f0 languageName: node linkType: hard "@mantine/hooks@npm:^5.9.3": - version: 5.9.3 - resolution: "@mantine/hooks@npm:5.9.3" + version: 5.10.2 + resolution: "@mantine/hooks@npm:5.10.2" peerDependencies: react: ">=16.8.0" - checksum: 53ceb36bad2b5eeeca5ce612116cd2089ea31cfc93b7d0280c4917b90592dea8d9c584e08d2eb907553060750810b7601170d1f3221f0504b847a68f28854624 + checksum: 247f5cdce90e4ecabc81a899361091d0c9b4da57485d30ca74dccdb99053b7d5a53d2fb57df18907ca3676a8328f9a94d69d72aa38426efd17dd60d1b1f645a9 languageName: node linkType: hard "@mantine/modals@npm:^5.9.3": - version: 5.9.3 - resolution: "@mantine/modals@npm:5.9.3" + version: 5.10.2 + resolution: "@mantine/modals@npm:5.10.2" dependencies: - "@mantine/utils": 5.9.3 + "@mantine/utils": 5.10.2 peerDependencies: - "@mantine/core": 5.9.3 - "@mantine/hooks": 5.9.3 + "@mantine/core": 5.10.2 + "@mantine/hooks": 5.10.2 react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 8bad3c4542a937e529c5ebe4161ccf43c7b45288ef5024789c534c4e4dda36e67e9820f563eccda7aa47375002423c0d6c4b99ddbd4a0d1fb72bb8af09ce39b8 + checksum: 65310c532eb5d56fa4ee5f2613fb500eb6245361321cd87f2b3e8e0f9bbfcb12e91877ca0618ef8898d2d58be5091e98fa078b9750ff17ec5a53c60d9803ba6d languageName: node linkType: hard "@mantine/next@npm:^5.9.3": - version: 5.9.3 - resolution: "@mantine/next@npm:5.9.3" + version: 5.10.2 + resolution: "@mantine/next@npm:5.10.2" dependencies: - "@mantine/ssr": 5.9.3 - "@mantine/styles": 5.9.3 + "@mantine/ssr": 5.10.2 + "@mantine/styles": 5.10.2 peerDependencies: next: "*" react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 336cdf9732f64202498b33f725bdf51e27eb3b322e8176b7d7427fb595689e26049d3ebb775ba65882619f4048ed1a8bdca17893bdd560ab65c76551de016f21 + checksum: 1cbc55b5daeb632d9f0f418eaf41c5213840e95f4d50aaaae895cbe2091cd10685e2af7d97a8d0c9da8d46d3998ac1b2ad5cfc3c9798ba434baf386e8814f61d languageName: node linkType: hard "@mantine/notifications@npm:^5.9.3": - version: 5.9.3 - resolution: "@mantine/notifications@npm:5.9.3" + version: 5.10.2 + resolution: "@mantine/notifications@npm:5.10.2" dependencies: - "@mantine/utils": 5.9.3 + "@mantine/utils": 5.10.2 react-transition-group: 4.4.2 peerDependencies: - "@mantine/core": 5.9.3 - "@mantine/hooks": 5.9.3 + "@mantine/core": 5.10.2 + "@mantine/hooks": 5.10.2 react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: de92616f88b79271080f02edaaa92c9e76a85e5dad2831c747cbde312e23336351ee12f4179bb57b8a54d628644d4f8a7843b8358179bf5f657c2a995e5a1c6f + checksum: 36289997284e326863c3560f7538c92a3fe8304560e9052a2555c77f8467e29a91a8a06b4e42acd8ef346cde46e02fd652a23c883f07d645b8328502ab21fe0d languageName: node linkType: hard -"@mantine/prism@npm:^5.9.3": - version: 5.9.3 - resolution: "@mantine/prism@npm:5.9.3" +"@mantine/ssr@npm:5.10.2": + version: 5.10.2 + resolution: "@mantine/ssr@npm:5.10.2" dependencies: - "@mantine/utils": 5.9.3 - prism-react-renderer: ^1.2.1 - peerDependencies: - "@mantine/core": 5.9.3 - "@mantine/hooks": 5.9.3 - react: ">=16.8.0" - react-dom: ">=16.8.0" - checksum: 5d5b66a13ff2260cc150f7252eb0a8c581e062df347ebb842ddcdb0bbddc255373861e9e824697aaf6414dc0062b849db7d2dd9088a20719a420e24bc1a8ef7c - languageName: node - linkType: hard - -"@mantine/ssr@npm:5.9.3": - version: 5.9.3 - resolution: "@mantine/ssr@npm:5.9.3" - dependencies: - "@mantine/styles": 5.9.3 + "@mantine/styles": 5.10.2 html-react-parser: 1.4.12 peerDependencies: "@emotion/react": ">=11.9.0" "@emotion/server": ">=11.4.0" react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 44cc9f8d1ae122c563251be2e50f175dd61b85dda5354d68a66870ebd49b21b593b061d79245954d02fd8ad736e3cf6590e4dff5a177ec74d5498401178ce800 + checksum: e37f5bafc3700e97ea5b89aa2f974d13a154437eaef2f84a22166739821f1337dd657f9d3771143e30e63077b2b69127a98944beb9cc0a8f25448529fabffea4 languageName: node linkType: hard -"@mantine/styles@npm:5.9.3": - version: 5.9.3 - resolution: "@mantine/styles@npm:5.9.3" +"@mantine/styles@npm:5.10.2": + version: 5.10.2 + resolution: "@mantine/styles@npm:5.10.2" dependencies: clsx: 1.1.1 csstype: 3.0.9 @@ -1278,16 +1249,16 @@ __metadata: "@emotion/react": ">=11.9.0" react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 8ba6db16ecc62d5c5128b4e72b6ce8358b4dd3ef89e53b7deaa510d1d7289641b39b1cff2551c00d66791b41e33e6e5d8f213a37d4d10b006fa7329e3c0e31d5 + checksum: c7c6b785399b9414bf3933673266bbff205884639639d2e2e44ad0152af4d7e40e82c10d27043aac80d426144fc73876b877146218de8a970e2f729b4fa66276 languageName: node linkType: hard -"@mantine/utils@npm:5.9.3": - version: 5.9.3 - resolution: "@mantine/utils@npm:5.9.3" +"@mantine/utils@npm:5.10.2": + version: 5.10.2 + resolution: "@mantine/utils@npm:5.10.2" peerDependencies: react: ">=16.8.0" - checksum: 5cdb34ce05213636f396fa85d0a03fcd13a24e5e87a85e87719a213745ca5cd98d9e143630d9b8d3b5029de3a9694df16ee6c28c3d668f8f6012815600f42b44 + checksum: 6d1acdcd58020c26b646adfacd8082a03d17348ab921d741c6dae48312264bfd03afe9b91cb827c48cbc2f0480054a7b3aae808ec39240d0e4067b413cf19ea8 languageName: node linkType: hard @@ -1365,10 +1336,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:12.2.0": - version: 12.2.0 - resolution: "@next/env@npm:12.2.0" - checksum: 5fb317bdb5eb2d5df12ff55e335368792dba21874c5ece3cabf8cd312cec911a1d54ecf368e69dc08640b0244669b8a98c86cd035c7874b17640602e67c1b9d9 +"@next/env@npm:13.1.6": + version: 13.1.6 + resolution: "@next/env@npm:13.1.6" + checksum: 0f911a18f0b3372007632fffa87f5d7f802c00d07b3bf757d2d09574735ae43f60000ecdf64b6f06e195971c508c2bcee82dd1e3aab27a08a4300eb0317652bb languageName: node linkType: hard @@ -1381,93 +1352,93 @@ __metadata: languageName: node linkType: hard -"@next/swc-android-arm-eabi@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-android-arm-eabi@npm:12.2.0" +"@next/swc-android-arm-eabi@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-android-arm-eabi@npm:13.1.6" conditions: os=android & cpu=arm languageName: node linkType: hard -"@next/swc-android-arm64@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-android-arm64@npm:12.2.0" +"@next/swc-android-arm64@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-android-arm64@npm:13.1.6" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-darwin-arm64@npm:12.2.0" +"@next/swc-darwin-arm64@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-darwin-arm64@npm:13.1.6" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-darwin-x64@npm:12.2.0" +"@next/swc-darwin-x64@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-darwin-x64@npm:13.1.6" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-freebsd-x64@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-freebsd-x64@npm:12.2.0" +"@next/swc-freebsd-x64@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-freebsd-x64@npm:13.1.6" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm-gnueabihf@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-linux-arm-gnueabihf@npm:12.2.0" +"@next/swc-linux-arm-gnueabihf@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-linux-arm-gnueabihf@npm:13.1.6" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-linux-arm64-gnu@npm:12.2.0" +"@next/swc-linux-arm64-gnu@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-linux-arm64-gnu@npm:13.1.6" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-linux-arm64-musl@npm:12.2.0" +"@next/swc-linux-arm64-musl@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-linux-arm64-musl@npm:13.1.6" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-linux-x64-gnu@npm:12.2.0" +"@next/swc-linux-x64-gnu@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-linux-x64-gnu@npm:13.1.6" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-linux-x64-musl@npm:12.2.0" +"@next/swc-linux-x64-musl@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-linux-x64-musl@npm:13.1.6" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-win32-arm64-msvc@npm:12.2.0" +"@next/swc-win32-arm64-msvc@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-win32-arm64-msvc@npm:13.1.6" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-win32-ia32-msvc@npm:12.2.0" +"@next/swc-win32-ia32-msvc@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-win32-ia32-msvc@npm:13.1.6" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:12.2.0": - version: 12.2.0 - resolution: "@next/swc-win32-x64-msvc@npm:12.2.0" +"@next/swc-win32-x64-msvc@npm:13.1.6": + version: 13.1.6 + resolution: "@next/swc-win32-x64-msvc@npm:13.1.6" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -1911,12 +1882,12 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.4.2": - version: 0.4.2 - resolution: "@swc/helpers@npm:0.4.2" +"@swc/helpers@npm:0.4.14": + version: 0.4.14 + resolution: "@swc/helpers@npm:0.4.14" dependencies: tslib: ^2.4.0 - checksum: 0b8c86ad03b17b8fe57dc4498e25dc294ea6bc42558a6b92d8fcd789351dac80199409bef38a2e3ac06aae0fedddfc0ab9c34409acbf74e55d1bbbd74f68b6b7 + checksum: 273fd3f3fc461a92f3790cc551ea054745c6d6959afbe1232e6d7aa1c722bbc114d308aab96bef5c78fc0303c85c7b472ef00e2253251cc89737f3b1af56e5a5 languageName: node linkType: hard @@ -3003,13 +2974,20 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001332, caniuse-lite@npm:^1.0.30001400": +"caniuse-lite@npm:^1.0.30001400": version: 1.0.30001439 resolution: "caniuse-lite@npm:1.0.30001439" checksum: 3912dd536c9735713ca85e47721988bbcefb881ddb4886b0b9923fa984247fd22cba032cf268e57d158af0e8a2ae2eae042ae01942a1d6d7849fa9fa5d62fb82 languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001406": + version: 1.0.30001446 + resolution: "caniuse-lite@npm:1.0.30001446" + checksum: b31a7e1837783afd7f3d4cb742689996c0a09d67394ddaa0609fd2bce00ceea65c448e25f91c03ba0f2d0e345b7e28fd5bc636c6760c949621a654c0effe74b5 + languageName: node + linkType: hard + "chalk@npm:^2.0.0": version: 2.4.2 resolution: "chalk@npm:2.4.2" @@ -3092,6 +3070,13 @@ __metadata: languageName: node linkType: hard +"client-only@npm:0.0.1": + version: 0.0.1 + resolution: "client-only@npm:0.0.1" + checksum: 0c16bf660dadb90610553c1d8946a7fdfb81d624adea073b8440b7d795d5b5b08beb3c950c6a2cf16279365a3265158a236876d92bce16423c485c322d7dfaf8 + languageName: node + linkType: hard + "cliui@npm:^8.0.1": version: 8.0.1 resolution: "cliui@npm:8.0.1" @@ -3477,7 +3462,7 @@ __metadata: languageName: node linkType: hard -"dayjs@npm:^1.11.6": +"dayjs@npm:^1.11.7": version: 1.11.7 resolution: "dayjs@npm:1.11.7" checksum: 5003a7c1dd9ed51385beb658231c3548700b82d3548c0cfbe549d85f2d08e90e972510282b7506941452c58d32136d6362f009c77ca55381a09c704e9f177ebb @@ -4933,7 +4918,6 @@ __metadata: "@dnd-kit/utilities": ^3.2.0 "@emotion/react": ^11.10.5 "@emotion/server": ^11.10.0 - "@mantine/carousel": ^5.9.3 "@mantine/core": ^5.9.3 "@mantine/dates": ^5.9.3 "@mantine/dropzone": ^5.9.3 @@ -4942,7 +4926,6 @@ __metadata: "@mantine/modals": ^5.9.3 "@mantine/next": ^5.9.3 "@mantine/notifications": ^5.9.3 - "@mantine/prism": ^5.9.3 "@next/bundle-analyzer": ^12.1.4 "@next/eslint-plugin-next": ^12.1.4 "@nivo/core": ^0.79.0 @@ -4960,7 +4943,7 @@ __metadata: axios: ^0.27.2 consola: ^2.15.3 cookies-next: ^2.1.1 - dayjs: ^1.11.6 + dayjs: ^1.11.7 dockerode: ^3.3.2 embla-carousel-react: ^7.0.0 eslint: ^8.20.0 @@ -4981,7 +4964,7 @@ __metadata: i18next-http-backend: ^1.4.1 jest: ^28.1.3 js-file-download: ^0.4.12 - next: 12.2.0 + next: ^13.1.6 next-i18next: ^11.3.0 nzbget-api: ^0.0.3 ping: ^0.4.2 @@ -6524,7 +6507,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.1.30": +"nanoid@npm:^3.3.4": version: 3.3.4 resolution: "nanoid@npm:3.3.4" bin: @@ -6579,34 +6562,33 @@ __metadata: languageName: node linkType: hard -"next@npm:12.2.0": - version: 12.2.0 - resolution: "next@npm:12.2.0" +"next@npm:^13.1.6": + version: 13.1.6 + resolution: "next@npm:13.1.6" dependencies: - "@next/env": 12.2.0 - "@next/swc-android-arm-eabi": 12.2.0 - "@next/swc-android-arm64": 12.2.0 - "@next/swc-darwin-arm64": 12.2.0 - "@next/swc-darwin-x64": 12.2.0 - "@next/swc-freebsd-x64": 12.2.0 - "@next/swc-linux-arm-gnueabihf": 12.2.0 - "@next/swc-linux-arm64-gnu": 12.2.0 - "@next/swc-linux-arm64-musl": 12.2.0 - "@next/swc-linux-x64-gnu": 12.2.0 - "@next/swc-linux-x64-musl": 12.2.0 - "@next/swc-win32-arm64-msvc": 12.2.0 - "@next/swc-win32-ia32-msvc": 12.2.0 - "@next/swc-win32-x64-msvc": 12.2.0 - "@swc/helpers": 0.4.2 - caniuse-lite: ^1.0.30001332 - postcss: 8.4.5 - styled-jsx: 5.0.2 - use-sync-external-store: 1.1.0 + "@next/env": 13.1.6 + "@next/swc-android-arm-eabi": 13.1.6 + "@next/swc-android-arm64": 13.1.6 + "@next/swc-darwin-arm64": 13.1.6 + "@next/swc-darwin-x64": 13.1.6 + "@next/swc-freebsd-x64": 13.1.6 + "@next/swc-linux-arm-gnueabihf": 13.1.6 + "@next/swc-linux-arm64-gnu": 13.1.6 + "@next/swc-linux-arm64-musl": 13.1.6 + "@next/swc-linux-x64-gnu": 13.1.6 + "@next/swc-linux-x64-musl": 13.1.6 + "@next/swc-win32-arm64-msvc": 13.1.6 + "@next/swc-win32-ia32-msvc": 13.1.6 + "@next/swc-win32-x64-msvc": 13.1.6 + "@swc/helpers": 0.4.14 + caniuse-lite: ^1.0.30001406 + postcss: 8.4.14 + styled-jsx: 5.1.1 peerDependencies: fibers: ">= 3.1.0" node-sass: ^6.0.0 || ^7.0.0 - react: ^17.0.2 || ^18.0.0-0 - react-dom: ^17.0.2 || ^18.0.0-0 + react: ^18.2.0 + react-dom: ^18.2.0 sass: ^1.3.0 dependenciesMeta: "@next/swc-android-arm-eabi": @@ -6644,7 +6626,7 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: 38456c33935122ac1581367e4982034be23269039a8470a66443d710334336f8f3fb587f25d172d138d84cf18c01d3a76627fb610c2e2e57bd1692277c23fa2b + checksum: 584977e382bd826c21e7fc5f67bca50e4d95741a854b1686394d45331404479c7266569671227421975fc18e5cf70769a4ad7edede7450d4497213205bba77c8 languageName: node linkType: hard @@ -7090,14 +7072,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.5": - version: 8.4.5 - resolution: "postcss@npm:8.4.5" +"postcss@npm:8.4.14": + version: 8.4.14 + resolution: "postcss@npm:8.4.14" dependencies: - nanoid: ^3.1.30 + nanoid: ^3.3.4 picocolors: ^1.0.0 - source-map-js: ^1.0.1 - checksum: b78abdd89c10f7b48f4bdcd376104a19d6e9c7495ab521729bdb3df315af6c211360e9f06887ad3bc0ab0f61a04b91d68ea11462997c79cced58b9ccd66fac07 + source-map-js: ^1.0.2 + checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816 languageName: node linkType: hard @@ -7151,7 +7133,7 @@ __metadata: languageName: node linkType: hard -"prism-react-renderer@npm:^1.2.1, prism-react-renderer@npm:^1.3.5": +"prism-react-renderer@npm:^1.3.5": version: 1.3.5 resolution: "prism-react-renderer@npm:1.3.5" peerDependencies: @@ -7835,7 +7817,7 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.1": +"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.2": version: 1.0.2 resolution: "source-map-js@npm:1.0.2" checksum: c049a7fc4deb9a7e9b481ae3d424cc793cb4845daa690bc5a05d428bf41bf231ced49b4cf0c9e77f9d42fdb3d20d6187619fc586605f5eabe995a316da8d377c @@ -8071,9 +8053,11 @@ __metadata: languageName: node linkType: hard -"styled-jsx@npm:5.0.2": - version: 5.0.2 - resolution: "styled-jsx@npm:5.0.2" +"styled-jsx@npm:5.1.1": + version: 5.1.1 + resolution: "styled-jsx@npm:5.1.1" + dependencies: + client-only: 0.0.1 peerDependencies: react: ">= 16.8.0 || 17.x.x || ^18.0.0-0" peerDependenciesMeta: @@ -8081,7 +8065,7 @@ __metadata: optional: true babel-plugin-macros: optional: true - checksum: 86d55819ebeabd283a574d2f44f7d3f8fa6b8c28fa41687ece161bf1e910e04965611618921d8f5cd33dc6dae1033b926a70421ae5ea045440a9861edc3e0d87 + checksum: 523a33b38603492547e861b98e29c873939b04e15fbe5ef16132c6f1e15958126647983c7d4675325038b428a5e91183d996e90141b18bdd1bbadf6e2c45b2fa languageName: node linkType: hard @@ -8515,15 +8499,6 @@ __metadata: languageName: node linkType: hard -"use-sync-external-store@npm:1.1.0": - version: 1.1.0 - resolution: "use-sync-external-store@npm:1.1.0" - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 8993a0b642f91d7fcdbb02b7b3ac984bd3af4769686f38291fe7fcfe73dfb73d6c64d20dfb7e5e7fbf5a6da8f5392d6f8e5b00c243a04975595946e82c02b883 - languageName: node - linkType: hard - "use-sync-external-store@npm:1.2.0, use-sync-external-store@npm:^1.2.0": version: 1.2.0 resolution: "use-sync-external-store@npm:1.2.0"