Repository navigation
Conversation
|
Apologies for the lack of comment on that bug, but this should be done through the https://github.com/jsdom/whatwg-encoding package. Right now, whatwg-encoding only exposes some lower-level primitive, but it could be augmented to support You could take a look at https://github.com/jsdom/whatwg-url/blob/master/webidl2js-wrapper.js and https://github.com/jsdom/whatwg-url/blob/master/scripts/convert-idl.js for a recommended pattern of adding these classes there. |
|
@TimothyGu Thank you for letting me know. I have started jsdom/whatwg-encoding#11 targeted at moving from the current structure to one which is more resembling that of As the |
|
Thanks for doing that! Let's continue this conversation over at jsdom/whatwg-encoding#11 then. We could see about integrating that change in jsdom after that gets merged. |
This aims at addressing the lack of TextEncoder and TextDecoder.
This PR relies on the Node native object when present and utilises
text-encodingpackage for Node 10.Closes #2524