Skip to content

Mismatching worker version with pdfjs-dist as a direct dependency (answered ✅) #1520

Answered by wojtekmaj
lirbank asked this question in Q&A
Discussion options

You must be logged in to vote

I would love to, but historically this lead to significant issues. PDF.js is released with complete disregard for semver. This means that ANY PDF.js version update that has not been tested can potentially render React-PDF useless. Or throwing gazillions of warnings at best.

I think that's the only exception to using ^ range I've made across all my 50+ packages.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@lirbank
Comment options

@lirbank
Comment options

@wojtekmaj
Comment options

Answer selected by lirbank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants