Damien Arrachequesne
e8cd8c0d6c
build: transpile the debug dependency with Babel
...
a967626a1d has broken
the build for IE and android 5.1
Related: https://github.com/visionmedia/debug/issues/668
2019-09-13 13:36:33 +02:00
Christopher
fd7fff252d
[fix] Ensure valid status is passed to error handler ( #622 )
...
Closes https://github.com/socketio/engine.io-client/issues/621
2019-09-13 11:59:51 +02:00
Nubami SQReder
226626921d
[feat] Support extra charset info in Content-Type header ( #619 )
...
XHR Polling failed to make handshake with server that adds charset info into Content-Type header.
Closes https://github.com/socketio/engine.io-client/issues/618
2019-09-13 11:58:24 +02:00
Jake Barnes
2847411dd0
[feat] Add withCredentials option ( #614 )
...
withCredentials was always set to true, despite the browser default being false, and can now be overridden.
Closes https://github.com/socketio/engine.io-client/issues/495
2019-09-13 11:56:36 +02:00
Szymon Lesisz
0eeaa7a927
[fix] fix NodeWebSocket declaration ( #613 )
...
NodeWebSocket was be required ONLY if global variables self and WebSocket were not defined.
Closes https://github.com/socketio/engine.io-client/issues/609
2019-09-13 11:53:59 +02:00
Dimitar Nestorov
242ea9edea
[chore] Bump debug to version 4.1.0 ( #612 )
2019-09-13 11:52:16 +02:00
Damien Arrachequesne
bc8c4978ca
[ci] use Node.js 10 for compatibility with Gulp v3
...
It seems Node.js 12 (which is now 'latest') does not work with Gulp v3. In the future, we will
either have to migrate to Gulp v4, or remove Gulp from the build system.
See https://github.com/gulpjs/gulp/issues/2324
2019-09-13 11:34:45 +02:00
Yosi Attias
c471e03e09
[chore] Bump ws to latest version ( #587 )
2019-09-13 11:24:48 +02:00
Brian Kopp
c144895133
[feat] add additional debug messages ( #586 )
...
These additional messages will help more quickly diagnose the reason for error messages.
2019-09-13 11:21:37 +02:00
Dimitar Nestorov
a967626a1d
[chore] Bump debug to version 4.1.0 ( #581 )
2019-09-13 11:19:02 +02:00
Damien Arrachequesne
f1ce1abdbb
[chore] Release 2.2.0
...
Diff: https://github.com/socketio/engine.io-parser/compare/2.1.3...2.2.0
2019-09-13 11:06:09 +02:00
Gaubee
47893e1145
[perf] use Buffer.from instead of manually copying the ArrayBuffer ( #108 )
...
Ref: https://nodejs.org/docs/latest/api/buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length
2019-09-13 11:01:01 +02:00
Matthias Ludwig
72f7463be9
[test] fix a typo in the tests ( #111 )
...
should encode payloads as string: there is no type 'post'.
2019-09-13 10:50:31 +02:00
Matthias Ludwig
e9a20cb1ca
[test] ensure the message packet is properly coerced to string ( #110 )
...
result is string '1' not number1
2019-09-13 10:49:08 +02:00
Damien Arrachequesne
5bbbfe2411
[ci] remove Node.js 4 and 6 from the build matrix
...
We keep Node.js 9 for compatibility with the 'uws' dependency (as Node.js 10 fails), but we'll
upgrade later.
2019-09-13 10:34:57 +02:00
Oliver Salzburg
ad844f4b32
[fix] Deprecated Buffer usage in dependency ( #585 )
...
The `Buffer` constructor has been deprecated in favor of safer alternatives.
See https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/
This was fixed in base64id@2.0.0
2019-06-18 08:51:50 +02:00
vendethiel
6bd7817e8a
Remove bower, update history, release 1.3.0
2019-04-15 22:41:56 +02:00
vendethiel
3ab04d399d
update nodejs versions for travis
2019-04-15 22:35:47 +02:00
ven
6ef9d2cda2
Merge pull request #73 from STRML/noDeopt
...
Prevent v8 deopt when using [].slice.call(arguments)
2019-04-09 15:29:01 +02:00
Damien Arrachequesne
569759fc8c
[perf] Add a benchmark for encoding / decoding
2019-03-19 23:56:03 +01:00
Damien Arrachequesne
df387fc593
[chore] Update Makefile
2019-03-19 23:56:03 +01:00
Damien Arrachequesne
aedf8eb29e
[refactor] Use Buffer.allocUnsafe instead of new Buffer ( #104 )
...
Breaking change: drop support for Node.js 4 (since Buffer.allocUnsafe was added in v5.10.0)
Reference: https://nodejs.org/docs/latest/api/buffer.html#buffer_class_method_buffer_allocunsafe_size
2019-03-19 23:56:03 +01:00
Grant Timmerman
9c1e73c752
[chore] Update the license of the chat example ( #3410 )
...
There was no obvious reason to use BSD instead of MIT for that very basic chat app.
Closes #3411
2019-03-15 22:22:22 +01:00
Damien Arrachequesne
57f9d457d5
[chore] Release 3.3.2
2019-01-20 22:59:42 +01:00
Damien Arrachequesne
e157aacbe7
[test] IE8 is no longer supported by Saucelabs
...
Ref: https://wiki.saucelabs.com/display/DOCS/2018/10/16/Announcing+End+of+Life+for+Internet+Explorer+8+on+Windows+7
2019-01-20 22:58:39 +01:00
Ben James
1ec53d424d
[fix] Fix Websocket implementation in React Native ( #607 )
...
As `self` is undefined in React Native.
2019-01-20 22:34:30 +01:00
Damien Arrachequesne
cb0ac6fddc
[chore] Release 3.3.2
2018-11-29 22:51:12 +01:00
Damien Arrachequesne
ec4e12a063
[revert] Allow configuration of Access-Control-Allow-Origin value ( #511 )
...
This reverts commit ebf1a96f42 .
Related: https://github.com/socketio/socket.io/issues/3381
2018-11-29 22:49:34 +01:00
Damien Arrachequesne
3020e455ab
[chore] Release 2.2.0
2018-11-29 00:15:03 +01:00
Damien Arrachequesne
df05b73bb9
[chore] Release 2.2.0
2.2.0
2018-11-29 00:00:45 +01:00
Damien Arrachequesne
06e9a4ca26
[chore] Bump dependencies
...
- engine.io-client: https://github.com/socketio/engine.io-client/compare/3.2.0...3.3.1
- socket.io-parser: https://github.com/socketio/socket.io-parser/compare/3.2.0..3.3.0
2018-11-28 22:51:53 +01:00
Damien Arrachequesne
4a93871496
[chore] Update the Makefile
2018-11-28 22:48:39 +01:00
Damien Arrachequesne
eeafa44d01
[fix] Remove any reference to the global variable
...
Related: https://github.com/socketio/socket.io-client/issues/1166
2018-11-28 22:48:12 +01:00
Markko Legonkov
b00ae50be6
[feat] Add cache-control header when serving the client source ( #2907 )
2018-11-20 08:02:04 +01:00
Nadir Hussain Laskar
d3c653d876
[docs] Add Touch Support to the whiteboard example ( #3104 )
2018-11-20 08:01:09 +01:00
Antonio
a7fbd1ac4a
[fix] Throw an error when trying to access the clients of a dynamic namespace ( #3355 )
...
Accessing the clients of a dynamic namespace throws because doing `io.of(/your-regex/g)` returns a namespace with no adapter and the clients methods tries to access `namespace.adapter.clients`.
2018-11-20 07:40:11 +01:00
Damien Arrachequesne
190d22b46e
[chore] Bump dependencies
...
- engine.io: https://github.com/socketio/engine.io/compare/3.2.0...3.3.1
- socket.io-parser: https://github.com/socketio/socket.io-parser/compare/3.2.0..3.3.0
2018-11-20 07:33:41 +01:00
Damien Arrachequesne
7b8fba7ea2
[test] Update Travis configuration
...
Reference: https://github.com/nodejs/Release
2018-11-20 07:32:39 +01:00
Damien Arrachequesne
dfc34e482c
[chore] Pin zuul version
...
The CI seems to fail with the new version:
/home/travis/build/[secure]io/engine.io-client/node_modules/zuul/bin/zuul:332
throw err.message;
^
internet explorer@8: [eval("(window.zuul_msg_bus ? window.zuul_msg_bus.splice(0, 1000) : []);")] Not JSON response
2018-11-19 22:59:59 +01:00
JinHyuk Kim
de1fd36dc9
[docs] Fix incorrect socket.io-protocol version in Readme ( #89 )
...
Ref: https://github.com/socketio/socket.io-protocol
2018-11-19 22:31:13 +01:00
Damien Arrachequesne
696c7e7efc
[chore] Release 3.3.1
2018-11-19 22:27:51 +01:00
Damien Arrachequesne
64d6044659
[chore] Release 3.3.1
2018-11-19 22:27:16 +01:00
Oliver Salzburg
9956445251
[fix] Replace deprecated Buffer usage ( #565 )
...
The `Buffer` constructor has been deprecated in favor of safer alternatives.
See https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/
2018-11-19 22:22:13 +01:00
Damien Arrachequesne
e081616a3f
[chore] Point towards branch 'develop' of engine.io-client
2018-11-19 22:15:19 +01:00
Damien Arrachequesne
66b9e4a186
[fix] fix JSONP transport in Node.js environment
...
The commit 99bcc62 resulted in `window is not defined` errors.
2018-11-19 22:12:20 +01:00
Nubami SQReder
f62fca4b05
[fix] Trigger xhr polling transport unload handler on 'pagehide' or 'unload' instead of 'beforeunload' ( #604 )
...
...to prevent broke connection on cancelled beforeunload event
Fixes #603
2018-11-19 13:11:45 +01:00
Emmanuel DEMEY
e5f0ceaee0
[docs] Use new JavaScript syntax inside the README ( #3360 )
2018-11-08 00:26:54 +01:00
Damien Arrachequesne
2c856caf03
[chore] Release 3.3.0
2018-11-08 00:21:51 +01:00
Damien Arrachequesne
484e3eced9
[chore] Release 3.3.0
2018-11-08 00:20:58 +01:00
Damien Arrachequesne
0de72b9cc2
[chore] Release 3.3.0
2018-11-07 23:58:21 +01:00