diff --git a/admin/package-lock.json b/admin/package-lock.json index 10108647..5414405f 100644 --- a/admin/package-lock.json +++ b/admin/package-lock.json @@ -25,10 +25,11 @@ "@fortawesome/free-solid-svg-icons": "^6.6.0", "@ng-bootstrap/ng-bootstrap": "^16.0.0", "@rxweb/reactive-form-validators": "~13.0.0", + "@types/file-saver-es": "^2.0.3", "@types/luxon": "^3.4.2", "aws-amplify": "^5.3.2", "bootstrap": "~5.3.0", - "file-saver": "^2.0.5", + "file-saver-es": "^2.0.5", "jquery": "^3.6.0", "leaflet": "~1.9.0", "leaflet.markercluster": "~1.5.3", @@ -13178,6 +13179,12 @@ "@types/send": "*" } }, + "node_modules/@types/file-saver-es": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/file-saver-es/-/file-saver-es-2.0.3.tgz", + "integrity": "sha512-1N7YkjKDfSSlBq9TCbNelivW+CkqEGh6HWzOP2w8znKsyASufdp8ymxnmKs67hyO9r175xMUu1e2w50xfBD4Ew==", + "license": "MIT" + }, "node_modules/@types/geojson": { "version": "7946.0.13", "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.13.tgz", @@ -17062,10 +17069,11 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/file-saver": { + "node_modules/file-saver-es": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.5.tgz", - "integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA==" + "resolved": "https://registry.npmjs.org/file-saver-es/-/file-saver-es-2.0.5.tgz", + "integrity": "sha512-Kg0lt+is9nOyi/VDms9miScNGot25jVFbjFccXuCL/shd2Q+rt70MALxHVkXllsX83JEBLiHQNjDPGd/6FIOoQ==", + "license": "MIT" }, "node_modules/fill-range": { "version": "7.1.1", diff --git a/admin/package.json b/admin/package.json index 44ff557d..4b7ff34c 100644 --- a/admin/package.json +++ b/admin/package.json @@ -24,10 +24,11 @@ "@fortawesome/free-solid-svg-icons": "^6.6.0", "@ng-bootstrap/ng-bootstrap": "^16.0.0", "@rxweb/reactive-form-validators": "~13.0.0", + "@types/file-saver-es": "^2.0.3", "@types/luxon": "^3.4.2", "aws-amplify": "^5.3.2", "bootstrap": "~5.3.0", - "file-saver": "^2.0.5", + "file-saver-es": "^2.0.5", "jquery": "^3.6.0", "leaflet": "~1.9.0", "leaflet.markercluster": "~1.5.3", diff --git a/admin/src/core/services/AttachmentResolverSvc.ts b/admin/src/core/services/AttachmentResolverSvc.ts index e610aae1..6c8b2efd 100644 --- a/admin/src/core/services/AttachmentResolverSvc.ts +++ b/admin/src/core/services/AttachmentResolverSvc.ts @@ -5,7 +5,7 @@ import { AttachmentService, WorkflowStateEnum, } from '@api-client'; -import { saveAs } from "file-saver"; +import { saveAs } from "file-saver-es"; @Injectable({ providedIn: 'root' diff --git a/public/package-lock.json b/public/package-lock.json index 2f35ce1e..88760a76 100644 --- a/public/package-lock.json +++ b/public/package-lock.json @@ -25,6 +25,7 @@ "@fortawesome/free-solid-svg-icons": "^6.6.0", "@ng-bootstrap/ng-bootstrap": "^16.0.0", "@rxweb/reactive-form-validators": "~13.0.0", + "@types/file-saver-es": "^2.0.3", "@types/luxon": "^3.4.2", "bootstrap": "~5.3.0", "file-saver-es": "^2.0.5", @@ -6584,6 +6585,12 @@ "@types/send": "*" } }, + "node_modules/@types/file-saver-es": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/file-saver-es/-/file-saver-es-2.0.3.tgz", + "integrity": "sha512-1N7YkjKDfSSlBq9TCbNelivW+CkqEGh6HWzOP2w8znKsyASufdp8ymxnmKs67hyO9r175xMUu1e2w50xfBD4Ew==", + "license": "MIT" + }, "node_modules/@types/geojson": { "version": "7946.0.13", "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.13.tgz", diff --git a/public/package.json b/public/package.json index 6a9476bb..1b8d4603 100644 --- a/public/package.json +++ b/public/package.json @@ -24,6 +24,7 @@ "@fortawesome/free-solid-svg-icons": "^6.6.0", "@ng-bootstrap/ng-bootstrap": "^16.0.0", "@rxweb/reactive-form-validators": "~13.0.0", + "@types/file-saver-es": "^2.0.3", "@types/luxon": "^3.4.2", "bootstrap": "~5.3.0", "file-saver-es": "^2.0.5",