thorium-reader
thorium-reader copied to clipboard
replace JSDOM with xmldom parser (need testing alternatives for innerText, querySelector, etc.)
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
xmldomwhich is used elsewhere in main process as an alternative toDOMParser(renderer process), but there are too many breaking changes so I aborted.
https://github.com/edrlab/thorium-reader/issues/3175#issuecomment-3325467735