1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Merge branch 'main' of https://github.com/sussy-code/smov into subs-icon

This commit is contained in:
TPN 2024-07-11 18:36:56 +01:00
commit e68a97b698
5 changed files with 236 additions and 239 deletions

View file

@ -43,12 +43,12 @@
"classnames": "^2.5.1", "classnames": "^2.5.1",
"core-js": "^3.37.1", "core-js": "^3.37.1",
"detect-browser": "^5.3.0", "detect-browser": "^5.3.0",
"dompurify": "^3.1.5", "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.11", "hls.js": "^1.5.13",
"i18next": "^23.11.5", "i18next": "^23.11.5",
"immer": "^10.1.1", "immer": "^10.1.1",
"jwt-decode": "^4.0.0", "jwt-decode": "^4.0.0",
@ -65,7 +65,7 @@
"react-helmet-async": "^2.0.5", "react-helmet-async": "^2.0.5",
"react-i18next": "^14.1.2", "react-i18next": "^14.1.2",
"react-lazy-with-preload": "^2.2.1", "react-lazy-with-preload": "^2.2.1",
"react-router-dom": "^6.24.0", "react-router-dom": "^6.24.1",
"react-sticky-el": "^2.1.0", "react-sticky-el": "^2.1.0",
"react-use": "^17.5.0", "react-use": "^17.5.0",
"semver": "^7.6.2", "semver": "^7.6.2",
@ -77,7 +77,7 @@
"@babel/core": "^7.24.7", "@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7", "@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7", "@babel/preset-typescript": "^7.24.7",
"@rollup/wasm-node": "^4.18.0", "@rollup/wasm-node": "^4.18.1",
"@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",
@ -85,7 +85,7 @@
"@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.9", "@types/node": "^20.14.10",
"@types/pako": "^2.0.3", "@types/pako": "^2.0.3",
"@types/react": "^18.3.3", "@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
@ -110,10 +110,10 @@
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"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.2", "glob": "^10.4.4",
"handlebars": "^4.7.8", "handlebars": "^4.7.8",
"jsdom": "^23.2.0", "jsdom": "^23.2.0",
"postcss": "^8.4.38", "postcss": "^8.4.39",
"postcss-rtl": "^2.0.0", "postcss-rtl": "^2.0.0",
"postcss-rtlcss": "^4.0.9", "postcss-rtlcss": "^4.0.9",
"prettier": "^3.3.2", "prettier": "^3.3.2",
@ -122,13 +122,13 @@
"tailwind-scrollbar": "^3.1.0", "tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.4", "tailwindcss": "^3.4.4",
"tailwindcss-themer": "^4.0.0", "tailwindcss-themer": "^4.0.0",
"type-fest": "^4.20.1", "type-fest": "^4.21.0",
"typescript": "^5.5.2", "typescript": "^5.5.3",
"vite": "^5.3.2", "vite": "^5.3.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",
"vite-plugin-static-copy": "^1.0.5", "vite-plugin-static-copy": "^1.0.6",
"vitest": "^1.6.0", "vitest": "^1.6.0",
"workbox-window": "^7.1.0" "workbox-window": "^7.1.0"
}, },

File diff suppressed because it is too large Load diff

View file

@ -13,7 +13,8 @@ import {
export function getProviders() { export function getProviders() {
if (isExtensionActiveCached()) { if (isExtensionActiveCached()) {
return makeProviders({ return makeProviders({
fetcher: makeExtensionFetcher(), fetcher: makeStandardFetcher(fetch),
proxiedFetcher: makeExtensionFetcher(),
target: targets.BROWSER_EXTENSION, target: targets.BROWSER_EXTENSION,
consistentIpForRequests: true, consistentIpForRequests: true,
}); });

View file

@ -1,7 +1,7 @@
import classNames from "classnames"; import classNames from "classnames";
import { useCallback, useEffect, useMemo, useState } from "react"; import { useCallback, useEffect, useMemo, useState } from "react";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { To, useNavigate } from "react-router-dom"; import { useNavigate } from "react-router-dom";
import { base64ToBuffer, decryptData } from "@/backend/accounts/crypto"; import { base64ToBuffer, decryptData } from "@/backend/accounts/crypto";
import { UserAvatar } from "@/components/Avatar"; import { UserAvatar } from "@/components/Avatar";

View file

@ -9,7 +9,7 @@ import { MwLink } from "@/components/text/Link";
import { AuthInputBox } from "@/components/text-inputs/AuthInputBox"; import { AuthInputBox } from "@/components/text-inputs/AuthInputBox";
import { Divider } from "@/components/utils/Divider"; import { Divider } from "@/components/utils/Divider";
import { Heading1 } from "@/components/utils/Text"; import { Heading1 } from "@/components/utils/Text";
import { SetupPart } from "@/pages/parts/settings/SetupPart"; // import { SetupPart } from "@/pages/parts/settings/SetupPart";
interface ProxyEditProps { interface ProxyEditProps {
proxyUrls: string[] | null; proxyUrls: string[] | null;