@social-mail/social-mail-web-server 1.4.683 → 1.4.685

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.683",
3
+ "version": "1.4.685",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-sdk/client-s3": "^3.525.0",
23
23
  "@azure/storage-blob": "^12.17.0",
24
- "@entity-access/entity-access": "^1.0.311",
25
- "@entity-access/server-pages": "^1.1.197",
24
+ "@entity-access/entity-access": "^1.0.312",
25
+ "@entity-access/server-pages": "^1.1.198",
26
26
  "@otplib/preset-v11": "^12.0.1",
27
27
  "@social-mail/noto-emoji-svg": "^2.0.42",
28
28
  "@socket.io/cluster-adapter": "^0.2.2",
@@ -1,3 +1,4 @@
1
+ /* eslint-disable no-console */
1
2
  import Inject, { RegisterScoped, RegisterTransient } from "@entity-access/entity-access/dist/di/di.js";
2
3
  import { JSDOM } from 'jsdom';
3
4
  import SocialMailContext from "../../model/SocialMailContext.js";
@@ -189,7 +190,7 @@ export default class SnapshotService {
189
190
  if (iterator.isFolder) {
190
191
  await this.copyChildren(db, iterator, child, path, copyMedia, siteRoot + "/" + child.name);
191
192
  } else {
192
- this.snapshotSize += iterator.fileSize;
193
+ this.snapshotSize += Number(iterator.fileSize);
193
194
  }
194
195
  }
195
196
  }