@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/dist/server/services/files/SnapshotService.d.ts.map +1 -1
- package/dist/server/services/files/SnapshotService.js +2 -3
- package/dist/server/services/files/SnapshotService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/server/services/files/SnapshotService.ts +2 -3
package/package.json
CHANGED
|
@@ -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
|
|
468
|
-
|
|
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()
|