wojtekmaj / react-pdf

Display PDFs in your React app as easily as if they were images.
https://projects.wojtekmaj.pl/react-pdf
MIT License
9.11k stars 867 forks source link

Usage of pdfjs-dist v4.0.189 #1664

Closed Didi3333 closed 2 months ago

Didi3333 commented 8 months ago

Before you start - checklist

Description

Hi,

Do you know when react-pdf will use pdfjs-dist v4.0.189 ?

Proposed solution

No response

Alternatives

No response

Additional information

No response

wojtekmaj commented 8 months ago

It's totally a no-brainer, but I need to find the time to do it.

mikhailbartashevich commented 6 months ago

waiting for v4.0.379 as well 🙏

wojtekmaj commented 6 months ago

@mikhailbartashevich Please read: https://github.com/wojtekmaj/react-pdf/pull/1690#issuecomment-1908333287

Joseph-Hui commented 6 months ago

I am putting React-PDF into my project and I have spent quite some times to figure out which version of pdf.js to use. Would be glad if you can add some guidance in the Readme. Thank you!

wojtekmaj commented 6 months ago

@Joseph-Hui None. pdf.js is a direct dependency of react-pdf, at a specific, tested version. If you had to install it manually docs would have mentioned it.

Joseph-Hui commented 6 months ago

I see. I am wrapping react-pdf to work with my Kotlin/JS project and thought I need to specify pdfJs.GlobalWorkerOptions.workerSrc explicitly. Thank you for the clarification.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

momococomomo commented 2 months ago

There is a major security risk discovered, you can read about it here.

Please update to v4.2.67

wojtekmaj commented 2 months ago

You could also have a read here: https://github.com/wojtekmaj/react-pdf/discussions/1786