Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This reverts commit 5f66b4e729105286863a13955b1ed8897b45210e.
This caused test failures in text-encoder. cc @WingLim
|
|
|
|
* fix(encoding): export `getIgnoreBOM`
* feat(encoding): support ignoreBOM
* fix(encoding): not replace BOM to 0xFFFD
* chore: use strict equal
|
|
* feat(encoding): TextDecoder support undefined
* chore: format test file
|
|
* remove trim
* separate function
* a test
* trim when `stream` is true
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
|
|
* Make TextDecoder constructor use options parameter
The constructor now actually sets TextDecoder properties using the
options parameter.
* Defer decoder allocation to end of constructor
* Verify types of TextDecoder options
* TextDecoder throw TypeError on failure
* Tidying
|
|
|