mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-21 18:02:35 +01:00
upgrade i18next
This commit is contained in:
parent
5ec0ae94d7
commit
c5af789121
@ -83,7 +83,7 @@
|
||||
"evergreen-ui": "^6.13.1",
|
||||
"fast-xml-parser": "^4.4.1",
|
||||
"framer-motion": "^9.0.3",
|
||||
"i18next-parser": "^7.6.0",
|
||||
"i18next-parser": "^9.0.1",
|
||||
"icon-gen": "^4.0.0",
|
||||
"immer": "^10.0.2",
|
||||
"ky": "^0.33.1",
|
||||
@ -98,7 +98,7 @@
|
||||
"pretty-bytes": "^6.0.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-i18next": "^12.1.5",
|
||||
"react-i18next": "^15.0.0",
|
||||
"react-icons": "^4.1.0",
|
||||
"react-leaflet": "^4.2.1",
|
||||
"react-lottie-player": "^1.5.0",
|
||||
@ -134,8 +134,8 @@
|
||||
"express-async-handler": "^1.2.0",
|
||||
"file-type": "16",
|
||||
"fs-extra": "^8.1.0",
|
||||
"i18next": "^22.4.10",
|
||||
"i18next-fs-backend": "^2.1.1",
|
||||
"i18next": "^23.12.2",
|
||||
"i18next-fs-backend": "^2.3.2",
|
||||
"json5": "^2.2.2",
|
||||
"lodash": "^4.17.19",
|
||||
"mime-types": "^2.1.14",
|
||||
|
@ -52,14 +52,6 @@ const electronUnhandled = import('electron-unhandled');
|
||||
}
|
||||
})();
|
||||
|
||||
// https://www.i18next.com/overview/typescript#argument-of-type-defaulttfuncreturn-is-not-assignable-to-parameter-of-type-xyz
|
||||
// todo This should not be necessary anymore since v23.0.0
|
||||
declare module 'i18next' {
|
||||
interface CustomTypeOptions {
|
||||
returnNull: false;
|
||||
}
|
||||
}
|
||||
|
||||
// eslint-disable-next-line unicorn/prefer-export-from
|
||||
export { isDev };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user