Update dependencies

This commit is contained in:
schroda
2026-03-08 23:25:02 +01:00
parent 00d6350cee
commit f549658dfa
9 changed files with 651 additions and 591 deletions

View File

@@ -36,7 +36,7 @@
"*.{ts,tsx,js,jsx}": "eslint --fix" "*.{ts,tsx,js,jsx}": "eslint --fix"
}, },
"resolutions": { "resolutions": {
"@swc/core": "1.13.5" "@swc/core": "1.15.11"
}, },
"dependencies": { "dependencies": {
"@apollo/client": "3.13.9", "@apollo/client": "3.13.9",
@@ -47,72 +47,72 @@
"@emotion/react": "11.14.0", "@emotion/react": "11.14.0",
"@emotion/styled": "11.14.1", "@emotion/styled": "11.14.1",
"@juggle/resize-observer": "3.4.0", "@juggle/resize-observer": "3.4.0",
"@lingui/core": "5.7.0", "@lingui/core": "5.9.2",
"@lingui/react": "5.7.0", "@lingui/react": "5.9.2",
"@loadable/component": "5.16.7", "@loadable/component": "5.16.7",
"@mantine/hooks": "8.3.8", "@mantine/hooks": "8.3.16",
"@mui/icons-material": "7.3.5", "@mui/icons-material": "7.3.9",
"@mui/material": "7.3.5", "@mui/material": "7.3.9",
"@mui/system": "7.3.5", "@mui/system": "7.3.9",
"@mui/utils": "7.3.5", "@mui/utils": "7.3.9",
"@mui/x-date-pickers": "8.18.0", "@mui/x-date-pickers": "8.27.2",
"@redux-devtools/extension": "3.3.0", "@redux-devtools/extension": "3.3.0",
"@vibrant/color": "4.0.0", "@vibrant/color": "4.0.4",
"apollo-upload-client": "18.0.1", "apollo-upload-client": "18.0.1",
"awaitable-component": "1.0.0", "awaitable-component": "1.0.0",
"csstype": "3.2.2", "csstype": "3.2.3",
"dayjs": "1.11.19", "dayjs": "1.11.19",
"fast-average-color": "9.5.0", "fast-average-color": "9.5.0",
"file-selector": "2.1.2", "file-selector": "2.1.2",
"graphql": "16.12.0", "graphql": "16.13.1",
"graphql-sock": "1.0.1", "graphql-sock": "1.0.1",
"graphql-tag": "2.12.6", "graphql-tag": "2.12.6",
"graphql-ws": "6.0.6", "graphql-ws": "6.0.7",
"immer": "10.2.0", "immer": "11.1.4",
"jsonrepair": "3.13.1", "jsonrepair": "3.13.2",
"koration": "1.0.0", "koration": "1.0.0",
"material-ui-popup-state": "5.3.6", "material-ui-popup-state": "5.3.6",
"mui-nested-menu": "4.0.1", "mui-nested-menu": "4.0.3",
"node-vibrant": "4.0.3", "node-vibrant": "4.0.4",
"notistack": "3.0.2", "notistack": "3.0.2",
"p-limit": "7.2.0", "p-limit": "7.3.0",
"polished": "4.3.1", "polished": "4.3.1",
"react": "19.2.0", "react": "19.2.4",
"react-dom": "19.2.0", "react-dom": "19.2.4",
"react-hotkeys-hook": "5.2.1", "react-hotkeys-hook": "5.2.4",
"react-lazily": "0.9.2", "react-lazily": "0.9.2",
"react-router-dom": "6.26.1", "react-router-dom": "6.26.1",
"react-virtuoso": "4.14.1", "react-virtuoso": "4.18.3",
"stylis": "4.3.6", "stylis": "4.3.6",
"stylis-plugin-rtl": "2.1.1", "stylis-plugin-rtl": "2.1.1",
"use-long-press": "3.3.0", "use-long-press": "3.3.0",
"use-query-params": "2.2.1", "use-query-params": "2.2.2",
"webfontloader": "1.6.28", "webfontloader": "1.6.28",
"zustand": "5.0.8" "zustand": "5.0.11"
}, },
"devDependencies": { "devDependencies": {
"@graphql-codegen/cli": "5.0.7", "@graphql-codegen/cli": "5.0.7",
"@graphql-codegen/client-preset": "4.8.3", "@graphql-codegen/client-preset": "4.8.3",
"@graphql-codegen/typescript-apollo-client-helpers": "3.0.1", "@graphql-codegen/typescript-apollo-client-helpers": "3.0.1",
"@graphql-codegen/typescript-operations": "4.6.1", "@graphql-codegen/typescript-operations": "4.6.1",
"@lingui/cli": "5.7.0", "@lingui/cli": "5.9.2",
"@lingui/format-po": "5.7.0", "@lingui/format-po": "5.9.2",
"@lingui/swc-plugin": "5.7.0", "@lingui/swc-plugin": "5.11.0",
"@lingui/vite-plugin": "5.7.0", "@lingui/vite-plugin": "5.9.2",
"@types/apollo-upload-client": "18.0.0", "@types/apollo-upload-client": "18.0.0",
"@types/node": "24.10.1", "@types/node": "24.10.1",
"@types/react": "19.2.5", "@types/react": "19.2.14",
"@types/react-beautiful-dnd": "13.1.8", "@types/react-beautiful-dnd": "13.1.8",
"@types/react-dom": "19.2.3", "@types/react-dom": "19.2.3",
"@types/sanitize-html": "2.16.0", "@types/sanitize-html": "2.16.1",
"@types/stylis": "4.2.7", "@types/stylis": "4.2.7",
"@types/webfontloader": "1.6.38", "@types/webfontloader": "1.6.38",
"@types/yargs": "17.0.35", "@types/yargs": "17.0.35",
"@typescript-eslint/eslint-plugin": "7.16.1", "@typescript-eslint/eslint-plugin": "7.16.1",
"@typescript-eslint/parser": "7.16.1", "@typescript-eslint/parser": "7.16.1",
"@vitejs/plugin-legacy": "7.2.1", "@vitejs/plugin-legacy": "7.2.1",
"@vitejs/plugin-react-swc": "4.2.1", "@vitejs/plugin-react-swc": "4.2.3",
"dotenv": "17.2.3", "dotenv": "17.3.1",
"eslint": "8.57.0", "eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4", "eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "18.0.0", "eslint-config-airbnb-typescript": "18.0.0",
@@ -122,21 +122,22 @@
"eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-lingui": "0.11.0", "eslint-plugin-lingui": "0.11.0",
"eslint-plugin-no-relative-import-paths": "1.6.1", "eslint-plugin-no-relative-import-paths": "1.6.1",
"eslint-plugin-prettier": "5.5.4", "eslint-plugin-prettier": "5.5.5",
"eslint-plugin-react": "7.37.5", "eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "4.6.2", "eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-unused-imports": "3.2.0", "eslint-plugin-unused-imports": "3.2.0",
"husky": "9.1.7", "husky": "9.1.7",
"lint-staged": "16.2.6", "lint-staged": "16.3.2",
"prettier": "3.6.2", "prettier": "3.8.1",
"syncyarnlock": "1.0.19", "syncyarnlock": "1.0.19",
"terser": "5.44.1", "terser": "5.46.0",
"tsx": "4.20.6", "tsx": "4.21.0",
"typescript": "5.9.3", "typescript": "5.9.3",
"vite": "7.2.2", "vite": "7.3.1",
"vite-plugin-node-polyfills": "0.24.0", "vite-plugin-node-polyfills": "0.25.0",
"vite-plugin-pwa": "1.1.0", "vite-plugin-pwa": "1.2.0",
"vite-tsconfig-paths": "5.1.4", "vite-tsconfig-paths": "6.1.1",
"workbox-build": "7.4.0",
"workbox-window": "7.4.0", "workbox-window": "7.4.0",
"yargs": "18.0.0" "yargs": "18.0.0"
} }

View File

@@ -45,8 +45,10 @@ export interface MultiValueButtonBaseProps<Value extends string | number> {
valueToDisplayData: ValueToDisplayData<Value>; valueToDisplayData: ValueToDisplayData<Value>;
} }
export interface MultiValueButtonDefaultableProps<Value extends string | number> export interface MultiValueButtonDefaultableProps<Value extends string | number> extends OptionalProperty<
extends OptionalProperty<MultiValueButtonBaseProps<Value>, 'value'> { MultiValueButtonBaseProps<Value>,
'value'
> {
isDefaultable?: boolean; isDefaultable?: boolean;
onDefault?: () => void; onDefault?: () => void;
} }

View File

@@ -13,7 +13,8 @@ import { GridLayout } from '@/base/Base.types.ts';
import { useMetadataServerSettings } from '@/features/settings/services/ServerSettingsMetadata.ts'; import { useMetadataServerSettings } from '@/features/settings/services/ServerSettingsMetadata.ts';
interface LibraryMangaGridProps interface LibraryMangaGridProps
extends Required<Pick<IMangaGridProps, 'isSelectModeActive' | 'selectedMangaIds' | 'handleSelection' | 'mangas'>>, extends
Required<Pick<IMangaGridProps, 'isSelectModeActive' | 'selectedMangaIds' | 'handleSelection' | 'mangas'>>,
Pick<IMangaGridProps, 'retry' | 'message' | 'messageExtra'> { Pick<IMangaGridProps, 'retry' | 'message' | 'messageExtra'> {
showFilteredOutMessage: boolean; showFilteredOutMessage: boolean;
isLoading: boolean; isLoading: boolean;

View File

@@ -182,7 +182,8 @@ const VerticalGrid = ({
); );
export interface IMangaGridProps export interface IMangaGridProps
extends Omit<DefaultGridProps, 'GridItemContainer'>, extends
Omit<DefaultGridProps, 'GridItemContainer'>,
Partial<React.ComponentProps<typeof EmptyViewAbsoluteCentered>> { Partial<React.ComponentProps<typeof EmptyViewAbsoluteCentered>> {
hasNextPage: boolean; hasNextPage: boolean;
loadMore: () => void; loadMore: () => void;

View File

@@ -195,8 +195,7 @@ export interface IReaderSettingsManga {
export interface IReaderSettings extends IReaderSettingsGlobal, IReaderSettingsManga {} export interface IReaderSettings extends IReaderSettingsGlobal, IReaderSettingsManga {}
export interface IReaderSettingsWithDefaultFlag export interface IReaderSettingsWithDefaultFlag
extends IReaderSettingsGlobal, extends IReaderSettingsGlobal, TransformRecordToWithDefaultFlag<IReaderSettingsManga> {}
TransformRecordToWithDefaultFlag<IReaderSettingsManga> {}
export interface ReaderStateChapters { export interface ReaderStateChapters {
/** /**
@@ -323,7 +322,8 @@ export interface ReaderStatePages {
} }
export interface ReaderPagerProps export interface ReaderPagerProps
extends Pick< extends
Pick<
ReaderStatePages, ReaderStatePages,
| 'currentPageIndex' | 'currentPageIndex'
| 'pages' | 'pages'

View File

@@ -39,7 +39,8 @@ import { ZustandUtil } from '@/lib/zustand/ZustandUtil.ts';
const UNSERIALIZABLE_KEYS = ['scrollRef']; const UNSERIALIZABLE_KEYS = ['scrollRef'];
interface ReaderStore interface ReaderStore
extends ReaderOverlayStoreSlice, extends
ReaderOverlayStoreSlice,
ReaderAutoScrollStoreSlice, ReaderAutoScrollStoreSlice,
ReaderPagesStoreSlice, ReaderPagesStoreSlice,
ReaderChaptersStoreSlice, ReaderChaptersStoreSlice,
@@ -151,6 +152,7 @@ const readerStore = create<ReaderStore>()(
{ {
name: 'ReaderStore', name: 'ReaderStore',
anonymousActionType: 'reader/action', anonymousActionType: 'reader/action',
// @ts-expect-error - @redux-devtools/extension config option
serialize: { serialize: {
replacer: (key: string, value: any) => { replacer: (key: string, value: any) => {
if (UNSERIALIZABLE_KEYS.includes(key)) { if (UNSERIALIZABLE_KEYS.includes(key)) {

View File

@@ -104,7 +104,8 @@ export const UPDATE_CATEGORY_METADATA = gql`
...CATEGORY_META_FIELDS ...CATEGORY_META_FIELDS
} }
} }
postUpdateDeletedMeta: deleteCategoryMetas(input: $postUpdateDeleteInput) @include(if: $hasPostUpdateDeletions) { postUpdateDeletedMeta: deleteCategoryMetas(input: $postUpdateDeleteInput)
@include(if: $hasPostUpdateDeletions) {
metas { metas {
...CATEGORY_META_FIELDS ...CATEGORY_META_FIELDS
} }

View File

@@ -21,6 +21,8 @@ type OutdatedDependency = {
isMajorUpdate: boolean; isMajorUpdate: boolean;
}; };
const PACKAGE_TYPES: PackageType[] = ['dependencies', 'devDependencies'];
const setCaretForDependency = <DependencyType extends PackageType>( const setCaretForDependency = <DependencyType extends PackageType>(
caretMode: CaretMode, caretMode: CaretMode,
type: DependencyType, type: DependencyType,
@@ -88,6 +90,7 @@ const getOutdatedDependencies = (): OutdatedDependency[] => {
packageType, packageType,
isMajorUpdate: current.split('.')[0] !== latest.split('.')[0], isMajorUpdate: current.split('.')[0] !== latest.split('.')[0],
})) }))
.filter(({ packageType }) => PACKAGE_TYPES.includes(packageType))
.toSorted((a, b) => a.packageType.localeCompare(b.packageType)); .toSorted((a, b) => a.packageType.localeCompare(b.packageType));
}; };

1131
yarn.lock

File diff suppressed because it is too large Load Diff