upgrade deps

pull/2905/head
Mikael Finstad 1 month ago
parent 2606038c21
commit 2606036e63
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -1,7 +1,7 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import type { defineConfig } from 'i18next-cli';
const configBase: Parameters<typeof defineConfig>[0] = {
const configBase: Omit<Parameters<typeof defineConfig>[0], 'locales'> = {
extract: {
input: [
'src/renderer/**/*.{ts,tsx}',

@ -14,7 +14,7 @@
"<0></0> <2></2>, <4></4> <6></6> or <8><0><0></0></0></8>+<10></10> to set cutpoints": "<0></0> <2></2>, <4></4> <6></6> or <8><0><0></0></0></8>+<10></10> to set cutpoints",
"<0></0> to show advanced view": "<0></0> to show advanced view",
"<0></0> to show simple view": "<0></0> to show simple view",
"<0>If you're having a problem or question about LosslessCut, please first check the links in the <1>Help</1> menu. If you cannot find any resolution, you may ask a question in <3>GitHub discussions</3> or on <5>Discord.</5></0><1>If you believe that you found a bug in LosslessCut, you may <1>report a bug</1>.</1>": "<0>If you're having a problem or question about LosslessCut, please first check the links in the <1>Help</1> menu. If you cannot find any resolution, you may ask a question in <3>GitHub discussions</3> or on <5>Discord.</5></0><1>If you believe that you found a bug in LosslessCut, you may <1>report a bug</1>.</1>",
"<p>If you're having a problem or question about LosslessCut, please first check the links in the <1>Help</1> menu. If you cannot find any resolution, you may ask a question in <3>GitHub discussions</3> or on <5>Discord.</5></p><p>If you believe that you found a bug in LosslessCut, you may <1>report a bug</1>.</p>": "<p>If you're having a problem or question about LosslessCut, please first check the links in the <1>Help</1> menu. If you cannot find any resolution, you may ask a question in <3>GitHub discussions</3> or on <5>Discord.</5></p><p>If you believe that you found a bug in LosslessCut, you may <1>report a bug</1>.</p>",
"⊞ Win": "⊞ Win",
"⌘ Cmd": "⌘ Cmd",
"1st, 2nd and 3rd track": "1st, 2nd and 3rd track",
@ -590,7 +590,7 @@
"Please input a valid size. Example: {{example}}": "Please input a valid size. Example: {{example}}",
"Please press your desired key combination. Make sure it doesn't conflict with any other binding or system hotkeys.": "Please press your desired key combination. Make sure it doesn't conflict with any other binding or system hotkeys.",
"Please select a working directory first": "Please select a working directory first",
"Please send an email to <1>{{supportEmail}}</1> where you describe what you were doing.": "Please send an email to <1>{{supportEmail}}</1> where you describe what you were doing.",
"Please send us an email where you describe what you were doing.": "Please send us an email where you describe what you were doing.",
"Please test the output file in your desired player/editor before you delete the source file.": "Please test the output file in your desired player/editor before you delete the source file.",
"Please test the output files in your desired player/editor before you delete the source files.": "Please test the output files in your desired player/editor before you delete the source files.",
"PotPlayer Bookmarks (.pbf)": "PotPlayer Bookmarks (.pbf)",

@ -45,7 +45,7 @@
},
"license": "GPL-2.0-only",
"devDependencies": {
"@actions/artifact": "^5.0.3",
"@actions/artifact": "^6.2.1",
"@adamscybot/react-leaflet-component-marker": "^2.0.3",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
@ -87,56 +87,56 @@
"@vitejs/plugin-react": "^5.2.0",
"canvas-confetti": "^1.9.4",
"color": "^5.0.3",
"csv-parse": "^6.1.0",
"csv-stringify": "^6.6.0",
"data-uri-to-buffer": "^6.0.2",
"csv-parse": "^6.2.1",
"csv-stringify": "^6.7.0",
"data-uri-to-buffer": "^8.0.0",
"electron": "^42.3.0",
"electron-builder": "26.8.1",
"electron-builder": "26.13.0",
"electron-vite": "^5.0.0",
"eslint": "^8.57.1",
"eslint-config-mifi": "^0.1.0",
"eslint-config-mifi": "^0.1.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-unicorn": "56.0.1",
"fast-xml-parser": "^5.7.0",
"i18next-cli": "^1.34.1",
"fast-xml-parser": "^5.8.0",
"i18next-cli": "^1.58.1",
"icon-gen": "^5.0.0",
"immer": "^11.1.3",
"immer": "^11.1.8",
"ky": "^2.0.2",
"leaflet": "^1.9.4",
"lodash": "^4.18.1",
"luxon": "^3.7.2",
"mkdirp": "^3.0.1",
"motion": "^12.24.7",
"nanoid": "^5.1.6",
"motion": "^12.40.0",
"nanoid": "^5.1.11",
"p-map": "^7.0.4",
"p-retry": "^7.1.1",
"p-retry": "^8.0.0",
"pretty-bytes": "^7.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^16.5.1",
"react-icons": "^5.5.0",
"react-i18next": "^17.0.8",
"react-icons": "^5.6.0",
"react-leaflet": "^4.2.1",
"react-lottie-player": "^2.1.0",
"react-markdown": "^10.1.0",
"react-syntax-highlighter": "^16.1.0",
"react-syntax-highlighter": "^16.1.1",
"react-use": "^17.6.0",
"sass": "^1.97.2",
"sass": "^1.100.0",
"screenfull": "^6.0.2",
"sharp": "^0.34.5",
"smpte-timecode": "^1.3.6",
"sweetalert2": "^11.26.17",
"sweetalert2-react-content": "^5.1.1",
"tiny-invariant": "^1.3.3",
"ts-morph": "^27.0.2",
"type-fest": "^5.6.0",
"ts-morph": "^28.0.0",
"type-fest": "^5.7.0",
"typescript": "~6.0.3",
"use-debounce": "^5.2.1",
"use-debounce": "^10.1.1",
"use-trace-update": "^1.3.3",
"vite": "7.3.3",
"vitest": "^4.1.7",
"vitest": "^4.1.8",
"yargs": "^18.0.0"
},
"dependencies": {
@ -149,9 +149,9 @@
"execa": "^9.6.1",
"express": "^5.2.1",
"express-async-handler": "^1.2.0",
"file-type": "^21.3.2",
"i18next": "^25.7.3",
"i18next-fs-backend": "^2.6.4",
"file-type": "^22.0.1",
"i18next": "^26.3.0",
"i18next-fs-backend": "^2.6.6",
"json5": "^2.2.3",
"lodash.debounce": "^4.0.8",
"mime-types": "^3.0.2",

@ -15,7 +15,7 @@ import timers from 'node:timers/promises';
import { z } from 'zod';
import { fileURLToPath, pathToFileURL } from 'node:url';
import electronUnhandled from 'electron-unhandled';
import { fileTypeFromFile } from 'file-type/node';
import { fileTypeFromFile } from 'file-type';
import type { Asyncify } from 'type-fest';
// eslint-disable-next-line import/no-extraneous-dependencies
import { installExtension, REACT_DEVELOPER_TOOLS } from 'electron-devtools-installer';

@ -20,7 +20,10 @@ export function openSendReportDialog({ err, message, state }: {
}) {
const reportInstructions = isStoreBuild
? (
<p><Trans>Please send an email to <span className="link-button" role="button" onClick={() => mainApi.openExternal(`mailto:${supportEmail}`)}>{supportEmail}</span> where you describe what you were doing.</Trans></p>
<>
<p>{i18n.t('Please send us an email where you describe what you were doing.')}</p>
<p><span className="link-button" role="button" onClick={() => mainApi.openExternal(`mailto:${supportEmail}`)}>{supportEmail}</span></p>
</>
) : (
<Trans>
<p>

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save