You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am very sorry to raise such an issue (I know its often pretty frustrating as a maintainer to have someone else tell me about "semver violations"), please understand that I am only reporting because I would also want to be aware of issues that consumers of my packages are facing.
The ws updated landed in #587 was a breaking change and releasing that updated as 3.4.0 means existing consumers that still support Node 6 environments are now broken. Since ws@7 drops support for Node 6 (for example, it uses object rest/spread), any Node 6 consumers that had been using ^3.3.1 (which worked fine) will now get 3.4.0 and receive errors when ws's lib/websocket.js is required.
Thank you for your time (and again, I apologize for the distasteful issue).
Also ran into this issue. Clearly stating this minimum version requirement with the engines property in package.json would be appreciated so that one would know about it at the time of installing the package rather than finding out when running the code.
Activity
nitbaby commentedon Sep 25, 2019
Thanks for raising this issue. We are also stuck due to this
Pin engine.io subdependency to avoid local test issues on Node 6
nsgundy commentedon Nov 13, 2019
Also ran into this issue. Clearly stating this minimum version requirement with the
enginesproperty inpackage.jsonwould be appreciated so that one would know about it at the time of installing the package rather than finding out when running the code.chore: add minimum version requirement in the package.json file
darrachequesne commentedon Apr 15, 2020
Arf, sorry for that... I added the
enginesproperty in the package.json file in both master and 3.4.x branches, in order not to reproduce the error.darrachequesne commentedon Apr 15, 2020
Closing now, as I don't think we can do anything else.