Update dependency date-fns to v4 #5229
pull_request.yml
on: pull_request
Build 🏗️
/
Run production build 🏗️
2m 59s
Quality checks 👌🧪
/
Vulnerable dependencies 🔎
8s
Run eslint suggestions
2m 6s
Matrix: GitHub CodeQL 🔬 / analyze
Matrix: Quality checks 👌🧪 / quality
Annotations
13 errors, 11 warnings, and 4 notices
|
Quality checks 👌🧪 / Run build:check 🕵️♂️:
src/utils/dateFnsLocale.ts#L1
Module '"/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/locale/en-US"' has no default export. Did you mean to use 'import { enUS } from "/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/locale/en-US"' instead?
|
|
Quality checks 👌🧪 / Run build:check 🕵️♂️:
src/hooks/useLocale.tsx#L2
Module '"/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/locale/en-US"' has no default export. Did you mean to use 'import { enUS } from "/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/locale/en-US"' instead?
|
|
Quality checks 👌🧪 / Run build:check 🕵️♂️:
src/apps/dashboard/routes/keys/index.tsx#L9
Module '"/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/parseISO"' has no default export. Did you mean to use 'import { parseISO } from "/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/parseISO"' instead?
|
|
Quality checks 👌🧪 / Run build:check 🕵️♂️:
src/apps/dashboard/routes/devices/index.tsx#L9
Module '"/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/parseISO"' has no default export. Did you mean to use 'import { parseISO } from "/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/parseISO"' instead?
|
|
Quality checks 👌🧪 / Run build:check 🕵️♂️:
src/apps/dashboard/routes/activity/index.tsx#L1
Module '"/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/parseISO"' has no default export. Did you mean to use 'import { parseISO } from "/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/parseISO"' instead?
|
|
Quality checks 👌🧪 / Run build:check 🕵️♂️:
src/apps/dashboard/features/sessions/utils/getNowPlayingName.ts#L3
Module '"/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/formatDistanceToNow"' has no default export. Did you mean to use 'import { formatDistanceToNow } from "/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/formatDistanceToNow"' instead?
|
|
Quality checks 👌🧪 / Run build:check 🕵️♂️:
src/apps/dashboard/features/activity/components/ActivityListItem.tsx#L9
Module '"/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/formatRelative"' has no default export. Did you mean to use 'import { formatRelative } from "/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/formatRelative"' instead?
|
|
Quality checks 👌🧪 / Run build:check 🕵️♂️:
src/apps/dashboard/components/widgets/AlertsLogWidget.tsx#L6
Module '"/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/subSeconds"' has no default export. Did you mean to use 'import { subSeconds } from "/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/subSeconds"' instead?
|
|
Quality checks 👌🧪 / Run build:check 🕵️♂️:
src/apps/dashboard/components/widgets/ActivityLogWidget.tsx#L7
Module '"/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/subSeconds"' has no default export. Did you mean to use 'import { subSeconds } from "/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/subSeconds"' instead?
|
|
Quality checks 👌🧪 / Run build:check 🕵️♂️:
src/apps/dashboard/components/table/DateTimeCell.tsx#L1
Module '"/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/format"' has no default export. Did you mean to use 'import { format } from "/home/runner/work/jellyfin-web/jellyfin-web/node_modules/date-fns/format"' instead?
|
|
Quality checks 👌🧪 / Run test 🕵️♂️
Process completed with exit code 1.
|
|
Build 🏗️ / Run production build 🏗️
Process completed with exit code 1.
|
|
Quality checks 👌🧪 / Run build:es-check 🕵️♂️
Process completed with exit code 1.
|
|
GitHub CodeQL 🔬 / Analyze javascript-typescript 🔬
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
|
|
Quality checks 👌🧪 / Run lint 🕵️♂️:
src/apps/dashboard/features/users/components/Profile.tsx#L250
Refactor this code to not nest functions more than 4 levels deep
|
|
Quality checks 👌🧪 / Run lint 🕵️♂️:
src/apps/dashboard/features/users/components/ParentalControl.tsx#L243
Refactor this code to not nest functions more than 4 levels deep
|
|
Quality checks 👌🧪 / Run lint 🕵️♂️:
src/apps/dashboard/features/users/components/ParentalControl.tsx#L234
Refactor this code to not nest functions more than 4 levels deep
|
|
Quality checks 👌🧪 / Run lint 🕵️♂️:
src/apps/dashboard/features/users/components/Access.tsx#L240
React Hook useEffect has a missing dependency: 'userId'. Either include it or remove the dependency array
|
|
Quality checks 👌🧪 / Run lint 🕵️♂️:
src/apps/dashboard/features/users/components/Access.tsx#L142
React Hook useCallback has a missing dependency: 'libraryMenu'. Either include it or remove the dependency array
|
|
Quality checks 👌🧪 / Run lint 🕵️♂️:
src/apps/dashboard/features/sessions/utils/getNowPlayingName.ts#L17
Take the required action to fix the issue indicated by this comment
|
|
Quality checks 👌🧪 / Run lint 🕵️♂️:
src/apps/dashboard/features/logs/api/useServerLog.ts#L14
Take the required action to fix the issue indicated by this comment
|
|
Quality checks 👌🧪 / Run lint 🕵️♂️:
src/apps/dashboard/components/widgets/ItemCountsWidget.tsx#L88
`Grid` is deprecated. Use the [`Grid2`](https://mui.com/material-ui/react-grid2/) component instead
|
|
Quality checks 👌🧪 / Run lint 🕵️♂️:
src/apps/dashboard/components/widgets/ItemCountsWidget.tsx#L80
`Grid` is deprecated. Use the [`Grid2`](https://mui.com/material-ui/react-grid2/) component instead
|
|
Quality checks 👌🧪 / Run lint 🕵️♂️:
src/apps/dashboard/components/AppTabs.tsx#L56
Unexpected 'hack' comment: 'HACK: Force resizing to workaround...'
|
|
Run eslint suggestions
ESLint passes
|
|
Run eslint suggestions
Using ESLint with default configuration
|
|
Run eslint suggestions
ESLint version: 9.39.4
|
|
Run eslint suggestions
Using ESLint from: /home/runner/work/jellyfin-web/jellyfin-web/node_modules/eslint/lib/api.js
|