Update dependencies (#3123)

* Update localforage, remove query-string
* Update fontawesome and flag-icons
* Update formatjs
* Update axios and videojs
* Update apollo client and graphql
* Update bootstrap and react
* Update polyfills
* Update vite
* Update ESLint
* Update stylelint
* Update configs
* Rebuild yarn.lock
This commit is contained in:
DingDongSoLong4
2023-02-16 05:06:44 +02:00
committed by GitHub
parent 0c9eeef143
commit a1851b3713
137 changed files with 5102 additions and 5729 deletions

View File

@@ -261,9 +261,8 @@ export const FieldOptionsList: React.FC<IFieldOptionsList> = ({
allowSetDefault = true,
defaultOptions,
}) => {
const [localFieldOptions, setLocalFieldOptions] = useState<
GQL.IdentifyFieldOptions[]
>();
const [localFieldOptions, setLocalFieldOptions] =
useState<GQL.IdentifyFieldOptions[]>();
const [editField, setEditField] = useState<string | undefined>();
useEffect(() => {

View File

@@ -202,9 +202,8 @@ export const IdentifyDialog: React.FC<IIdentifyDialogProps> = ({
if (s.options) {
const sourceOptions = withoutTypename(s.options);
sourceOptions.fieldOptions = sourceOptions.fieldOptions?.map(
withoutTypename
);
sourceOptions.fieldOptions =
sourceOptions.fieldOptions?.map(withoutTypename);
ret.options = sourceOptions;
}
@@ -215,9 +214,8 @@ export const IdentifyDialog: React.FC<IIdentifyDialogProps> = ({
setSources(mappedSources);
if (identifyDefaults.options) {
const defaultOptions = withoutTypename(identifyDefaults.options);
defaultOptions.fieldOptions = defaultOptions.fieldOptions?.map(
withoutTypename
);
defaultOptions.fieldOptions =
defaultOptions.fieldOptions?.map(withoutTypename);
setOptions(defaultOptions);
}
} else {

View File

@@ -20,7 +20,7 @@ export const sceneFields = [
"tags",
"stash_ids",
] as const;
export type SceneField = typeof sceneFields[number];
export type SceneField = (typeof sceneFields)[number];
export const multiValueSceneFields: SceneField[] = [
"studio",

View File

@@ -4,10 +4,9 @@ import { Modal } from "src/components/Shared";
import { faCogs } from "@fortawesome/free-solid-svg-icons";
import { useIntl } from "react-intl";
import { MarkdownPage } from "../Shared/MarkdownPage";
import { Module } from "src/docs/en/ReleaseNotes";
interface IReleaseNotesDialog {
notes: Module[];
notes: string[];
onClose: () => void;
}