When using the @tato30/vue-pdf package with pdfjs-dist version 4.6.82, the PDF fails to load properly. This issue occurs when performing a clean install of dependencies, which results in pdfjs-dist version 4.6.82 being installed due to the version range specified in @tato30/vue-pdf’s package.json. Downgrading to pdfjs-dist version 4.5.136 resolves the issue.
This issue seems to be related to changes introduced in pdfjs-dist 4.6.82.
I recommend that the package pin the pdfjs-dist version instead of using a version range to prevent similar issues in the future.
Additional context
- vue-pdf: 1.11.0
- vue: 3.4.38
When using the @tato30/vue-pdf package with pdfjs-dist version 4.6.82, the PDF fails to load properly. This issue occurs when performing a clean install of dependencies, which results in pdfjs-dist version 4.6.82 being installed due to the version range specified in @tato30/vue-pdf’s package.json. Downgrading to pdfjs-dist version 4.5.136 resolves the issue.
This issue seems to be related to changes introduced in pdfjs-dist 4.6.82.
I recommend that the package pin the pdfjs-dist version instead of using a version range to prevent similar issues in the future.
vue-pdf/packages/vue-pdf/package.json
Line 50 in a188d79
Additional context