Commit Graph

12 Commits

Author SHA1 Message Date
Damien Arrachequesne
3f3a6f9914 fix: use globalThis polyfill instead of self/global (#634)
In order to fix the "self is not defined" issues in Android 8 and React
Native.

Fixes https://github.com/socketio/engine.io-client/issues/611, https://github.com/socketio/engine.io-client/issues/626
Closes https://github.com/socketio/engine.io-client/pull/627
2020-04-16 16:08:37 +02:00
Damien Arrachequesne
08aff9487f refactor: use prettier to format code 2020-01-14 22:58:35 +01:00
Damien Arrachequesne
0fcc5417ac refactor: migrate to ES6 syntax 2020-01-10 07:29:26 +01:00
Damien Arrachequesne
99bcc622cb [fix] Remove any reference to the global variable
Related: https://github.com/socketio/socket.io-client/issues/1166
2018-11-07 22:40:39 +01:00
Luigi Pinca
7acae3db15 [fix] Obfuscate ActiveXObject occurrences (#509)
Some corporate firewalls/proxies such as Blue Coat prevent JavaScript
files from being downloaded if they contain the word "ActiveX".
2016-10-24 01:00:45 +02:00
Diga Widyaprana
a526395363 Add inline eslint config
- ActiveXObject global in lib/xmlhttprequest.js
- Allow small letter constructor in test/transport.js
2016-03-01 00:41:09 +08:00
Diga Widyaprana
fd90acf4b6 Eslint autofix 2016-02-29 20:43:08 +08:00
yujiosaka
850072e3f1 IE10 should prefer using XHR2 over XDR because it's safer 2014-09-04 17:38:39 +09:00
yujiosaka
b1e1755a7d disabled XDomainRequest as default and added enablesXDR option to enable it 2014-08-18 07:50:36 +09:00
yujiosaka
89ec0efe74 IE8 should use XDomainRequest to avoid loading bar flashing 2014-08-18 02:17:31 +09:00
Guillermo Rauch
f64e22d1b1 use jsonp in favor of XDomainRequest to preserve Cookie headers in all situations [3rd-eden] (fixes #217) 2013-12-20 12:36:33 -03:00
Roman Shtylman
a969aa761a add browserify support
fixes #200
2013-11-01 21:24:46 -04:00