Skip to content

Commit

Permalink
Added html2canvas as a kind of peer dependency to jsPDF:
Browse files Browse the repository at this point in the history
- jsPDF uses a version of html2canvas that gives a lot of warnings regardning the source maps (see niklasvh/html2canvas#2812)
- However, html2canvas is an optional dependency of jsPDF
- By adding a newer version of html2canvas to our package.json we get the latest version, 1.4.1, where the bug is solved. No more warnings
  • Loading branch information
jacobwod committed Jan 24, 2022
1 parent 2d08ebc commit c0b8050
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 67 deletions.
108 changes: 41 additions & 67 deletions new-client/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 new-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"file-saver": "^2.0.5",
"html2canvas": "1.4.1",
"html2json": "^1.0.2",
"intro.js": "^4.3.0",
"intro.js-react": "^0.5.0",
Expand Down

0 comments on commit c0b8050

Please sign in to comment.