bump all dependencies

This commit is contained in:
Athou
2023-02-04 08:34:23 +01:00
parent ea4b120a85
commit 6d4b0cbdef
5 changed files with 2699 additions and 1592 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -17,62 +17,62 @@
},
"dependencies": {
"@emotion/react": "^11.10.5",
"@fontsource/open-sans": "^4.5.13",
"@lingui/core": "^3.15.0",
"@lingui/macro": "^3.15.0",
"@lingui/react": "^3.15.0",
"@mantine/core": "^5.7.1",
"@mantine/form": "^5.7.1",
"@mantine/hooks": "^5.7.1",
"@mantine/modals": "^5.7.1",
"@mantine/notifications": "^5.7.1",
"@mantine/spotlight": "^5.7.1",
"@reduxjs/toolkit": "^1.9.0",
"axios": "^1.1.3",
"dayjs": "^1.11.6",
"@fontsource/open-sans": "^4.5.14",
"@lingui/core": "^3.17.0",
"@lingui/macro": "^3.17.0",
"@lingui/react": "^3.17.0",
"@mantine/core": "^5.10.3",
"@mantine/form": "^5.10.3",
"@mantine/hooks": "^5.10.3",
"@mantine/modals": "^5.10.3",
"@mantine/notifications": "^5.10.3",
"@mantine/spotlight": "^5.10.3",
"@reduxjs/toolkit": "^1.9.2",
"axios": "^1.3.2",
"dayjs": "^1.11.7",
"interweave": "^13.0.0",
"lodash": "^4.17.21",
"make-plural": "^7.1.0",
"make-plural": "^7.2.0",
"mousetrap": "^1.6.5",
"react": "^18.2.0",
"react-async-hook": "^4.0.0",
"react-dom": "^18.2.0",
"react-icons": "^4.6.0",
"react-icons": "^4.7.1",
"react-infinite-scroller": "^1.2.6",
"react-redux": "^8.0.5",
"react-router-dom": "^6.4.3",
"react-router-dom": "^6.8.0",
"react-swipeable": "^7.0.0",
"swagger-ui-react": "^4.15.2",
"swagger-ui-react": "^4.15.5",
"tinycon": "^0.6.8",
"websocket-heartbeat-js": "^1.1.0"
"websocket-heartbeat-js": "^1.1.1"
},
"devDependencies": {
"@lingui/cli": "^3.15.0",
"@types/eslint": "^8.4.10",
"@types/lodash": "^4.14.188",
"@types/mousetrap": "^1.6.10",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"@lingui/cli": "^3.17.0",
"@types/eslint": "^8.21.0",
"@types/lodash": "^4.14.191",
"@types/mousetrap": "^1.6.11",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@types/react-infinite-scroller": "^1.2.3",
"@types/swagger-ui-react": "^4.11.0",
"@types/tinycon": "^0.6.3",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@vitejs/plugin-react": "^2.2.0",
"eslint": "^8.27.0",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.33.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-hooks": "^0.4.3",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.7.1",
"rollup-plugin-visualizer": "^5.8.3",
"typescript": "^4.8.4",
"vite": "^3.2.3",
"prettier": "^2.8.3",
"rollup-plugin-visualizer": "^5.9.0",
"typescript": "^4.9.5",
"vite": "^4.1.1",
"vite-plugin-eslint": "^1.8.1",
"vite-tsconfig-paths": "^3.5.2",
"vitest": "^0.25.0",
"vitest-mock-extended": "^1.0.7"
"vite-tsconfig-paths": "^4.0.5",
"vitest": "^0.28.4",
"vitest-mock-extended": "^1.0.9"
}
}

View File

@@ -22,8 +22,7 @@ export function FeedEntryFooter(props: FeedEntryFooterProps) {
const mobile = !useMediaQuery(`(min-width: ${Constants.layout.mobileBreakpoint}px)`)
const dispatch = useAppDispatch()
const showSharingButtons =
sharingSettings && (Object.values(sharingSettings) as Array<typeof sharingSettings[keyof typeof sharingSettings]>).some(v => v)
const showSharingButtons = sharingSettings && Object.values(sharingSettings).some(v => v)
const readStatusButtonClicked = () => dispatch(markEntry({ entry: props.entry, read: !props.entry.read }))
const onTagsChange = (values: string[]) =>

View File

@@ -22,7 +22,7 @@ export function ProfileSettings() {
const form = useForm<FormData>({
validate: {
newPasswordConfirmation: (value: string, values: FormData) => (value !== values.newPassword ? t`Passwords do not match` : null),
newPasswordConfirmation: (value, values) => (value !== values.newPassword ? t`Passwords do not match` : null),
},
})
const { setValues } = form

View File

@@ -29,7 +29,37 @@ import "dayjs/locale/sk"
import "dayjs/locale/sv"
import "dayjs/locale/tr"
import "dayjs/locale/zh"
import { ar, ca, cs, cy, da, de, en, es, fa, fi, fr, gl, hu, id, it, ja, ko, ms, nb, nl, nn, pl, pt, ru, sk, sv, tr, zh } from "make-plural"
import {
ar,
ca,
cs,
cy,
da,
de,
en,
es,
fa,
fi,
fr,
gl,
hu,
id,
it,
ja,
ko,
ms,
nb,
nl,
nn,
pl,
PluralCategory,
pt,
ru,
sk,
sv,
tr,
zh,
} from "make-plural"
import { useEffect } from "react"
import { messages as arMessages } from "./locales/ar/messages"
import { messages as caMessages } from "./locales/ca/messages"
@@ -64,7 +94,7 @@ interface Locale {
key: string
label: string
messages: Messages
plurals?: (n: number | string, ord?: boolean) => string
plurals?: (n: number | string, ord?: boolean) => PluralCategory
}
// add an object to the array to add a new locale