-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade react-pdf from v8 to v9 #894
base: stable
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
@@ -1,14 +1,11 @@ | |||
import { DialogProps, Paper, Stack } from '@mui/material'; | |||
import pdfWorker from 'pdfjs-dist/build/pdf.worker.js?url'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it makes more sense for this to live in FilePreview since that component is actually rendering the pdf previews
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lovely, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great, thanks!
Description
Upgrade
react-pdf
from 8=>9. Reference documentation https://github.com/wojtekmaj/react-pdf/wiki/Upgrade-guide-from-version-8.x-to-9.xWe had already determined that CVE-2024-4367 was not affecting us, but this upgrade upgrades
pdfjs-dist
to the patched version, so we get rid of the audit alert.How to test:
Type of change
Checklist before requesting review