From bd3a1cc3a2785984b2db1020669b128ebe952785 Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Tue, 2 Mar 2021 09:43:06 +0100 Subject: [PATCH] chore(release): 3.5.1 Diff: https://github.com/socketio/engine.io-client/compare/3.5.0...3.5.1 --- CHANGELOG.md | 8 ++++++++ engine.io.js | 12 ++++++------ package-lock.json | 2 +- package.json | 2 +- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e274e21a..747e1bb23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [3.5.1](https://github.com/socketio/engine.io-client/compare/3.5.0...3.5.1) (2021-03-02) + + +### Bug Fixes + +* replace default nulls in SSL options with undefineds ([d0c551c](https://github.com/socketio/engine.io-client/commit/d0c551cca1e37301e8b28843c8f6e7ad5cf561d3)) + + # [3.5.0](https://github.com/socketio/engine.io-client/compare/3.4.4...3.5.0) (2020-12-30) diff --git a/engine.io.js b/engine.io.js index da4ba26fa..1a3e81dad 100644 --- a/engine.io.js +++ b/engine.io.js @@ -158,12 +158,12 @@ return /******/ (function(modules) { // webpackBootstrap } // SSL options for Node.js client - this.pfx = opts.pfx || null; - this.key = opts.key || null; - this.passphrase = opts.passphrase || null; - this.cert = opts.cert || null; - this.ca = opts.ca || null; - this.ciphers = opts.ciphers || null; + this.pfx = opts.pfx || undefined; + this.key = opts.key || undefined; + this.passphrase = opts.passphrase || undefined; + this.cert = opts.cert || undefined; + this.ca = opts.ca || undefined; + this.ciphers = opts.ciphers || undefined; this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? true : opts.rejectUnauthorized; this.forceNode = !!opts.forceNode; diff --git a/package-lock.json b/package-lock.json index 48e56c491..ed075e77a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "engine.io-client", - "version": "3.5.0", + "version": "3.5.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index de22ac875..8870555d2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "engine.io-client", "description": "Client for the realtime Engine", "license": "MIT", - "version": "3.5.0", + "version": "3.5.1", "main": "lib/index.js", "homepage": "https://github.com/socketio/engine.io-client", "contributors": [