thorium-reader icon indicating copy to clipboard operation
thorium-reader copied to clipboard

replace JSDOM with xmldom parser (need testing alternatives for innerText, querySelector, etc.)

Open danielweck opened this issue 3 months ago • 0 comments

WebPack and Electron are not supported runtimes; Node.js is the only supported one.

https://github.com/jsdom/jsdom/issues/3937#issuecomment-3326353174

Reverted to JSDOM v26, it's only used for W3C audiobooks parsing anyway ... I tried migrating to xmldom which is used elsewhere in main process as an alternative to DOMParser (renderer process), but there are too many breaking changes so I aborted.

https://github.com/edrlab/thorium-reader/issues/3175#issuecomment-3325467735

danielweck avatar Sep 24 '25 09:09 danielweck