@social-mail/social-mail-web-server 1.4.730 → 1.4.731

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.4.730",
3
+ "version": "1.4.731",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -464,9 +464,8 @@ export default class SnapshotService {
464
464
  const localFile = await this.tempFileService.downloadAppFile(file);
465
465
  const text = await localFile.readAsText();
466
466
  await localFile.delete();
467
- const parser = new DOMParser();
468
- const doc = parser.parseFromString(text, "text/html");
469
- return Array.from(doc.body.children) as HTMLElement[];
467
+ const dom = new JSDOM(text);
468
+ return Array.from(dom.window.document.body.children) as HTMLElement[];
470
469
  }
471
470
 
472
471
  @cacheFor()