Skip to content

Releases: thoov/mock-socket

Min node v8

29 Jul 18:37
a8fa75f
Compare
Choose a tag to compare

Dropping node 6 and adding node 12

Revert node version change

29 Jul 18:29
cc6ad45
Compare
Choose a tag to compare

Reverting the node change as that should be a major version bump

8.1.0

24 Jul 07:34
cd94a51
Compare
Choose a tag to compare
  • Dropping node 6 support
  • Adding node 12 support
  • Updating internal dependencies
  • Ignore query parameters when attaching a websocket #271

Fix cannot find name 'USVString' in Typescript

30 Oct 06:29
7b25a41
Compare
Choose a tag to compare
8.0.5

[CHORE] Version bump to 8.0.5 (#239)

More typescript improvements

08 Oct 21:29
55078e6
Compare
Choose a tag to compare
8.0.3

[CHORE] Version bump to 8.0.3 (#234)

Typescript improvements

26 Jul 05:57
3645497
Compare
Choose a tag to compare

Typescript + Under the hood improvements

05 Jul 19:48
3a8dfec
Compare
Choose a tag to compare

This release contains some under the hood improvements to better align itself with the spec. It also includes a typescript definition file, and bug fixes.

API breaking change:

const mockServer = new Server('ws://localhost:8080');
mockServer.on('connection', socket => {
  // the first argument is now a socket reference instead of the server instance.
  // this now allows you to send directly to the individual socket that connected.
  socket.send('test message 1');
});

7.1.0

15 Feb 00:03
Compare
Choose a tag to compare

#184 Add simulate method for errors
#182 Fix typo

6.1.0

23 May 06:49
Compare
Choose a tag to compare

Fixes:

#157: websocket onmessage fired before onopen
#160: Socket doesn't have to function

6.0.4

14 Apr 19:53
Compare
Choose a tag to compare

Removing debugger from dist file