fix(deps): update dependency next-intl to v3.23.5 (#1376)

* fix(deps): update dependency next-intl to v3.23.5

* fix: typecheck issue

---------

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
homarr-renovate[bot]
2024-10-26 23:15:52 +02:00
committed by GitHub
parent 4502569223
commit a4ae38b5e4
4 changed files with 19 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ export const DeleteMedia = ({ media }: DeleteMediaProps) => {
const onClick = () => { const onClick = () => {
openConfirmModal({ openConfirmModal({
title: t("media.action.delete.label"), title: t("media.action.delete.label"),
children: t("media.action.delete.description", { name: <b>{media.name}</b> }), children: t.rich("media.action.delete.description", { bName: () => <b>{media.name}</b> }),
// eslint-disable-next-line no-restricted-syntax // eslint-disable-next-line no-restricted-syntax
onConfirm: async () => { onConfirm: async () => {
await mutateAsync({ id: media.id }); await mutateAsync({ id: media.id });

View File

@@ -30,7 +30,7 @@
"dayjs": "^1.11.13", "dayjs": "^1.11.13",
"mantine-react-table": "2.0.0-beta.7", "mantine-react-table": "2.0.0-beta.7",
"next": "^14.2.16", "next": "^14.2.16",
"next-intl": "3.23.2", "next-intl": "3.23.5",
"react": "^18.3.1" "react": "^18.3.1"
}, },
"devDependencies": { "devDependencies": {

View File

@@ -575,7 +575,7 @@ export default {
}, },
delete: { delete: {
label: "Delete media", label: "Delete media",
description: "Are you sure you want to delete the media {name}?", description: "Are you sure you want to delete the media <bName></bName>?",
notification: { notification: {
success: { success: {
message: "The media was successfully deleted", message: "The media was successfully deleted",

26
pnpm-lock.yaml generated
View File

@@ -1402,8 +1402,8 @@ importers:
specifier: ^14.2.16 specifier: ^14.2.16
version: 14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4) version: 14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4)
next-intl: next-intl:
specifier: 3.23.2 specifier: 3.23.5
version: 3.23.2(next@14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4))(react@18.3.1) version: 3.23.5(next@14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4))(react@18.3.1)
react: react:
specifier: ^18.3.1 specifier: ^18.3.1
version: 18.3.1 version: 18.3.1
@@ -6125,6 +6125,10 @@ packages:
resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}
engines: {node: '>= 0.6'} engines: {node: '>= 0.6'}
negotiator@1.0.0:
resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==}
engines: {node: '>= 0.6'}
neo-async@2.6.2: neo-async@2.6.2:
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
@@ -6152,8 +6156,8 @@ packages:
nodemailer: nodemailer:
optional: true optional: true
next-intl@3.23.2: next-intl@3.23.5:
resolution: {integrity: sha512-SCYEG2i0kYz+OupN6+qH9T+GDRfLCmJuT835uI9ac7AOlYCUbBizj28cti+oGhDkIjueZrweVw7iEiTkqCpKpQ==} resolution: {integrity: sha512-mUuz3JFRdtWpyYEPN8xUXpkn4qEnAADxA5GQjUGobbLY32kWrYfZYs4MrYHAVl2zAAbPcD9oisXF0q8B1ifszA==}
peerDependencies: peerDependencies:
next: ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 next: ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -7741,8 +7745,8 @@ packages:
peerDependencies: peerDependencies:
react: '>=16.13' react: '>=16.13'
use-intl@3.23.2: use-intl@3.23.5:
resolution: {integrity: sha512-lrKb5M6zr9YoHK+OuUsRApPPNEMHX8ntx0PDGZ0fxlMmj6W2u/3y++UB4uE/o0C8Jyn7oiHCjShYjgPjDaB1cg==} resolution: {integrity: sha512-t+iwRqyAzKUY3E0DbA70eTsNxLKr6RndqdIOedqIQPfcNNkFxHs3g6+6i0PWXAGYRXaqOzzE3ZWYFOMCmnUkWg==}
peerDependencies: peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -12843,6 +12847,8 @@ snapshots:
negotiator@0.6.3: {} negotiator@0.6.3: {}
negotiator@1.0.0: {}
neo-async@2.6.2: {} neo-async@2.6.2: {}
neotraverse@0.6.18: {} neotraverse@0.6.18: {}
@@ -12855,13 +12861,13 @@ snapshots:
next: 14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4) next: 14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4)
react: 18.3.1 react: 18.3.1
next-intl@3.23.2(next@14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4))(react@18.3.1): next-intl@3.23.5(next@14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4))(react@18.3.1):
dependencies: dependencies:
'@formatjs/intl-localematcher': 0.5.5 '@formatjs/intl-localematcher': 0.5.5
negotiator: 0.6.3 negotiator: 1.0.0
next: 14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4) next: 14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4)
react: 18.3.1 react: 18.3.1
use-intl: 3.23.2(react@18.3.1) use-intl: 3.23.5(react@18.3.1)
next@14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4): next@14.2.16(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.80.4):
dependencies: dependencies:
@@ -14690,7 +14696,7 @@ snapshots:
dequal: 2.0.3 dequal: 2.0.3
react: 18.3.1 react: 18.3.1
use-intl@3.23.2(react@18.3.1): use-intl@3.23.5(react@18.3.1):
dependencies: dependencies:
'@formatjs/fast-memoize': 2.2.1 '@formatjs/fast-memoize': 2.2.1
intl-messageformat: 10.7.1 intl-messageformat: 10.7.1