Skip to content

Commit

Permalink
Replace file-saver with file-saver-es at admin
Browse files Browse the repository at this point in the history
  • Loading branch information
ianliuwk1019 committed Dec 27, 2024
1 parent 12060e4 commit fbb681d
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 6 deletions.
16 changes: 12 additions & 4 deletions admin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion admin/src/core/services/AttachmentResolverSvc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
AttachmentService,
WorkflowStateEnum,
} from '@api-client';
import { saveAs } from "file-saver";
import { saveAs } from "file-saver-es";

@Injectable({
providedIn: 'root'
Expand Down
7 changes: 7 additions & 0 deletions public/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fbb681d

Please sign in to comment.