Skip to content

Releases: relaycorp/ws-mock-js

v5.2.3

09 Feb 20:45
a9f8a73
Compare
Choose a tag to compare

5.2.3 (2023-02-09)

Bug Fixes

  • deps: bump minimatch from 3.0.4 to 3.1.2 (#157) (66e00d0)

v5.2.2

23 Jun 06:39
12c70c5
Compare
Choose a tag to compare

5.2.2 (2022-06-23)

Bug Fixes

v5.2.1

14 Jun 13:38
Compare
Choose a tag to compare

5.2.1 (2022-06-14)

Bug Fixes

  • MockPeer: Allow close() reason to be string (0146fc3)

v5.2.0

13 Jun 15:15
Compare
Choose a tag to compare

5.2.0 (2022-06-13)

Bug Fixes

  • Allow close reason to be string too (37c77b5)
  • MockWebSocket: Prevent ERR_STREAM_PREMATURE_CLOSE on Node.js 18+ (2e2f02b)

Features

  • MockServer: Revert wrapping of client/server errors in .use() (ad79fdd)

v5.1.0

13 Jun 14:06
Compare
Choose a tag to compare

5.1.0 (2022-06-13)

Features

  • MockServer: Distinguish client vs server errors in .use() (48915e9)

v5.0.1

28 Mar 04:15
a1c772d
Compare
Choose a tag to compare

5.0.1 (2022-03-28)

Bug Fixes

  • deps: bump minimist from 1.2.5 to 1.2.6 (#125) (a1c772d)

v5.0.0

16 Mar 12:32
Compare
Choose a tag to compare

5.0.0 (2022-03-16)

Bug Fixes

  • Make close reason a Buffer instead of a string (d9e3eb3)

BREAKING CHANGES

  • Calls to MockServer.close() and MockClient.close() must now pass the reason as a buffer, if a reason is passed.

v4.2.0

11 Aug 10:49
Compare
Choose a tag to compare

4.2.0 (2021-08-11)

Features

  • Implement closing handshake (3be8f92)

v4.1.2

10 Aug 17:45
Compare
Choose a tag to compare

4.1.2 (2021-08-10)

Bug Fixes

  • MockPeer: Close peer when aborting (73b28e0)

v4.1.1

10 Aug 16:59
Compare
Choose a tag to compare

4.1.1 (2021-08-10)

Bug Fixes

  • MockWebSocket: Catch unhandled exceptions in .use() (5245f90)