UNPKG

mock-socket

Version:

Javascript mocking library for websockets and socket.io

50 lines (29 loc) 2.2 kB
# Mock Socket Changelog ### v9.1.2 (January 25th, 2022) - [#352](https://github.com/thoov/mock-socket/pull/352) fix SocketIO types ### v9.1.1 (January 25th, 2022) - [#351](https://github.com/thoov/mock-socket/pull/351) add types for SocketIO ### v9.1.0 (January 13th, 2022) - [#348](https://github.com/thoov/mock-socket/pull/348) [BUGFIX] Address misspelling of cancelBuble - [#349](https://github.com/thoov/mock-socket/pull/349) add mock options param to prevent stubbing global ### v9.0.8 (November 15th, 2021) - [#343](https://github.com/thoov/mock-socket/pull/343) trim query params for attachServer method lookup - [#335](https://github.com/thoov/mock-socket/pull/335) Update type of url parameter of websocket constructor ### v9.0.7 (November 1st, 2021) - [#342](https://github.com/thoov/mock-socket/pull/342) Accessing to websocket proxy via server clients ### v9.0.6 (October 18th, 2021) - [#338](https://github.com/thoov/mock-socket/pull/338) [BUGFIX] Use default codes for close event - [#340](https://github.com/thoov/mock-socket/pull/340) Build optimisations ### v9.0.5 (September 30th, 2021) - [#312](https://github.com/thoov/mock-socket/pull/312) [BUGFIX] Fix null pointer exceptions - [#296](https://github.com/thoov/mock-socket/pull/296) [BUGFIX] Add the hasListeners method to client socket - [#314](https://github.com/thoov/mock-socket/pull/314), \#316, \#318, \#321, \#323, \#330, \#331, \#332 Bump versions - [#336](https://github.com/thoov/mock-socket/pull/336) Remove src folder from npm ### v9.0.4 (September 27th, 2021) - [#240](https://github.com/thoov/mock-socket/pull/240) [BUGFIX] Fixed undefined readyState for WebSockets after closing connection in Server - [#328](https://github.com/thoov/mock-socket/pull/328) [BUGFIX] Use native typed arguments for WebSocket event handlers ### v9.0.2 (October 9th, 2019) - [#285](https://github.com/thoov/mock-socket/pull/285) [BUGFIX] Removing .git directory from npm package + cleanup ### v9.0.1 (October 5th, 2019) - [#281](https://github.com/thoov/mock-socket/pull/281) [BUGFIX] Updating the workflow - [#276](https://github.com/thoov/mock-socket/pull/276) [BUGFIX] Export ES Module format with .mjs extension