kempsteven / vue-html2pdf

vue-html2pdf converts any vue component or element into PDF, vue-html2pdf is basically a vue wrapper only and uses html2pdf.js behind the scenes.
https://www.npmjs.com/package/vue-html2pdf
MIT License
432 stars 75 forks source link

Vue 3: deprecated packages on vue3-html2pdf #173

Open RubenZkr opened 1 year ago

RubenZkr commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to terminal
  2. yarn install

Screenshots If applicable, add screenshots to help explain your problem.

Package Version vue3-html2pdf@1.1.2

Additional context warning vue3-html2pdf > html2pdf.js > jspdf > canvg > xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0 warning vue3-html2pdf > html2pdf.js > jspdf > canvg > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning vue3-html2pdf > html2pdf.js > jspdf > canvg > jsdom > request > har-validator@5.1.5: this library is no longer supported warning vue3-html2pdf > html2pdf.js > jspdf > canvg > jsdom > request > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.