- [chore] Bump has-binary2 to version 1.0.2 (#93)
- [chore] Drop support for old nodejs versions (0.10 & 0.12) (#92)
- [revert] "[fix] Enable to utf8-decode string payloads (#88)" (#91)
- (chore] Use has-binary2 (#90)
- [fix] Enable to utf8-decode string payloads (#88)
- [fix] Encode string payloads as strings even if binary supported (#85)
- [perf] Micro optimisations (#84)
- [fix] Sanitize strings by removing lone surrogates (#82)
- [perf] Use strict equality where possible (#77)
- [style] Minor style changes (#83)
- [fix] Fix double utf8 encoding for payloads (#81)
- [chore] Update zuul config to speed up tests (#76)
- [chore] Bump dependencies (#78)
- [fix] Add safety check for global object (#71)
- [fix] decodePacket now accepts both Buffer and ArrayBuffer as data (#64)
- [fix] Handle undefined case properly when decoding packet (#74)
- [chore] Bump zuul to 3.11.0 & zuul-ngrok to 4.0.0 (#70)
- [chore] Update zuul browser settings (#73)
- [fix] Fix crashes in React Native "navigator is not defined" (#55)
- [refactor] Require base64-arraybuffer module conditionally. (#58)
- [perf] Split try catch into separate function (#65)
- [chore] Use wtf-8 instead of utf8 to prevent lone surrogates from generating parsing error (#68)
- [chore] Restrict files included in npm package (#67)
- [chore] Update license and repository url (#66)
- [chore] Update zuul browser settings following EOL notices (#62)
- [chore] bump zuul (#56)
- fix
ArrayBuffer
encoding in base64 string
- fix encoding blob as base64
- fixes for iojs/node
- pass has-binary result to encodePacket [rase-]
- Fix parse error [rase-]
- fix return type for decodePacket
- README fixes
- use travis matrix for better test runs
- encode into binary only if needed
- add test cases for base64 object encoding.
- add encodeBase64Object to encoder for browser
- avoid sending Blobs on PhantomJS (as on Android)
- test that utf8 encoding is not on by default but can be switched on manually
- make utf8 encoding/decoding optional
- adjust protocol revision
- handle invalid utf8 errors gracefully
- fix memory leak on browser
- fix decodePayloadAsBinary memory leak [christophwitzko]
- README improvements
- utf8 fixes when using binary encoding [nkzawa]
- fix range error
- fix
encodePayloadAsBinary
method encodes packets to base64
- Fix length calculation when encoding as binary [binlain]
- fix binary for android due to a bug in Blob XHR2 implementation [Rase-]
- implement
blob
module to simplify code - bump
arraybuffer.slice
- style fixes
- parser: added binary encoding [Rase-]
- parser: switched to an async interface [Rase-]
- parser: if callback returns
false
ignore rest of payload - test: fixed all broken tests
- added protocol version to index.js [albertyfwu]
- Changed
decodePayload
to use a callback instead of returning an array [sweetieSong, albertyfwu]
- package.json fixes
- Initial release