This commit is contained in:
proddy
2025-04-05 10:54:55 +02:00
parent 6e01c00d46
commit 3ed5b65191
15 changed files with 344 additions and 333 deletions

View File

@@ -35,14 +35,14 @@
"react": "^19.1.0", "react": "^19.1.0",
"react-dom": "^19.1.0", "react-dom": "^19.1.0",
"react-icons": "^5.5.0", "react-icons": "^5.5.0",
"react-router": "^7.4.1", "react-router": "^7.5.0",
"react-toastify": "^11.0.5", "react-toastify": "^11.0.5",
"typesafe-i18n": "^5.26.2", "typesafe-i18n": "^5.26.2",
"typescript": "^5.8.2" "typescript": "^5.8.3"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.26.10", "@babel/core": "^7.26.10",
"@eslint/js": "^9.23.0", "@eslint/js": "^9.24.0",
"@preact/compat": "^18.3.1", "@preact/compat": "^18.3.1",
"@preact/preset-vite": "^2.10.1", "@preact/preset-vite": "^2.10.1",
"@trivago/prettier-plugin-sort-imports": "^5.2.2", "@trivago/prettier-plugin-sort-imports": "^5.2.2",
@@ -51,7 +51,7 @@
"@types/react": "^19.1.0", "@types/react": "^19.1.0",
"@types/react-dom": "^19.1.1", "@types/react-dom": "^19.1.1",
"concurrently": "^9.1.2", "concurrently": "^9.1.2",
"eslint": "^9.23.0", "eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.1", "eslint-config-prettier": "^10.1.1",
"formidable": "^3.5.2", "formidable": "^3.5.2",
"prettier": "^3.5.3", "prettier": "^3.5.3",

View File

@@ -2,6 +2,7 @@ import { useContext, useEffect, useState } from 'react';
import { toast } from 'react-toastify'; import { toast } from 'react-toastify';
import CancelIcon from '@mui/icons-material/Cancel'; import CancelIcon from '@mui/icons-material/Cancel';
import CloseIcon from '@mui/icons-material/Close';
import CheckIcon from '@mui/icons-material/Done'; import CheckIcon from '@mui/icons-material/Done';
import DownloadIcon from '@mui/icons-material/GetApp'; import DownloadIcon from '@mui/icons-material/GetApp';
import WarningIcon from '@mui/icons-material/Warning'; import WarningIcon from '@mui/icons-material/Warning';
@@ -78,7 +79,7 @@ const Version = () => {
send: loadData, send: loadData,
error error
} = useRequest(SystemApi.readSystemStatus).onSuccess((event) => { } = useRequest(SystemApi.readSystemStatus).onSuccess((event) => {
// older version of EMS-ESP on 4MB boards, can't use OTA because of SSL support in HttpClient // older version of EMS-ESP using ESP32 (not S3) and no PSRAM, can't use OTA because of SSL support in HttpClient
if (event.data.arduino_version.startsWith('Tasmota')) { if (event.data.arduino_version.startsWith('Tasmota')) {
setDownloadOnly(true); setDownloadOnly(true);
} }
@@ -145,20 +146,21 @@ const Version = () => {
); );
}; };
const getBinURL = () => { const getBinURL = (showingDev: boolean) => {
if (!internetLive) { if (!internetLive) {
return ''; return '';
} }
const filename = const filename =
'EMS-ESP-' + 'EMS-ESP-' +
(fetchDevVersion ? latestDevVersion.name : latestVersion.name).replaceAll( (showingDev ? latestDevVersion.name : latestVersion.name).replaceAll(
'.', '.',
'_' '_'
) + ) +
'-' + '-' +
getPlatform() + getPlatform() +
'.bin'; '.bin';
return fetchDevVersion return showingDev
? DEV_URL + filename ? DEV_URL + filename
: STABLE_URL + 'v' + latestVersion.name + '/' + filename; : STABLE_URL + 'v' + latestVersion.name + '/' + filename;
}; };
@@ -180,7 +182,7 @@ const Version = () => {
useLayoutTitle('EMS-ESP Firmware'); useLayoutTitle('EMS-ESP Firmware');
const renderInstallDialog = () => { const renderInstallDialog = () => {
const binURL = getBinURL(); const binURL = getBinURL(fetchDevVersion);
return ( return (
<Dialog <Dialog
@@ -189,7 +191,7 @@ const Version = () => {
onClose={() => closeInstallDialog()} onClose={() => closeInstallDialog()}
> >
<DialogTitle> <DialogTitle>
{LL.INSTALL() + {LL.UPDATE() +
' ' + ' ' +
(fetchDevVersion ? LL.DEVELOPMENT() : LL.STABLE()) + (fetchDevVersion ? LL.DEVELOPMENT() : LL.STABLE()) +
' Firmware'} ' Firmware'}
@@ -197,6 +199,7 @@ const Version = () => {
<DialogContent dividers> <DialogContent dividers>
<Typography mb={2}> <Typography mb={2}>
{LL.INSTALL_VERSION( {LL.INSTALL_VERSION(
downloadOnly ? LL.DOWNLOAD(1) : LL.INSTALL(),
fetchDevVersion ? latestDevVersion?.name : latestVersion?.name fetchDevVersion ? latestDevVersion?.name : latestVersion?.name
)} )}
</Typography> </Typography>
@@ -220,14 +223,16 @@ const Version = () => {
{LL.DOWNLOAD(1)} {LL.DOWNLOAD(1)}
</Link> </Link>
</Button> </Button>
<Button {!downloadOnly && (
startIcon={<WarningIcon color="warning" />} <Button
variant="outlined" startIcon={<WarningIcon color="warning" />}
onClick={() => installFirmwareURL(binURL)} variant="outlined"
color="primary" onClick={() => installFirmwareURL(binURL)}
> color="primary"
{LL.INSTALL()} >
</Button> {LL.INSTALL()}
</Button>
)}
</DialogActions> </DialogActions>
</Dialog> </Dialog>
); );
@@ -273,23 +278,6 @@ const Version = () => {
return; return;
} }
if (downloadOnly) {
return (
<Button
sx={{ ml: 2 }}
startIcon={<DownloadIcon />}
variant="outlined"
onClick={() => setOpenInstallDialog(false)}
color="warning"
size="small"
>
<Link underline="none" target="_blank" href={getBinURL()} color="warning">
{LL.DOWNLOAD(1)}
</Link>
</Button>
);
}
return ( return (
<Button <Button
sx={{ ml: 2 }} sx={{ ml: 2 }}
@@ -347,7 +335,25 @@ const Version = () => {
<Typography> <Typography>
{getPlatform()} {getPlatform()}
<Typography variant="caption"> <Typography variant="caption">
&nbsp; &#40;{data.psram ? '+PSRAM' : '-PSRAM'}&#41; &nbsp; &#40;
{data.psram ? (
<CheckIcon
color="success"
sx={{
fontSize: '1.5em',
verticalAlign: 'middle'
}}
/>
) : (
<CloseIcon
color="error"
sx={{
fontSize: '1.5em',
verticalAlign: 'middle'
}}
/>
)}
PSRAM&#41;
</Typography> </Typography>
</Typography> </Typography>
</Grid> </Grid>

View File

@@ -331,7 +331,7 @@ const cz: Translation = {
ALLVALUES: 'Všechny hodnoty', ALLVALUES: 'Všechny hodnoty',
SPECIAL_FUNCTIONS: 'Speciální funkce', SPECIAL_FUNCTIONS: 'Speciální funkce',
WAIT_FIRMWARE: 'Firmware se nahrává a instaluje', WAIT_FIRMWARE: 'Firmware se nahrává a instaluje',
INSTALL_VERSION: 'Tímto se instalovat verze {0}. Jste si jistí?', INSTALL_VERSION: 'Tímto se {0} verze {1}. Jste si jistí?',
UPDATE_AVAILABLE: 'update available', // TODO translate UPDATE_AVAILABLE: 'update available', // TODO translate
LATEST_VERSION: 'Používáte nejnovější verzi {0}firmwaru', LATEST_VERSION: 'Používáte nejnovější verzi {0}firmwaru',
PLEASE_WAIT: 'Prosím čekejte', PLEASE_WAIT: 'Prosím čekejte',

View File

@@ -331,7 +331,7 @@ const de: Translation = {
ALLVALUES: 'Alle Werte', ALLVALUES: 'Alle Werte',
SPECIAL_FUNCTIONS: 'Sonderfunktionen', SPECIAL_FUNCTIONS: 'Sonderfunktionen',
WAIT_FIRMWARE: 'Die Firmware wird hochgeladen und installiert.', WAIT_FIRMWARE: 'Die Firmware wird hochgeladen und installiert.',
INSTALL_VERSION: 'Dadurch wird die Version {0} heruntergeladen. Sind Sie sicher?', INSTALL_VERSION: 'Dadurch wird die Version {1} {0}. Sind Sie sicher?',
UPDATE_AVAILABLE: 'Firmware-Update verfügbar', UPDATE_AVAILABLE: 'Firmware-Update verfügbar',
LATEST_VERSION: 'Sie verwenden die neueste {0} Firmware-Version', LATEST_VERSION: 'Sie verwenden die neueste {0} Firmware-Version',
PLEASE_WAIT: 'Bitte warten', PLEASE_WAIT: 'Bitte warten',

View File

@@ -331,7 +331,7 @@ const en: Translation = {
ALLVALUES: 'All Values', ALLVALUES: 'All Values',
SPECIAL_FUNCTIONS: 'Special Functions', SPECIAL_FUNCTIONS: 'Special Functions',
WAIT_FIRMWARE: 'Firmware is uploading and installing', WAIT_FIRMWARE: 'Firmware is uploading and installing',
INSTALL_VERSION: 'This will install version {0}. Are you sure?', INSTALL_VERSION: 'This will {0} version {1}. Are you sure?',
UPDATE_AVAILABLE: 'update available', UPDATE_AVAILABLE: 'update available',
LATEST_VERSION: 'You are using the latest {0} firmware version', LATEST_VERSION: 'You are using the latest {0} firmware version',
PLEASE_WAIT: 'Please wait', PLEASE_WAIT: 'Please wait',

View File

@@ -331,7 +331,7 @@ const fr: Translation = {
ALLVALUES: 'All Values', // TODO translate ALLVALUES: 'All Values', // TODO translate
SPECIAL_FUNCTIONS: 'Special Functions', SPECIAL_FUNCTIONS: 'Special Functions',
WAIT_FIRMWARE: 'Firmware is uploading and installing', // TODO translate WAIT_FIRMWARE: 'Firmware is uploading and installing', // TODO translate
INSTALL_VERSION: 'This will install version {0}. Are you sure?', // TODO translate INSTALL_VERSION: 'This will {0} version {1}. Are you sure?', // TODO translate
UPDATE_AVAILABLE: 'update available', // TODO translate UPDATE_AVAILABLE: 'update available', // TODO translate
LATEST_VERSION: 'You are using the latest {0} firmware version', // TODO translate LATEST_VERSION: 'You are using the latest {0} firmware version', // TODO translate
PLEASE_WAIT: 'Please wait', // TODO translate PLEASE_WAIT: 'Please wait', // TODO translate

View File

@@ -331,7 +331,7 @@ const it: Translation = {
ALLVALUES: 'All Values', // TODO translate ALLVALUES: 'All Values', // TODO translate
SPECIAL_FUNCTIONS: 'Special Functions', // TODO translate SPECIAL_FUNCTIONS: 'Special Functions', // TODO translate
WAIT_FIRMWARE: 'Firmware is uploading and installing', // TODO translate WAIT_FIRMWARE: 'Firmware is uploading and installing', // TODO translate
INSTALL_VERSION: 'This will install version {0}. Are you sure?', // TODO translate INSTALL_VERSION: 'This will {0} version {1}. Are you sure?', // TODO translate
UPDATE_AVAILABLE: 'update available', // TODO translate UPDATE_AVAILABLE: 'update available', // TODO translate
LATEST_VERSION: 'You are using the latest {0}firmware version', // TODO translate LATEST_VERSION: 'You are using the latest {0}firmware version', // TODO translate
PLEASE_WAIT: 'Please wait', // TODO translate PLEASE_WAIT: 'Please wait', // TODO translate

View File

@@ -331,7 +331,7 @@ const nl: Translation = {
ALLVALUES: 'All waarden', ALLVALUES: 'All waarden',
SPECIAL_FUNCTIONS: 'Speciale functies', SPECIAL_FUNCTIONS: 'Speciale functies',
WAIT_FIRMWARE: 'Firmware wordt geüpload en geïnstalleerd', WAIT_FIRMWARE: 'Firmware wordt geüpload en geïnstalleerd',
INSTALL_VERSION: 'Hiermee wordt versie {0} geïnstalleerd. Weet je het zeker?', INSTALL_VERSION: 'Hiermee wordt versie {1} {0}. Weet je het zeker?',
UPDATE_AVAILABLE: 'update beschikbaar', UPDATE_AVAILABLE: 'update beschikbaar',
LATEST_VERSION: 'U gebruikt de nieuwste {0} firmwareversie', LATEST_VERSION: 'U gebruikt de nieuwste {0} firmwareversie',
PLEASE_WAIT: 'Een ogenblik geduld', PLEASE_WAIT: 'Een ogenblik geduld',

View File

@@ -331,7 +331,7 @@ const no: Translation = {
ALLVALUES: 'All Values', // TODO translate ALLVALUES: 'All Values', // TODO translate
SPECIAL_FUNCTIONS: 'Special Functions', // TODO translate SPECIAL_FUNCTIONS: 'Special Functions', // TODO translate
WAIT_FIRMWARE: 'Firmware is uploading and installing', // TODO translate WAIT_FIRMWARE: 'Firmware is uploading and installing', // TODO translate
INSTALL_VERSION: 'This will install version {0}. Are you sure?', // TODO translate INSTALL_VERSION: 'This will {0} version {1}. Are you sure?', // TODO translate
UPDATE_AVAILABLE: 'update available', // TODO translate UPDATE_AVAILABLE: 'update available', // TODO translate
LATEST_VERSION: 'You are using the latest {0}firmware version', // TODO translate LATEST_VERSION: 'You are using the latest {0}firmware version', // TODO translate
PLEASE_WAIT: 'Please wait', // TODO translate PLEASE_WAIT: 'Please wait', // TODO translate

View File

@@ -331,7 +331,7 @@ const pl: BaseTranslation = {
ALLVALUES: 'All Values', // TODO translate ALLVALUES: 'All Values', // TODO translate
SPECIAL_FUNCTIONS: 'Special Functions', // TODO translate SPECIAL_FUNCTIONS: 'Special Functions', // TODO translate
WAIT_FIRMWARE: 'Firmware is uploading and installing', // TODO translate WAIT_FIRMWARE: 'Firmware is uploading and installing', // TODO translate
INSTALL_VERSION: 'This will install version {0}. Are you sure?', // TODO translate INSTALL_VERSION: 'This will {0} version {1}. Are you sure?', // TODO translate
UPDATE_AVAILABLE: 'update available', // TODO translate UPDATE_AVAILABLE: 'update available', // TODO translate
LATEST_VERSION: 'You are using the latest {0} firmware version', // TODO translate LATEST_VERSION: 'You are using the latest {0} firmware version', // TODO translate
PLEASE_WAIT: 'Please wait', // TODO translate PLEASE_WAIT: 'Please wait', // TODO translate

View File

@@ -331,7 +331,7 @@ const sk: Translation = {
ALLVALUES: 'Všetky hodnoty', ALLVALUES: 'Všetky hodnoty',
SPECIAL_FUNCTIONS: 'Špeciálne funkcie', SPECIAL_FUNCTIONS: 'Špeciálne funkcie',
WAIT_FIRMWARE: 'Firmvér sa nahráva a inštaluje', WAIT_FIRMWARE: 'Firmvér sa nahráva a inštaluje',
INSTALL_VERSION: 'Týmto sa inštalovať verzia {0}. Si si istý?', INSTALL_VERSION: 'Týmto sa {0} verzia {1}. Si si istý?',
UPDATE_AVAILABLE: 'update available', // TODO translate UPDATE_AVAILABLE: 'update available', // TODO translate
LATEST_VERSION: 'Používate poslednú {0} verziu firmvéru', LATEST_VERSION: 'Používate poslednú {0} verziu firmvéru',
PLEASE_WAIT: 'Čakajte prosím', PLEASE_WAIT: 'Čakajte prosím',

View File

@@ -331,7 +331,7 @@ const sv: Translation = {
ALLVALUES: 'Alla värden', ALLVALUES: 'Alla värden',
SPECIAL_FUNCTIONS: 'Specialfunktioner', SPECIAL_FUNCTIONS: 'Specialfunktioner',
WAIT_FIRMWARE: 'Firmware laddas upp och installeras', WAIT_FIRMWARE: 'Firmware laddas upp och installeras',
INSTALL_VERSION: 'Det här kommer installera version {0}. Är du säker?', INSTALL_VERSION: 'Det här kommer {0} version {1}. Är du säker?',
UPDATE_AVAILABLE: 'update available', // TODO translate UPDATE_AVAILABLE: 'update available', // TODO translate
LATEST_VERSION: 'Du använder den senaste {0} firmwareversionen.', LATEST_VERSION: 'Du använder den senaste {0} firmwareversionen.',
PLEASE_WAIT: 'Var god vänta', PLEASE_WAIT: 'Var god vänta',

View File

@@ -331,7 +331,7 @@ const tr: Translation = {
ALLVALUES: 'All Values', // TODO translate ALLVALUES: 'All Values', // TODO translate
SPECIAL_FUNCTIONS: 'Special Functions', // TODO translate SPECIAL_FUNCTIONS: 'Special Functions', // TODO translate
WAIT_FIRMWARE: 'Firmware is uploading and installing', // TODO translate WAIT_FIRMWARE: 'Firmware is uploading and installing', // TODO translate
INSTALL_VERSION: 'This will install version {0}. Are you sure?', // TODO translate INSTALL_VERSION: 'This will {0} version {1}. Are you sure?', // TODO translate
UPDATE_AVAILABLE: 'update available!', // TODO translate UPDATE_AVAILABLE: 'update available!', // TODO translate
LATEST_VERSION: 'You are using the latest {0}firmware version.', // TODO translate LATEST_VERSION: 'You are using the latest {0}firmware version.', // TODO translate
PLEASE_WAIT: 'Please wait', // TODO translate PLEASE_WAIT: 'Please wait', // TODO translate

View File

@@ -409,79 +409,79 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/aix-ppc64@npm:0.25.1": "@esbuild/aix-ppc64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/aix-ppc64@npm:0.25.1" resolution: "@esbuild/aix-ppc64@npm:0.25.2"
conditions: os=aix & cpu=ppc64 conditions: os=aix & cpu=ppc64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/android-arm64@npm:0.25.1": "@esbuild/android-arm64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/android-arm64@npm:0.25.1" resolution: "@esbuild/android-arm64@npm:0.25.2"
conditions: os=android & cpu=arm64 conditions: os=android & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/android-arm@npm:0.25.1": "@esbuild/android-arm@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/android-arm@npm:0.25.1" resolution: "@esbuild/android-arm@npm:0.25.2"
conditions: os=android & cpu=arm conditions: os=android & cpu=arm
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/android-x64@npm:0.25.1": "@esbuild/android-x64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/android-x64@npm:0.25.1" resolution: "@esbuild/android-x64@npm:0.25.2"
conditions: os=android & cpu=x64 conditions: os=android & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/darwin-arm64@npm:0.25.1": "@esbuild/darwin-arm64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/darwin-arm64@npm:0.25.1" resolution: "@esbuild/darwin-arm64@npm:0.25.2"
conditions: os=darwin & cpu=arm64 conditions: os=darwin & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/darwin-x64@npm:0.25.1": "@esbuild/darwin-x64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/darwin-x64@npm:0.25.1" resolution: "@esbuild/darwin-x64@npm:0.25.2"
conditions: os=darwin & cpu=x64 conditions: os=darwin & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/freebsd-arm64@npm:0.25.1": "@esbuild/freebsd-arm64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/freebsd-arm64@npm:0.25.1" resolution: "@esbuild/freebsd-arm64@npm:0.25.2"
conditions: os=freebsd & cpu=arm64 conditions: os=freebsd & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/freebsd-x64@npm:0.25.1": "@esbuild/freebsd-x64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/freebsd-x64@npm:0.25.1" resolution: "@esbuild/freebsd-x64@npm:0.25.2"
conditions: os=freebsd & cpu=x64 conditions: os=freebsd & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-arm64@npm:0.25.1": "@esbuild/linux-arm64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/linux-arm64@npm:0.25.1" resolution: "@esbuild/linux-arm64@npm:0.25.2"
conditions: os=linux & cpu=arm64 conditions: os=linux & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-arm@npm:0.25.1": "@esbuild/linux-arm@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/linux-arm@npm:0.25.1" resolution: "@esbuild/linux-arm@npm:0.25.2"
conditions: os=linux & cpu=arm conditions: os=linux & cpu=arm
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-ia32@npm:0.25.1": "@esbuild/linux-ia32@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/linux-ia32@npm:0.25.1" resolution: "@esbuild/linux-ia32@npm:0.25.2"
conditions: os=linux & cpu=ia32 conditions: os=linux & cpu=ia32
languageName: node languageName: node
linkType: hard linkType: hard
@@ -493,100 +493,100 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-loong64@npm:0.25.1": "@esbuild/linux-loong64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/linux-loong64@npm:0.25.1" resolution: "@esbuild/linux-loong64@npm:0.25.2"
conditions: os=linux & cpu=loong64 conditions: os=linux & cpu=loong64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-mips64el@npm:0.25.1": "@esbuild/linux-mips64el@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/linux-mips64el@npm:0.25.1" resolution: "@esbuild/linux-mips64el@npm:0.25.2"
conditions: os=linux & cpu=mips64el conditions: os=linux & cpu=mips64el
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-ppc64@npm:0.25.1": "@esbuild/linux-ppc64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/linux-ppc64@npm:0.25.1" resolution: "@esbuild/linux-ppc64@npm:0.25.2"
conditions: os=linux & cpu=ppc64 conditions: os=linux & cpu=ppc64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-riscv64@npm:0.25.1": "@esbuild/linux-riscv64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/linux-riscv64@npm:0.25.1" resolution: "@esbuild/linux-riscv64@npm:0.25.2"
conditions: os=linux & cpu=riscv64 conditions: os=linux & cpu=riscv64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-s390x@npm:0.25.1": "@esbuild/linux-s390x@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/linux-s390x@npm:0.25.1" resolution: "@esbuild/linux-s390x@npm:0.25.2"
conditions: os=linux & cpu=s390x conditions: os=linux & cpu=s390x
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/linux-x64@npm:0.25.1": "@esbuild/linux-x64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/linux-x64@npm:0.25.1" resolution: "@esbuild/linux-x64@npm:0.25.2"
conditions: os=linux & cpu=x64 conditions: os=linux & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/netbsd-arm64@npm:0.25.1": "@esbuild/netbsd-arm64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/netbsd-arm64@npm:0.25.1" resolution: "@esbuild/netbsd-arm64@npm:0.25.2"
conditions: os=netbsd & cpu=arm64 conditions: os=netbsd & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/netbsd-x64@npm:0.25.1": "@esbuild/netbsd-x64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/netbsd-x64@npm:0.25.1" resolution: "@esbuild/netbsd-x64@npm:0.25.2"
conditions: os=netbsd & cpu=x64 conditions: os=netbsd & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/openbsd-arm64@npm:0.25.1": "@esbuild/openbsd-arm64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/openbsd-arm64@npm:0.25.1" resolution: "@esbuild/openbsd-arm64@npm:0.25.2"
conditions: os=openbsd & cpu=arm64 conditions: os=openbsd & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/openbsd-x64@npm:0.25.1": "@esbuild/openbsd-x64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/openbsd-x64@npm:0.25.1" resolution: "@esbuild/openbsd-x64@npm:0.25.2"
conditions: os=openbsd & cpu=x64 conditions: os=openbsd & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/sunos-x64@npm:0.25.1": "@esbuild/sunos-x64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/sunos-x64@npm:0.25.1" resolution: "@esbuild/sunos-x64@npm:0.25.2"
conditions: os=sunos & cpu=x64 conditions: os=sunos & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/win32-arm64@npm:0.25.1": "@esbuild/win32-arm64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/win32-arm64@npm:0.25.1" resolution: "@esbuild/win32-arm64@npm:0.25.2"
conditions: os=win32 & cpu=arm64 conditions: os=win32 & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/win32-ia32@npm:0.25.1": "@esbuild/win32-ia32@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/win32-ia32@npm:0.25.1" resolution: "@esbuild/win32-ia32@npm:0.25.2"
conditions: os=win32 & cpu=ia32 conditions: os=win32 & cpu=ia32
languageName: node languageName: node
linkType: hard linkType: hard
"@esbuild/win32-x64@npm:0.25.1": "@esbuild/win32-x64@npm:0.25.2":
version: 0.25.1 version: 0.25.2
resolution: "@esbuild/win32-x64@npm:0.25.1" resolution: "@esbuild/win32-x64@npm:0.25.2"
conditions: os=win32 & cpu=x64 conditions: os=win32 & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
@@ -609,21 +609,21 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@eslint/config-array@npm:^0.19.2": "@eslint/config-array@npm:^0.20.0":
version: 0.19.2 version: 0.20.0
resolution: "@eslint/config-array@npm:0.19.2" resolution: "@eslint/config-array@npm:0.20.0"
dependencies: dependencies:
"@eslint/object-schema": "npm:^2.1.6" "@eslint/object-schema": "npm:^2.1.6"
debug: "npm:^4.3.1" debug: "npm:^4.3.1"
minimatch: "npm:^3.1.2" minimatch: "npm:^3.1.2"
checksum: 10c0/dd68da9abb32d336233ac4fe0db1e15a0a8d794b6e69abb9e57545d746a97f6f542496ff9db0d7e27fab1438546250d810d90b1904ac67677215b8d8e7573f3d checksum: 10c0/94bc5d0abb96dc5295ff559925242ff75a54eacfb3576677e95917e42f7175e1c4b87bf039aa2a872f949b4852ad9724bf2f7529aaea6b98f28bb3fca7f1d659
languageName: node languageName: node
linkType: hard linkType: hard
"@eslint/config-helpers@npm:^0.2.0": "@eslint/config-helpers@npm:^0.2.0":
version: 0.2.0 version: 0.2.1
resolution: "@eslint/config-helpers@npm:0.2.0" resolution: "@eslint/config-helpers@npm:0.2.1"
checksum: 10c0/743a64653e13177029108f57ab47460ded08e3412c86216a14b7e8ab2dc79c2b64be45bf55c5ef29f83692a707dc34cf1e9217e4b8b4b272a0d9b691fdaf6a2a checksum: 10c0/3e829a78b0bb4f7c44384ba1df3986e5de24b7f440ad5c6bb3cfc366ded773a869ca9ee8d212b5a563ae94596c5940dea6fd2ea1ee53a84c6241ac953dcb8bb7
languageName: node languageName: node
linkType: hard linkType: hard
@@ -636,6 +636,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@eslint/core@npm:^0.13.0":
version: 0.13.0
resolution: "@eslint/core@npm:0.13.0"
dependencies:
"@types/json-schema": "npm:^7.0.15"
checksum: 10c0/ba724a7df7ed9dab387481f11d0d0f708180f40be93acce2c21dacca625c5867de3528760c42f1c457ccefe6a669d525ff87b779017eabc0d33479a36300797b
languageName: node
linkType: hard
"@eslint/eslintrc@npm:^3.3.1": "@eslint/eslintrc@npm:^3.3.1":
version: 3.3.1 version: 3.3.1
resolution: "@eslint/eslintrc@npm:3.3.1" resolution: "@eslint/eslintrc@npm:3.3.1"
@@ -653,10 +662,10 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@eslint/js@npm:9.23.0, @eslint/js@npm:^9.23.0": "@eslint/js@npm:9.24.0, @eslint/js@npm:^9.24.0":
version: 9.23.0 version: 9.24.0
resolution: "@eslint/js@npm:9.23.0" resolution: "@eslint/js@npm:9.24.0"
checksum: 10c0/4e70869372b6325389e0ab51cac6d3062689807d1cef2c3434857571422ce11dde3c62777af85c382b9f94d937127598d605d2086787f08611351bf99faded81 checksum: 10c0/efe22e29469e4140ac3e2916be8143b1bcfd1084a6edf692b7a58a3e54949d53c67f7f979bc0a811db134d9cc1e7bff8aa71ef1376b47eecd7e226b71206bb36
languageName: node languageName: node
linkType: hard linkType: hard
@@ -668,12 +677,12 @@ __metadata:
linkType: hard linkType: hard
"@eslint/plugin-kit@npm:^0.2.7": "@eslint/plugin-kit@npm:^0.2.7":
version: 0.2.7 version: 0.2.8
resolution: "@eslint/plugin-kit@npm:0.2.7" resolution: "@eslint/plugin-kit@npm:0.2.8"
dependencies: dependencies:
"@eslint/core": "npm:^0.12.0" "@eslint/core": "npm:^0.13.0"
levn: "npm:^0.4.1" levn: "npm:^0.4.1"
checksum: 10c0/0a1aff1ad63e72aca923217e556c6dfd67d7cd121870eb7686355d7d1475d569773528a8b2111b9176f3d91d2ea81f7413c34600e8e5b73d59e005d70780b633 checksum: 10c0/554847c8f2b6bfe0e634f317fc43d0b54771eea0015c4f844f75915fdb9e6170c830c004291bad57db949d61771732e459f36ed059f45cf750af223f77357c5c
languageName: node languageName: node
linkType: hard linkType: hard
@@ -1091,142 +1100,142 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-android-arm-eabi@npm:4.38.0": "@rollup/rollup-android-arm-eabi@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-android-arm-eabi@npm:4.38.0" resolution: "@rollup/rollup-android-arm-eabi@npm:4.39.0"
conditions: os=android & cpu=arm conditions: os=android & cpu=arm
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-android-arm64@npm:4.38.0": "@rollup/rollup-android-arm64@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-android-arm64@npm:4.38.0" resolution: "@rollup/rollup-android-arm64@npm:4.39.0"
conditions: os=android & cpu=arm64 conditions: os=android & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-darwin-arm64@npm:4.38.0": "@rollup/rollup-darwin-arm64@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-darwin-arm64@npm:4.38.0" resolution: "@rollup/rollup-darwin-arm64@npm:4.39.0"
conditions: os=darwin & cpu=arm64 conditions: os=darwin & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-darwin-x64@npm:4.38.0": "@rollup/rollup-darwin-x64@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-darwin-x64@npm:4.38.0" resolution: "@rollup/rollup-darwin-x64@npm:4.39.0"
conditions: os=darwin & cpu=x64 conditions: os=darwin & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-freebsd-arm64@npm:4.38.0": "@rollup/rollup-freebsd-arm64@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-freebsd-arm64@npm:4.38.0" resolution: "@rollup/rollup-freebsd-arm64@npm:4.39.0"
conditions: os=freebsd & cpu=arm64 conditions: os=freebsd & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-freebsd-x64@npm:4.38.0": "@rollup/rollup-freebsd-x64@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-freebsd-x64@npm:4.38.0" resolution: "@rollup/rollup-freebsd-x64@npm:4.39.0"
conditions: os=freebsd & cpu=x64 conditions: os=freebsd & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-arm-gnueabihf@npm:4.38.0": "@rollup/rollup-linux-arm-gnueabihf@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.38.0" resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.39.0"
conditions: os=linux & cpu=arm & libc=glibc conditions: os=linux & cpu=arm & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-arm-musleabihf@npm:4.38.0": "@rollup/rollup-linux-arm-musleabihf@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.38.0" resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.39.0"
conditions: os=linux & cpu=arm & libc=musl conditions: os=linux & cpu=arm & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-arm64-gnu@npm:4.38.0": "@rollup/rollup-linux-arm64-gnu@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.38.0" resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.39.0"
conditions: os=linux & cpu=arm64 & libc=glibc conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-arm64-musl@npm:4.38.0": "@rollup/rollup-linux-arm64-musl@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.38.0" resolution: "@rollup/rollup-linux-arm64-musl@npm:4.39.0"
conditions: os=linux & cpu=arm64 & libc=musl conditions: os=linux & cpu=arm64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-loongarch64-gnu@npm:4.38.0": "@rollup/rollup-linux-loongarch64-gnu@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.38.0" resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.39.0"
conditions: os=linux & cpu=loong64 & libc=glibc conditions: os=linux & cpu=loong64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-powerpc64le-gnu@npm:4.38.0": "@rollup/rollup-linux-powerpc64le-gnu@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.38.0" resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.39.0"
conditions: os=linux & cpu=ppc64 & libc=glibc conditions: os=linux & cpu=ppc64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-riscv64-gnu@npm:4.38.0": "@rollup/rollup-linux-riscv64-gnu@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.38.0" resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.39.0"
conditions: os=linux & cpu=riscv64 & libc=glibc conditions: os=linux & cpu=riscv64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-riscv64-musl@npm:4.38.0": "@rollup/rollup-linux-riscv64-musl@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.38.0" resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.39.0"
conditions: os=linux & cpu=riscv64 & libc=musl conditions: os=linux & cpu=riscv64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-s390x-gnu@npm:4.38.0": "@rollup/rollup-linux-s390x-gnu@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.38.0" resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.39.0"
conditions: os=linux & cpu=s390x & libc=glibc conditions: os=linux & cpu=s390x & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-x64-gnu@npm:4.38.0": "@rollup/rollup-linux-x64-gnu@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.38.0" resolution: "@rollup/rollup-linux-x64-gnu@npm:4.39.0"
conditions: os=linux & cpu=x64 & libc=glibc conditions: os=linux & cpu=x64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-linux-x64-musl@npm:4.38.0": "@rollup/rollup-linux-x64-musl@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-linux-x64-musl@npm:4.38.0" resolution: "@rollup/rollup-linux-x64-musl@npm:4.39.0"
conditions: os=linux & cpu=x64 & libc=musl conditions: os=linux & cpu=x64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-win32-arm64-msvc@npm:4.38.0": "@rollup/rollup-win32-arm64-msvc@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.38.0" resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.39.0"
conditions: os=win32 & cpu=arm64 conditions: os=win32 & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-win32-ia32-msvc@npm:4.38.0": "@rollup/rollup-win32-ia32-msvc@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.38.0" resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.39.0"
conditions: os=win32 & cpu=ia32 conditions: os=win32 & cpu=ia32
languageName: node languageName: node
linkType: hard linkType: hard
"@rollup/rollup-win32-x64-msvc@npm:4.38.0": "@rollup/rollup-win32-x64-msvc@npm:4.39.0":
version: 4.38.0 version: 4.39.0
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.38.0" resolution: "@rollup/rollup-win32-x64-msvc@npm:4.39.0"
conditions: os=win32 & cpu=x64 conditions: os=win32 & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
@@ -1415,16 +1424,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/node@npm:*": "@types/node@npm:*, @types/node@npm:^22.14.0":
version: 22.13.14
resolution: "@types/node@npm:22.13.14"
dependencies:
undici-types: "npm:~6.20.0"
checksum: 10c0/fa2ab5b8277bfbcc86c42e46a3ea9871b0d559894cc9d955685d17178c9499f0b1bf03d1d1ea8d92ef2dda818988f4035acb8abf9dc15423a998fa56173ab804
languageName: node
linkType: hard
"@types/node@npm:^22.14.0":
version: 22.14.0 version: 22.14.0
resolution: "@types/node@npm:22.14.0" resolution: "@types/node@npm:22.14.0"
dependencies: dependencies:
@@ -1612,7 +1612,7 @@ __metadata:
"@babel/core": "npm:^7.26.10" "@babel/core": "npm:^7.26.10"
"@emotion/react": "npm:^11.14.0" "@emotion/react": "npm:^11.14.0"
"@emotion/styled": "npm:^11.14.0" "@emotion/styled": "npm:^11.14.0"
"@eslint/js": "npm:^9.23.0" "@eslint/js": "npm:^9.24.0"
"@mui/icons-material": "npm:^7.0.1" "@mui/icons-material": "npm:^7.0.1"
"@mui/material": "npm:^7.0.1" "@mui/material": "npm:^7.0.1"
"@preact/compat": "npm:^18.3.1" "@preact/compat": "npm:^18.3.1"
@@ -1626,7 +1626,7 @@ __metadata:
alova: "npm:3.2.10" alova: "npm:3.2.10"
async-validator: "npm:^4.2.5" async-validator: "npm:^4.2.5"
concurrently: "npm:^9.1.2" concurrently: "npm:^9.1.2"
eslint: "npm:^9.23.0" eslint: "npm:^9.24.0"
eslint-config-prettier: "npm:^10.1.1" eslint-config-prettier: "npm:^10.1.1"
formidable: "npm:^3.5.2" formidable: "npm:^3.5.2"
jwt-decode: "npm:^4.0.0" jwt-decode: "npm:^4.0.0"
@@ -1636,12 +1636,12 @@ __metadata:
react: "npm:^19.1.0" react: "npm:^19.1.0"
react-dom: "npm:^19.1.0" react-dom: "npm:^19.1.0"
react-icons: "npm:^5.5.0" react-icons: "npm:^5.5.0"
react-router: "npm:^7.4.1" react-router: "npm:^7.5.0"
react-toastify: "npm:^11.0.5" react-toastify: "npm:^11.0.5"
rollup-plugin-visualizer: "npm:^5.14.0" rollup-plugin-visualizer: "npm:^5.14.0"
terser: "npm:^5.39.0" terser: "npm:^5.39.0"
typesafe-i18n: "npm:^5.26.2" typesafe-i18n: "npm:^5.26.2"
typescript: "npm:^5.8.2" typescript: "npm:^5.8.3"
typescript-eslint: "npm:8.29.0" typescript-eslint: "npm:8.29.0"
vite: "npm:^6.2.5" vite: "npm:^6.2.5"
vite-plugin-imagemin: "npm:^0.6.1" vite-plugin-imagemin: "npm:^0.6.1"
@@ -2057,9 +2057,9 @@ __metadata:
linkType: hard linkType: hard
"caniuse-lite@npm:^1.0.30001688": "caniuse-lite@npm:^1.0.30001688":
version: 1.0.30001707 version: 1.0.30001711
resolution: "caniuse-lite@npm:1.0.30001707" resolution: "caniuse-lite@npm:1.0.30001711"
checksum: 10c0/a1beaf84bad4f6617bbc5616d6bc0c9cab73e73f7e9e09b6466af5195b1bc393e0f6f19643d7a1c88bd3f4bfa122d7bea81cf6225ec3ade57d5b1dd3478c1a1b checksum: 10c0/1a6a5c6c586bd7a54e8fa3e54f084b3d640defa2b58a64d22fb6acf30361a4efacc24cebe37e19890a5f198e9a2f1924135c526563008c614a105ca24863399b
languageName: node languageName: node
linkType: hard linkType: hard
@@ -2640,9 +2640,9 @@ __metadata:
linkType: hard linkType: hard
"electron-to-chromium@npm:^1.5.73": "electron-to-chromium@npm:^1.5.73":
version: 1.5.128 version: 1.5.132
resolution: "electron-to-chromium@npm:1.5.128" resolution: "electron-to-chromium@npm:1.5.132"
checksum: 10c0/3c64ec24a8aff8e9954e99366aebdf41c0a5d0e48a498435b68d4deddd938584af53c1b176edd166285cfb9dcd407d4897184208a0369d1bb97e21d8daee8bc2 checksum: 10c0/5dcbbed2a5be4b19812d54d4beb0c09a7f753793018255690f028346f96baf8b5c77f4d231a735321bf6f69f389bdd90c045c99deac61e8ce19183788ceb4fb4
languageName: node languageName: node
linkType: hard linkType: hard
@@ -2930,34 +2930,34 @@ __metadata:
linkType: hard linkType: hard
"esbuild@npm:^0.25.0": "esbuild@npm:^0.25.0":
version: 0.25.1 version: 0.25.2
resolution: "esbuild@npm:0.25.1" resolution: "esbuild@npm:0.25.2"
dependencies: dependencies:
"@esbuild/aix-ppc64": "npm:0.25.1" "@esbuild/aix-ppc64": "npm:0.25.2"
"@esbuild/android-arm": "npm:0.25.1" "@esbuild/android-arm": "npm:0.25.2"
"@esbuild/android-arm64": "npm:0.25.1" "@esbuild/android-arm64": "npm:0.25.2"
"@esbuild/android-x64": "npm:0.25.1" "@esbuild/android-x64": "npm:0.25.2"
"@esbuild/darwin-arm64": "npm:0.25.1" "@esbuild/darwin-arm64": "npm:0.25.2"
"@esbuild/darwin-x64": "npm:0.25.1" "@esbuild/darwin-x64": "npm:0.25.2"
"@esbuild/freebsd-arm64": "npm:0.25.1" "@esbuild/freebsd-arm64": "npm:0.25.2"
"@esbuild/freebsd-x64": "npm:0.25.1" "@esbuild/freebsd-x64": "npm:0.25.2"
"@esbuild/linux-arm": "npm:0.25.1" "@esbuild/linux-arm": "npm:0.25.2"
"@esbuild/linux-arm64": "npm:0.25.1" "@esbuild/linux-arm64": "npm:0.25.2"
"@esbuild/linux-ia32": "npm:0.25.1" "@esbuild/linux-ia32": "npm:0.25.2"
"@esbuild/linux-loong64": "npm:0.25.1" "@esbuild/linux-loong64": "npm:0.25.2"
"@esbuild/linux-mips64el": "npm:0.25.1" "@esbuild/linux-mips64el": "npm:0.25.2"
"@esbuild/linux-ppc64": "npm:0.25.1" "@esbuild/linux-ppc64": "npm:0.25.2"
"@esbuild/linux-riscv64": "npm:0.25.1" "@esbuild/linux-riscv64": "npm:0.25.2"
"@esbuild/linux-s390x": "npm:0.25.1" "@esbuild/linux-s390x": "npm:0.25.2"
"@esbuild/linux-x64": "npm:0.25.1" "@esbuild/linux-x64": "npm:0.25.2"
"@esbuild/netbsd-arm64": "npm:0.25.1" "@esbuild/netbsd-arm64": "npm:0.25.2"
"@esbuild/netbsd-x64": "npm:0.25.1" "@esbuild/netbsd-x64": "npm:0.25.2"
"@esbuild/openbsd-arm64": "npm:0.25.1" "@esbuild/openbsd-arm64": "npm:0.25.2"
"@esbuild/openbsd-x64": "npm:0.25.1" "@esbuild/openbsd-x64": "npm:0.25.2"
"@esbuild/sunos-x64": "npm:0.25.1" "@esbuild/sunos-x64": "npm:0.25.2"
"@esbuild/win32-arm64": "npm:0.25.1" "@esbuild/win32-arm64": "npm:0.25.2"
"@esbuild/win32-ia32": "npm:0.25.1" "@esbuild/win32-ia32": "npm:0.25.2"
"@esbuild/win32-x64": "npm:0.25.1" "@esbuild/win32-x64": "npm:0.25.2"
dependenciesMeta: dependenciesMeta:
"@esbuild/aix-ppc64": "@esbuild/aix-ppc64":
optional: true optional: true
@@ -3011,7 +3011,7 @@ __metadata:
optional: true optional: true
bin: bin:
esbuild: bin/esbuild esbuild: bin/esbuild
checksum: 10c0/80fca30dd0f21aec23fdfab34f0a8d5f55df5097dd7f475f2ab561d45662c32ee306f5649071cd1a0ba0614b164c48ca3dc3ee1551a4daf204b8af90e4d893f5 checksum: 10c0/87ce0b78699c4d192b8cf7e9b688e9a0da10e6f58ff85a368bf3044ca1fa95626c98b769b5459352282e0065585b6f994a5e6699af5cccf9d31178960e2b58fd
languageName: node languageName: node
linkType: hard linkType: hard
@@ -3071,17 +3071,17 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"eslint@npm:^9.23.0": "eslint@npm:^9.24.0":
version: 9.23.0 version: 9.24.0
resolution: "eslint@npm:9.23.0" resolution: "eslint@npm:9.24.0"
dependencies: dependencies:
"@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/eslint-utils": "npm:^4.2.0"
"@eslint-community/regexpp": "npm:^4.12.1" "@eslint-community/regexpp": "npm:^4.12.1"
"@eslint/config-array": "npm:^0.19.2" "@eslint/config-array": "npm:^0.20.0"
"@eslint/config-helpers": "npm:^0.2.0" "@eslint/config-helpers": "npm:^0.2.0"
"@eslint/core": "npm:^0.12.0" "@eslint/core": "npm:^0.12.0"
"@eslint/eslintrc": "npm:^3.3.1" "@eslint/eslintrc": "npm:^3.3.1"
"@eslint/js": "npm:9.23.0" "@eslint/js": "npm:9.24.0"
"@eslint/plugin-kit": "npm:^0.2.7" "@eslint/plugin-kit": "npm:^0.2.7"
"@humanfs/node": "npm:^0.16.6" "@humanfs/node": "npm:^0.16.6"
"@humanwhocodes/module-importer": "npm:^1.0.1" "@humanwhocodes/module-importer": "npm:^1.0.1"
@@ -3117,7 +3117,7 @@ __metadata:
optional: true optional: true
bin: bin:
eslint: bin/eslint.js eslint: bin/eslint.js
checksum: 10c0/9616c308dfa8d09db8ae51019c87d5d05933742214531b077bd6ab618baab3bec7938256c14dcad4dc47f5ba93feb0bc5e089f68799f076374ddea21b6a9be45 checksum: 10c0/f758ff1b9d2f2af5335f562f3f40aa8f71607b3edca33f7616840a222ed224555aeb3ac6943cc86e4f9ac5dc124a60bbfde624d054fb235631a8c04447e39ecc
languageName: node languageName: node
linkType: hard linkType: hard
@@ -3346,6 +3346,18 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"fdir@npm:^6.4.3":
version: 6.4.3
resolution: "fdir@npm:6.4.3"
peerDependencies:
picomatch: ^3 || ^4
peerDependenciesMeta:
picomatch:
optional: true
checksum: 10c0/d13c10120e9625adf21d8d80481586200759928c19405a816b77dd28eaeb80e7c59c5def3e2941508045eb06d34eb47fad865ccc8bf98e6ab988bb0ed160fb6f
languageName: node
linkType: hard
"figures@npm:^1.3.5": "figures@npm:^1.3.5":
version: 1.7.0 version: 1.7.0
resolution: "figures@npm:1.7.0" resolution: "figures@npm:1.7.0"
@@ -3702,7 +3714,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7": "glob@npm:^10.2.2":
version: 10.4.5 version: 10.4.5
resolution: "glob@npm:10.4.5" resolution: "glob@npm:10.4.5"
dependencies: dependencies:
@@ -4888,12 +4900,11 @@ __metadata:
linkType: hard linkType: hard
"minizlib@npm:^3.0.1": "minizlib@npm:^3.0.1":
version: 3.0.1 version: 3.0.2
resolution: "minizlib@npm:3.0.1" resolution: "minizlib@npm:3.0.2"
dependencies: dependencies:
minipass: "npm:^7.0.4" minipass: "npm:^7.1.2"
rimraf: "npm:^5.0.5" checksum: 10c0/9f3bd35e41d40d02469cb30470c55ccc21cae0db40e08d1d0b1dff01cc8cc89a6f78e9c5d2b7c844e485ec0a8abc2238111213fdc5b2038e6d1012eacf316f78
checksum: 10c0/82f8bf70da8af656909a8ee299d7ed3b3372636749d29e105f97f20e88971be31f5ed7642f2e898f00283b68b701cc01307401cdc209b0efc5dd3818220e5093
languageName: node languageName: node
linkType: hard linkType: hard
@@ -4956,22 +4967,22 @@ __metadata:
linkType: hard linkType: hard
"node-gyp@npm:latest": "node-gyp@npm:latest":
version: 11.1.0 version: 11.2.0
resolution: "node-gyp@npm:11.1.0" resolution: "node-gyp@npm:11.2.0"
dependencies: dependencies:
env-paths: "npm:^2.2.0" env-paths: "npm:^2.2.0"
exponential-backoff: "npm:^3.1.1" exponential-backoff: "npm:^3.1.1"
glob: "npm:^10.3.10"
graceful-fs: "npm:^4.2.6" graceful-fs: "npm:^4.2.6"
make-fetch-happen: "npm:^14.0.3" make-fetch-happen: "npm:^14.0.3"
nopt: "npm:^8.0.0" nopt: "npm:^8.0.0"
proc-log: "npm:^5.0.0" proc-log: "npm:^5.0.0"
semver: "npm:^7.3.5" semver: "npm:^7.3.5"
tar: "npm:^7.4.3" tar: "npm:^7.4.3"
tinyglobby: "npm:^0.2.12"
which: "npm:^5.0.0" which: "npm:^5.0.0"
bin: bin:
node-gyp: bin/node-gyp.js node-gyp: bin/node-gyp.js
checksum: 10c0/c38977ce502f1ea41ba2b8721bd5b49bc3d5b3f813eabfac8414082faf0620ccb5211e15c4daecc23ed9f5e3e9cc4da00e575a0bcfc2a95a069294f2afa1e0cd checksum: 10c0/bd8d8c76b06be761239b0c8680f655f6a6e90b48e44d43415b11c16f7e8c15be346fba0cbf71588c7cdfb52c419d928a7d3db353afc1d952d19756237d8f10b9
languageName: node languageName: node
linkType: hard linkType: hard
@@ -5622,9 +5633,9 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"react-router@npm:^7.4.1": "react-router@npm:^7.5.0":
version: 7.4.1 version: 7.5.0
resolution: "react-router@npm:7.4.1" resolution: "react-router@npm:7.5.0"
dependencies: dependencies:
"@types/cookie": "npm:^0.6.0" "@types/cookie": "npm:^0.6.0"
cookie: "npm:^1.0.1" cookie: "npm:^1.0.1"
@@ -5636,7 +5647,7 @@ __metadata:
peerDependenciesMeta: peerDependenciesMeta:
react-dom: react-dom:
optional: true optional: true
checksum: 10c0/c501e46bf4e672f977250acb431ecfad120d7a0383bbb17e5c3276a1390c01d36bd36bd995c9dddca39ba3a8521be11295292595523d880ec11240fc5d74e637 checksum: 10c0/fc1b4ed3eeb615f40727b81dfab7469429a0b662bff5f91434966751d48ce4b470d9627dcbc93dad9b1a535a0f9bd1b2267d8ff88ca4e636535bcbfe7d76cea3
languageName: node languageName: node
linkType: hard linkType: hard
@@ -5840,17 +5851,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"rimraf@npm:^5.0.5":
version: 5.0.10
resolution: "rimraf@npm:5.0.10"
dependencies:
glob: "npm:^10.3.7"
bin:
rimraf: dist/esm/bin.mjs
checksum: 10c0/7da4fd0e15118ee05b918359462cfa1e7fe4b1228c7765195a45b55576e8c15b95db513b8466ec89129666f4af45ad978a3057a02139afba1a63512a2d9644cc
languageName: node
linkType: hard
"rollup-plugin-visualizer@npm:^5.14.0": "rollup-plugin-visualizer@npm:^5.14.0":
version: 5.14.0 version: 5.14.0
resolution: "rollup-plugin-visualizer@npm:5.14.0" resolution: "rollup-plugin-visualizer@npm:5.14.0"
@@ -5874,29 +5874,29 @@ __metadata:
linkType: hard linkType: hard
"rollup@npm:^4.30.1": "rollup@npm:^4.30.1":
version: 4.38.0 version: 4.39.0
resolution: "rollup@npm:4.38.0" resolution: "rollup@npm:4.39.0"
dependencies: dependencies:
"@rollup/rollup-android-arm-eabi": "npm:4.38.0" "@rollup/rollup-android-arm-eabi": "npm:4.39.0"
"@rollup/rollup-android-arm64": "npm:4.38.0" "@rollup/rollup-android-arm64": "npm:4.39.0"
"@rollup/rollup-darwin-arm64": "npm:4.38.0" "@rollup/rollup-darwin-arm64": "npm:4.39.0"
"@rollup/rollup-darwin-x64": "npm:4.38.0" "@rollup/rollup-darwin-x64": "npm:4.39.0"
"@rollup/rollup-freebsd-arm64": "npm:4.38.0" "@rollup/rollup-freebsd-arm64": "npm:4.39.0"
"@rollup/rollup-freebsd-x64": "npm:4.38.0" "@rollup/rollup-freebsd-x64": "npm:4.39.0"
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.38.0" "@rollup/rollup-linux-arm-gnueabihf": "npm:4.39.0"
"@rollup/rollup-linux-arm-musleabihf": "npm:4.38.0" "@rollup/rollup-linux-arm-musleabihf": "npm:4.39.0"
"@rollup/rollup-linux-arm64-gnu": "npm:4.38.0" "@rollup/rollup-linux-arm64-gnu": "npm:4.39.0"
"@rollup/rollup-linux-arm64-musl": "npm:4.38.0" "@rollup/rollup-linux-arm64-musl": "npm:4.39.0"
"@rollup/rollup-linux-loongarch64-gnu": "npm:4.38.0" "@rollup/rollup-linux-loongarch64-gnu": "npm:4.39.0"
"@rollup/rollup-linux-powerpc64le-gnu": "npm:4.38.0" "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.39.0"
"@rollup/rollup-linux-riscv64-gnu": "npm:4.38.0" "@rollup/rollup-linux-riscv64-gnu": "npm:4.39.0"
"@rollup/rollup-linux-riscv64-musl": "npm:4.38.0" "@rollup/rollup-linux-riscv64-musl": "npm:4.39.0"
"@rollup/rollup-linux-s390x-gnu": "npm:4.38.0" "@rollup/rollup-linux-s390x-gnu": "npm:4.39.0"
"@rollup/rollup-linux-x64-gnu": "npm:4.38.0" "@rollup/rollup-linux-x64-gnu": "npm:4.39.0"
"@rollup/rollup-linux-x64-musl": "npm:4.38.0" "@rollup/rollup-linux-x64-musl": "npm:4.39.0"
"@rollup/rollup-win32-arm64-msvc": "npm:4.38.0" "@rollup/rollup-win32-arm64-msvc": "npm:4.39.0"
"@rollup/rollup-win32-ia32-msvc": "npm:4.38.0" "@rollup/rollup-win32-ia32-msvc": "npm:4.39.0"
"@rollup/rollup-win32-x64-msvc": "npm:4.38.0" "@rollup/rollup-win32-x64-msvc": "npm:4.39.0"
"@types/estree": "npm:1.0.7" "@types/estree": "npm:1.0.7"
fsevents: "npm:~2.3.2" fsevents: "npm:~2.3.2"
dependenciesMeta: dependenciesMeta:
@@ -5944,7 +5944,7 @@ __metadata:
optional: true optional: true
bin: bin:
rollup: dist/bin/rollup rollup: dist/bin/rollup
checksum: 10c0/931a6d3bf34fa13adec44a8660319bb7b2f61fbabbf2030f4d29df991fb37b6a685cd7dc203fde8d4ab8b4fe783f1fe8814e448a97f651dc4727511faf958cb4 checksum: 10c0/2dc0c23ca04bd00295035b405c977261559aed8acc9902ee9ff44e4a6b54734fcb64999c32143c43804dcb543da7983032831b893a902633b006c21848a093ce
languageName: node languageName: node
linkType: hard linkType: hard
@@ -6554,6 +6554,16 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"tinyglobby@npm:^0.2.12":
version: 0.2.12
resolution: "tinyglobby@npm:0.2.12"
dependencies:
fdir: "npm:^6.4.3"
picomatch: "npm:^4.0.2"
checksum: 10c0/7c9be4fd3625630e262dcb19015302aad3b4ba7fc620f269313e688f2161ea8724d6cb4444baab5ef2826eb6bed72647b169a33ec8eea37501832a2526ff540f
languageName: node
linkType: hard
"to-buffer@npm:^1.1.1": "to-buffer@npm:^1.1.1":
version: 1.1.1 version: 1.1.1
resolution: "to-buffer@npm:1.1.1" resolution: "to-buffer@npm:1.1.1"
@@ -6682,23 +6692,23 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"typescript@npm:^5.8.2": "typescript@npm:^5.8.3":
version: 5.8.2 version: 5.8.3
resolution: "typescript@npm:5.8.2" resolution: "typescript@npm:5.8.3"
bin: bin:
tsc: bin/tsc tsc: bin/tsc
tsserver: bin/tsserver tsserver: bin/tsserver
checksum: 10c0/5c4f6fbf1c6389b6928fe7b8fcd5dc73bb2d58cd4e3883f1d774ed5bd83b151cbac6b7ecf11723de56d4676daeba8713894b1e9af56174f2f9780ae7848ec3c6 checksum: 10c0/5f8bb01196e542e64d44db3d16ee0e4063ce4f3e3966df6005f2588e86d91c03e1fb131c2581baf0fb65ee79669eea6e161cd448178986587e9f6844446dbb48
languageName: node languageName: node
linkType: hard linkType: hard
"typescript@patch:typescript@npm%3A^5.8.2#optional!builtin<compat/typescript>": "typescript@patch:typescript@npm%3A^5.8.3#optional!builtin<compat/typescript>":
version: 5.8.2 version: 5.8.3
resolution: "typescript@patch:typescript@npm%3A5.8.2#optional!builtin<compat/typescript>::version=5.8.2&hash=5786d5" resolution: "typescript@patch:typescript@npm%3A5.8.3#optional!builtin<compat/typescript>::version=5.8.3&hash=5786d5"
bin: bin:
tsc: bin/tsc tsc: bin/tsc
tsserver: bin/tsserver tsserver: bin/tsserver
checksum: 10c0/5448a08e595cc558ab321e49d4cac64fb43d1fa106584f6ff9a8d8e592111b373a995a1d5c7f3046211c8a37201eb6d0f1566f15cdb7a62a5e3be01d087848e2 checksum: 10c0/39117e346ff8ebd87ae1510b3a77d5d92dae5a89bde588c747d25da5c146603a99c8ee588c7ef80faaf123d89ed46f6dbd918d534d641083177d5fac38b8a1cb
languageName: node languageName: node
linkType: hard linkType: hard
@@ -6712,13 +6722,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"undici-types@npm:~6.20.0":
version: 6.20.0
resolution: "undici-types@npm:6.20.0"
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
languageName: node
linkType: hard
"undici-types@npm:~6.21.0": "undici-types@npm:~6.21.0":
version: 6.21.0 version: 6.21.0
resolution: "undici-types@npm:6.21.0" resolution: "undici-types@npm:6.21.0"

View File

@@ -112,14 +112,14 @@ let system_status = {
status: 3 status: 3
}; };
// Testing Versioning // Test Versioning
let DEV_VERSION_IS_UPGRADEABLE: boolean; let DEV_VERSION_IS_UPGRADEABLE: boolean;
let STABLE_VERSION_IS_UPGRADEABLE: boolean; let STABLE_VERSION_IS_UPGRADEABLE: boolean;
let THIS_VERSION: string; let THIS_VERSION: string;
let version_test: number; let version_test: number;
let LATEST_STABLE_VERSION = '3.7.2'; let LATEST_STABLE_VERSION = '3.7.2';
let LATEST_DEV_VERSION = '3.7.3-dev.3'; let LATEST_DEV_VERSION = '3.7.3-dev.6';
// scenarios for testing versioning // scenarios for testing versioning
version_test = 0; // on latest stable, can switch to dev only version_test = 0; // on latest stable, can switch to dev only
@@ -158,10 +158,12 @@ switch (version_test as number) {
// set the version // set the version
system_status.emsesp_version = THIS_VERSION; system_status.emsesp_version = THIS_VERSION;
const emulate_esp = 'ESP32S3'; let emulate_esp: string;
// const emulate_esp = 'ESP32';
switch (emulate_esp as string) { emulate_esp = 'ESP32S3';
// emulate_esp = 'ESP32';
switch (emulate_esp) {
// ESP32 4MB // ESP32 4MB
case 'ESP32': case 'ESP32':
system_status.esp_platform = 'ESP32'; system_status.esp_platform = 'ESP32';
@@ -269,10 +271,10 @@ function updateMask(entity: any, de: any, dd: any) {
const old_custom_name = dd.nodes[dd_objIndex].cn; const old_custom_name = dd.nodes[dd_objIndex].cn;
console.log( console.log(
'comparing names, old (' + 'comparing names, old (' +
old_custom_name + old_custom_name +
') with new (' + ') with new (' +
new_custom_name + new_custom_name +
')' ')'
); );
if (old_custom_name !== new_custom_name) { if (old_custom_name !== new_custom_name) {
changed = true; changed = true;
@@ -367,16 +369,16 @@ function check_upgrade(version: string) {
const stable_version = version.split(',')[1]; const stable_version = version.split(',')[1];
console.log( console.log(
'Version upgrade check. This version (' + 'Upgrade this version (' +
THIS_VERSION + THIS_VERSION +
') to dev (' + ') to dev (' +
dev_version + dev_version +
') is ' + ') is ' +
(DEV_VERSION_IS_UPGRADEABLE ? 'YES' : 'NO') + (DEV_VERSION_IS_UPGRADEABLE ? 'YES' : 'NO') +
' and to stable (' + ' and to stable (' +
stable_version + stable_version +
') is ' + ') is ' +
(STABLE_VERSION_IS_UPGRADEABLE ? 'YES' : 'NO') (STABLE_VERSION_IS_UPGRADEABLE ? 'YES' : 'NO')
); );
data = { data = {
emsesp_version: THIS_VERSION, emsesp_version: THIS_VERSION,