darrachequesne / notepack

A fast Node.js implementation of the latest MessagePack spec
MIT License
75 stars 19 forks source link

Fix utf-8 decoder (in browser) #16

Closed RealDolos closed 6 years ago

RealDolos commented 6 years ago

The browser version of the utf-8 decoder is broken, likely due to a typo, corrupting all two-byte codepoints. The fix is just changing a 0x0f to the proper 0x1f.

Besides that, I added some tests and rebuild the dist.

darrachequesne commented 6 years ago

@RealDolos good catch! Thanks a lot :+1:

darrachequesne commented 6 years ago

Released in 2.1.3!