Skip to content

Should libraries using Undici ship Undici as peerDependency or dependency #3936

Answered by metcoder95
semoal asked this question in Q&A
Discussion options

You must be logged in to vote

If your library is a direct dependent of undici, the best is to set it as direct dependency. Specially if you are attempting to make usage of v7 which installers can/cannot be willing to set it to that version if they are already using undici.

v7 should be totally fine as is marked as the new current version for the library.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@semoal
Comment options

Answer selected by semoal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants