Upgrade react-pdf and react-fast-pdf#49527
Conversation
66b6366 to
02eb49f
Compare
|
@jayeshmangwani Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
| "react-native-web": "^0.19.12", | ||
| "react-native-web-sound": "^0.1.3", | ||
| "react-native-webview": "13.8.6", | ||
| "react-pdf": "9.1.0", |
There was a problem hiding this comment.
These changes work well, but why are we removing react-pdf from package.json?
There was a problem hiding this comment.
It might result in different versions of the same package being installed if the versions get out of sync (see #41238).
There are a few other packages not included in packages.json, including pdfjs-dist. Ideally we should re-enable the import/no-extraneous-dependencies rule and add these packages to peerDependencies as we do in react-fast-pdf
There was a problem hiding this comment.
okay okay, I don't have a strong opinion about removing it from the package.json. @thienlnam , are you alright with us removing it from the package.json?
There was a problem hiding this comment.
No opinion here either - should be okay
There was a problem hiding this comment.
Okay, we can proceed with the merge. The PR has tested well.
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb Chromemweb-chrome.moviOS: Nativeios.moviOS: mWeb Safarimweb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/thienlnam in version: 9.0.42-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.42-3 🚀
|
Details
Updated the
react-fast-pdflibrary to v1.0.15 (which also updatedreact-pdfto v9.1.1) and removed the patches.Fixed Issues
$ #48124
PROPOSAL: #48124 (comment)
Tests
Offline tests
N/A
QA Steps
Same as "Tests"
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
48124.android.native.webm
Android: mWeb Chrome
48124.android.mweb.webm
iOS: Native
48124.ios.native.mp4
iOS: mWeb Safari
48124.ios.mweb.mp4
MacOS: Chrome / Safari
48124.macos.web.mov
MacOS: Desktop
48124.macos.desktop.mov