Skip to content

Commit bed6da6

Browse files
[chore] Release 3.2.0
1 parent 8cde767 commit bed6da6

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

engine.io.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,11 +1302,9 @@ return /******/ (function(modules) { // webpackBootstrap
13021302
contentType = this.xhr.getResponseHeader('Content-Type');
13031303
} catch (e) {}
13041304
if (contentType === 'application/octet-stream') {
1305-
if (this.xhr.responseType === 'arraybuffer') {
1306-
data = this.xhr.response || this.xhr.responseText;
1307-
} else {
1308-
data = String.fromCharCode.apply(null, new Uint8Array(this.xhr.response));
1309-
}
1305+
data = this.xhr.response || this.xhr.responseText;
1306+
} else if (this.xhr.responseType === 'arraybuffer') {
1307+
data = String.fromCharCode.apply(null, new Uint8Array(this.xhr.response));
13101308
} else {
13111309
data = this.xhr.responseText;
13121310
}

package.json

Lines changed: 2 additions & 2 deletions
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.1.5",
5+
"version": "3.2.0",
66
"main": "lib/index.js",
77
"homepage": "https://github.com/socketio/engine.io-client",
88
"contributors": [
@@ -45,7 +45,7 @@
4545
"concat-stream": "^1.6.0",
4646
"del": "^2.2.2",
4747
"derequire": "^2.0.6",
48-
"engine.io": "3.1.5",
48+
"engine.io": "3.2.0",
4949
"eslint-config-standard": "4.4.0",
5050
"eslint-plugin-standard": "1.3.1",
5151
"expect.js": "^0.3.1",

0 commit comments

Comments
 (0)