Skip to content

Commit 1cfae04

Browse files
Merge pull request #478 from doug-wade/fix-nsp-120
Bump ws to 1.1.1
2 parents 9f90ee8 + 0234899 commit 1cfae04

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

engine.io.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ JSONPPolling.prototype.doPoll = function () {
11051105
this.script = script;
11061106

11071107
var isUAgecko = 'undefined' != typeof navigator && /gecko/i.test(navigator.userAgent);
1108-
1108+
11091109
if (isUAgecko) {
11101110
setTimeout(function () {
11111111
var iframe = document.createElement('iframe');
@@ -1976,7 +1976,7 @@ WS.prototype.doOpen = function(){
19761976

19771977
if (this.ws.supports && this.ws.supports.binary) {
19781978
this.supportsBinary = true;
1979-
this.ws.binaryType = 'buffer';
1979+
this.ws.binaryType = 'nodebuffer';
19801980
} else {
19811981
this.ws.binaryType = 'arraybuffer';
19821982
}

lib/transports/websocket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ WS.prototype.doOpen = function () {
104104

105105
if (this.ws.supports && this.ws.supports.binary) {
106106
this.supportsBinary = true;
107-
this.ws.binaryType = 'buffer';
107+
this.ws.binaryType = 'nodebuffer';
108108
} else {
109109
this.ws.binaryType = 'arraybuffer';
110110
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"parsejson": "0.0.1",
3333
"parseqs": "0.0.2",
3434
"parseuri": "0.0.4",
35-
"ws": "1.0.1",
35+
"ws": "1.1.1",
3636
"xmlhttprequest-ssl": "1.5.1",
3737
"yeast": "0.1.2"
3838
},

0 commit comments

Comments
 (0)