Rollback whatwg-mimetype dep version

This commit is contained in:
Luck
2026-02-26 21:50:44 +00:00
parent 8a4e72603c
commit 60e4cbc4ed
3 changed files with 8 additions and 7 deletions

View File

@@ -22,7 +22,7 @@
"react-device-detect": "^2.2.3",
"react-dom": "^19.2.4",
"styled-components": "^6.3.11",
"whatwg-mimetype": "^5.0.0"
"whatwg-mimetype": "^3.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",

View File

@@ -31,7 +31,8 @@ export async function loadFromBytebin(id: string): Promise<LoadResult> {
} else {
return { ok: false };
}
} catch {
} catch (e) {
console.error(e);
return { ok: false };
}
}
@@ -59,7 +60,7 @@ export async function saveToBytebin(
return json.key;
}
} catch (e) {
console.log(e);
console.error(e);
}
return null;
}

View File

@@ -1585,10 +1585,10 @@ vite@^7.3.1:
optionalDependencies:
fsevents "~2.3.3"
whatwg-mimetype@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-5.0.0.tgz#d8232895dbd527ceaee74efd4162008fb8a8cf48"
integrity sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==
whatwg-mimetype@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz#5fa1a7623867ff1af6ca3dc72ad6b8a4208beba7"
integrity sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==
which@^2.0.1:
version "2.0.2"