Skip to content

Commit bd3a1cc

Browse files
chore(release): 3.5.1
Diff: 3.5.0...3.5.1
1 parent d0c551c commit bd3a1cc

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## [3.5.1](https://github.com/socketio/engine.io-client/compare/3.5.0...3.5.1) (2021-03-02)
2+
3+
4+
### Bug Fixes
5+
6+
* replace default nulls in SSL options with undefineds ([d0c551c](https://github.com/socketio/engine.io-client/commit/d0c551cca1e37301e8b28843c8f6e7ad5cf561d3))
7+
8+
19
# [3.5.0](https://github.com/socketio/engine.io-client/compare/3.4.4...3.5.0) (2020-12-30)
210

311

engine.io.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@ return /******/ (function(modules) { // webpackBootstrap
158158
}
159159

160160
// SSL options for Node.js client
161-
this.pfx = opts.pfx || null;
162-
this.key = opts.key || null;
163-
this.passphrase = opts.passphrase || null;
164-
this.cert = opts.cert || null;
165-
this.ca = opts.ca || null;
166-
this.ciphers = opts.ciphers || null;
161+
this.pfx = opts.pfx || undefined;
162+
this.key = opts.key || undefined;
163+
this.passphrase = opts.passphrase || undefined;
164+
this.cert = opts.cert || undefined;
165+
this.ca = opts.ca || undefined;
166+
this.ciphers = opts.ciphers || undefined;
167167
this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? true : opts.rejectUnauthorized;
168168
this.forceNode = !!opts.forceNode;
169169

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "engine.io-client",
33
"description": "Client for the realtime Engine",
44
"license": "MIT",
5-
"version": "3.5.0",
5+
"version": "3.5.1",
66
"main": "lib/index.js",
77
"homepage": "https://github.com/socketio/engine.io-client",
88
"contributors": [

0 commit comments

Comments
 (0)