chore(release): 4.0.1

Diff: https://github.com/socketio/socket.io-client/compare/4.0.0...4.0.1
This commit is contained in:
Damien Arrachequesne
2021-04-01 01:07:04 +02:00
parent 86f28c3204
commit 2edf0f308c
9 changed files with 24 additions and 11 deletions

View File

@@ -1,3 +1,12 @@
## [4.0.1](https://github.com/socketio/socket.io-client/compare/4.0.0...4.0.1) (2021-03-31)
### Bug Fixes
* **typings:** make `auth` property public ([#1455](https://github.com/socketio/socket.io-client/issues/1455)) ([c150223](https://github.com/socketio/socket.io-client/commit/c15022347c662dc31ee0a3d89cde23641f029783))
* **typings:** update definition to match wrapper.mjs ([#1456](https://github.com/socketio/socket.io-client/issues/1456)) ([48f573f](https://github.com/socketio/socket.io-client/commit/48f573f6f6c4d542e6a098e7f4ae472b888b5664))
# [4.0.0](https://github.com/socketio/socket.io-client/compare/3.1.2...4.0.0) (2021-03-10)
The major bump is due to some breaking changes on the server side.

8
dist/socket.io.js vendored
View File

@@ -1,5 +1,5 @@
/*!
* Socket.IO v4.0.0
* Socket.IO v4.0.1
* (c) 2014-2021 Guillermo Rauch
* Released under the MIT License.
*/
@@ -215,6 +215,7 @@ Object.defineProperty(exports, "Manager", {
return manager_2.Manager;
}
});
exports["default"] = lookup;
/***/ }),
@@ -3216,6 +3217,8 @@ var parser = __webpack_require__(/*! engine.io-parser */ "./node_modules/engine.
var Emitter = __webpack_require__(/*! component-emitter */ "./node_modules/component-emitter/index.js");
var debug = __webpack_require__(/*! debug */ "./node_modules/debug/src/browser.js")("engine.io-client:transport");
var Transport = /*#__PURE__*/function (_Emitter) {
_inherits(Transport, _Emitter);
@@ -3302,7 +3305,8 @@ var Transport = /*#__PURE__*/function (_Emitter) {
if ("open" === this.readyState) {
this.write(packets);
} else {
throw new Error("Transport not open");
// this might happen if the transport was silently closed in the beforeunload event handler
debug("transport is not open, discarding packets");
}
}
/**

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "socket.io-client",
"version": "4.0.0",
"version": "4.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "socket.io-client",
"version": "4.0.0",
"version": "4.0.1",
"keywords": [
"realtime",
"framework",