@kithinji/orca 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -883,7 +883,7 @@ var kithinjiorca = (() => {
883
883
  };
884
884
 
885
885
  // src/shared/renderers/stream.ts
886
- var import_jsdom = __require("jsdom");
886
+ var import_linkedom = __require("linkedom");
887
887
  var StreamRenderer = class {
888
888
  constructor(rootInjector, options = {}) {
889
889
  this.rootInjector = rootInjector;
@@ -1004,8 +1004,7 @@ var kithinjiorca = (() => {
1004
1004
  return this.buildSyncTree(children, injector);
1005
1005
  }
1006
1006
  parseHTMLToJSX(html, injector) {
1007
- const dom = new import_jsdom.JSDOM(html);
1008
- const document2 = dom.window.document;
1007
+ const { document: document2 } = (0, import_linkedom.parseHTML)(html);
1009
1008
  const convertNode = (node) => {
1010
1009
  if (node.nodeType === 3) {
1011
1010
  const text = node.textContent || "";