drop node-fetch dependency, use undici

undici's fetch implementation is included in node and has been considered stable since version 21.
for some time I think depending on the undici package instead of the built-in is a good idea so that older nodejs versions will still work correctly.
This commit is contained in:
hazycora
2024-07-30 14:43:25 -04:00
committed by hazel
parent ac1fcc1a44
commit d7ceecb8a5
7 changed files with 26 additions and 66 deletions

View File

@@ -37,7 +37,7 @@
"blowfish-cbc": "^1.0.1",
"image-size": "^1.1.1",
"librespot": "^0.2.4",
"node-fetch": "^3.3.2",
"undici": "^6.19.4",
"xmldom-qsa": "^1.1.3"
},
"devDependencies": {