zyrouge / node-genius-lyrics

Simple lyrics fetcher that uses Genius. Also has official API implementations.
https://genius-lyrics.js.org
MIT License
63 stars 12 forks source link

Require undici as a peer dependency or allow a wider range of versions #53

Open nukeop opened 2 months ago

nukeop commented 2 months ago

I'm running into this error with undici@6: https://github.com/nodejs/undici/discussions/3010

I saw this previously with @distube/ytdl-core and the maintainer kindly decided to downgrade this library: https://github.com/distubejs/ytdl-core/commit/bcad6a838d0a4c0747b8434dc65fbf6b12c50439

Another way to mitigate this would be to treat it as a peer dependency, or at least allow version 5 (if there are no compatibility issues). Would you be willing to do this?