Skip to content

Commit 60e4cbc

Browse files
committed
Rollback whatwg-mimetype dep version
1 parent 8a4e726 commit 60e4cbc

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"react-device-detect": "^2.2.3",
2323
"react-dom": "^19.2.4",
2424
"styled-components": "^6.3.11",
25-
"whatwg-mimetype": "^5.0.0"
25+
"whatwg-mimetype": "^3.0.0"
2626
},
2727
"devDependencies": {
2828
"@eslint/js": "^10.0.1",

src/util/storage.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export async function loadFromBytebin(id: string): Promise<LoadResult> {
3131
} else {
3232
return { ok: false };
3333
}
34-
} catch {
34+
} catch (e) {
35+
console.error(e);
3536
return { ok: false };
3637
}
3738
}
@@ -59,7 +60,7 @@ export async function saveToBytebin(
5960
return json.key;
6061
}
6162
} catch (e) {
62-
console.log(e);
63+
console.error(e);
6364
}
6465
return null;
6566
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,10 +1585,10 @@ vite@^7.3.1:
15851585
optionalDependencies:
15861586
fsevents "~2.3.3"
15871587

1588-
whatwg-mimetype@^5.0.0:
1589-
version "5.0.0"
1590-
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-5.0.0.tgz#d8232895dbd527ceaee74efd4162008fb8a8cf48"
1591-
integrity sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==
1588+
whatwg-mimetype@^3.0.0:
1589+
version "3.0.0"
1590+
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz#5fa1a7623867ff1af6ca3dc72ad6b8a4208beba7"
1591+
integrity sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==
15921592

15931593
which@^2.0.1:
15941594
version "2.0.2"

0 commit comments

Comments
 (0)