Update packages and fix lint issue

This commit is contained in:
TPN 2024-09-10 17:57:30 +00:00
parent fa08d41aae
commit 8007db3966
3 changed files with 638 additions and 611 deletions

View File

@ -35,22 +35,22 @@
"@ladjs/country-language": "^1.0.3", "@ladjs/country-language": "^1.0.3",
"@marsidev/react-turnstile": "^0.7.2", "@marsidev/react-turnstile": "^0.7.2",
"@movie-web/providers": "github:sussy-code/providers", "@movie-web/providers": "github:sussy-code/providers",
"@noble/hashes": "^1.4.0", "@noble/hashes": "^1.5.0",
"@plasmohq/messaging": "^0.6.2", "@plasmohq/messaging": "^0.6.2",
"@react-spring/web": "^9.7.4", "@react-spring/web": "^9.7.4",
"@scure/bip39": "^1.3.0", "@scure/bip39": "^1.4.0",
"@sozialhelden/ietf-language-tags": "^5.4.2", "@sozialhelden/ietf-language-tags": "^5.4.2",
"@types/node-forge": "^1.3.11", "@types/node-forge": "^1.3.11",
"classnames": "^2.5.1", "classnames": "^2.5.1",
"core-js": "^3.37.1", "core-js": "^3.38.1",
"detect-browser": "^5.3.0", "detect-browser": "^5.3.0",
"dompurify": "^3.1.6", "dompurify": "^3.1.6",
"flag-icons": "^7.2.3", "flag-icons": "^7.2.3",
"focus-trap-react": "^10.2.3", "focus-trap-react": "^10.2.3",
"fscreen": "^1.2.0", "fscreen": "^1.2.0",
"fuse.js": "^7.0.0", "fuse.js": "^7.0.0",
"hls.js": "^1.5.13", "hls.js": "^1.5.15",
"i18next": "^23.12.2", "i18next": "^23.15.1",
"immer": "^10.1.1", "immer": "^10.1.1",
"jwt-decode": "^4.0.0", "jwt-decode": "^4.0.0",
"lodash.isequal": "^4.5.0", "lodash.isequal": "^4.5.0",
@ -66,19 +66,19 @@
"react-helmet-async": "^2.0.5", "react-helmet-async": "^2.0.5",
"react-i18next": "^14.1.3", "react-i18next": "^14.1.3",
"react-lazy-with-preload": "^2.2.1", "react-lazy-with-preload": "^2.2.1",
"react-router-dom": "^6.25.1", "react-router-dom": "^6.26.2",
"react-sticky-el": "^2.1.0", "react-sticky-el": "^2.1.1",
"react-use": "^17.5.1", "react-use": "^17.5.1",
"semver": "^7.6.3", "semver": "^7.6.3",
"slugify": "^1.6.6", "slugify": "^1.6.6",
"subsrt-ts": "^2.1.2", "subsrt-ts": "^2.1.2",
"zustand": "^4.5.4" "zustand": "^4.5.5"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.25.2", "@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3", "@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7", "@babel/preset-typescript": "^7.24.7",
"@rollup/wasm-node": "^4.19.1", "@rollup/wasm-node": "^4.21.2",
"@types/chromecast-caf-sender": "^1.0.10", "@types/chromecast-caf-sender": "^1.0.10",
"@types/crypto-js": "^4.2.2", "@types/crypto-js": "^4.2.2",
"@types/dompurify": "^3.0.5", "@types/dompurify": "^3.0.5",
@ -86,46 +86,46 @@
"@types/lodash.isequal": "^4.5.8", "@types/lodash.isequal": "^4.5.8",
"@types/lodash.merge": "^4.6.9", "@types/lodash.merge": "^4.6.9",
"@types/lodash.throttle": "^4.1.9", "@types/lodash.throttle": "^4.1.9",
"@types/node": "^20.14.13", "@types/node": "^20.16.5",
"@types/pako": "^2.0.3", "@types/pako": "^2.0.3",
"@types/react": "^18.3.3", "@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@types/react-helmet": "^6.1.11", "@types/react-helmet": "^6.1.11",
"@types/react-lazy-load-image-component": "^1.6.4", "@types/react-lazy-load-image-component": "^1.6.4",
"@types/react-router": "^5.1.20", "@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",
"@types/react-stickynode": "^4.0.3", "@types/react-stickynode": "^4.0.3",
"@types/react-transition-group": "^4.4.10", "@types/react-transition-group": "^4.4.11",
"@types/semver": "^7.5.8", "@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0", "@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.3.1", "@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.20",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-airbnb": "19.0.4", "eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1", "eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-prettier": "^5.2.1", "eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "7.33.2", "eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-hooks": "4.6.0",
"glob": "^10.4.5", "glob": "^10.4.5",
"handlebars": "^4.7.8", "handlebars": "^4.7.8",
"jsdom": "^23.2.0", "jsdom": "^23.2.0",
"postcss": "^8.4.40", "postcss": "^8.4.45",
"postcss-rtl": "^2.0.0", "postcss-rtl": "^2.0.0",
"postcss-rtlcss": "^4.0.9", "postcss-rtlcss": "^4.0.9",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.5.14", "prettier-plugin-tailwindcss": "^0.5.14",
"rollup-plugin-visualizer": "^5.12.0", "rollup-plugin-visualizer": "^5.12.0",
"tailwind-scrollbar": "^3.1.0", "tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.7", "tailwindcss": "^3.4.10",
"tailwindcss-themer": "^4.0.0", "tailwindcss-themer": "^4.0.0",
"type-fest": "^4.23.0", "type-fest": "^4.26.1",
"typescript": "^5.5.4", "typescript": "^5.6.2",
"vite": "^5.3.5", "vite": "^5.4.3",
"vite-plugin-checker": "^0.6.4", "vite-plugin-checker": "^0.6.4",
"vite-plugin-package-version": "^1.1.0", "vite-plugin-package-version": "^1.1.0",
"vite-plugin-pwa": "^0.17.5", "vite-plugin-pwa": "^0.17.5",

File diff suppressed because it is too large Load Diff

View File

@ -20,8 +20,8 @@ import {
} from "@/utils/discover"; } from "@/utils/discover";
import { SubPageLayout } from "./layouts/SubPageLayout"; import { SubPageLayout } from "./layouts/SubPageLayout";
import { PageTitle } from "./parts/util/PageTitle";
import { Icon, Icons } from "../components/Icon"; import { Icon, Icons } from "../components/Icon";
import { PageTitle } from "./parts/util/PageTitle";
export function Discover() { export function Discover() {
const { t } = useTranslation(); const { t } = useTranslation();