Sourced from ws's releases.
7.5.0
Features
- Some errors now have a
codeproperty describing the specific type of error that has occurred (https://github.com/facebook/flipper/issues/1901).Bug fixes
- A close frame is now sent to the remote peer if an error (such as a data framing error) occurs (8806aa9a).
- The close code is now always 1006 if no close frame is received, even if the connection is closed due to an error (8806aa9a).
e3f0c17 [dist] 7.5.01d3f4cb [doc] Fix anchor tags for error codes6eea0d4 [doc] Fix typobb5d44b [doc] Sort error codes alphabeticallyc6e3080 [minor] Attach error codes to all receiver errors (https://github.com/facebook/flipper/issues/1901)074e6a8 [fix] Don't call ws.terminate() unconditionally in duplex._destroy()8806aa9 [fix] Close the connection cleanly when an error occurs05b8ccd [doc] Fix broken link (https://github.com/facebook/flipper/issues/1897)03a7078 [doc] Remove unsafe regex from code snippet7ee3115 [doc] Add logo to coverage badge