kbss-cvut / s-forms

SForms - Semantic form generator and processor. For ontology-based smart forms.
GNU Lesser General Public License v3.0
4 stars 7 forks source link

Jsdom does not support TextEncoder and TextDecoder #255

Closed LaChope closed 9 months ago

LaChope commented 9 months ago

After bumping jsonld, 6896af0, Jsdom also had to be bumped, because it did not support the newer version of jsonld.

Jsonld needs Textdecoder, but is not supported by the bumped jsdom (see https://github.com/jsdom/jsdom/issues/2524). Workaround was found here: https://github.com/jsdom/jsdom/issues/2524#issuecomment-1480930523, but the issue in https://github.com/jsdom/jsdom/issues/2524 is still open, so possibly there will be support added soon

blcham commented 9 months ago

Although the issue is closed, it is a workaround that should be removed later when Jsdom supports TextEncoder/TextDecoder.