update dependencies

This commit is contained in:
Philipinho
2024-09-02 12:43:33 +01:00
parent 7e6a71fa2d
commit 6c6b47599a
5 changed files with 1797 additions and 3124 deletions

View File

@ -10,10 +10,7 @@ export function generateJSON(
const schema = getSchema(extensions);
const window = new Window();
const dom = new HappyDomParser(window).parseFromString(
html,
'text/html',
).body;
const dom = new HappyDomParser().parseFromString(html, 'text/html').body;
// @ts-ignore
return DOMParser.fromSchema(schema).parse(dom, options).toJSON();