fix: List optional peer dependencies #1626
Listing packages mentioned in https://github.com/websockets/ws#opt-in-for-performance-and-spec-compliance as optional peer dependencies.
I'm currently not using this feature myself until node bundles
Yeah I can't help you with deciding what strategy to use since I only encountered this package as a transitive dependency.
Heard this fairly often but IMO I'd rather have a warning (with a fix by upgrading the package manager) that does no harm instead of a dependency tree that is potentially broken. Especially with the amount of dependencies in the JS ecosystem you do not want to debug your dependency tree ever. That's what package managers are for but they require information from the packages.