Skip to content

Upgrade versions and fix example - #42

Merged
mountiny merged 11 commits into
Expensify:mainfrom
callstack-internal:fix/upgrade-versions
Jan 21, 2025
Merged

mountiny merged 11 commits into
Expensify:mainfrom
callstack-internal:fix/upgrade-versions

Conversation

@rezkiy37

@rezkiy37 rezkiy37 commented Jan 15, 2025 •

Copy link
Copy Markdown
Contributor

Details

The PR upgrades versions of "react-pdf": "^9.2.1" and "react-window ^1.8.11".

Details

Screenshot 2025-01-16 at 15 41 33 Screenshot 2025-01-16 at 15 41 43

Also, it locks pdfjs-dist to 4.8.69 as react-pdf utilizes.

Related Issues

Expensify/App#55176

Manual Tests

  1. Launch the example app.
  2. Open an example PDF file.
  3. Verify that there are no warnings in the console and that the file is displayed properly.
Screenshots

Screenshot 2025-01-16 at 15 44 47 Screenshot 2025-01-16 at 15 46 21 Screenshot 2025-01-16 at 15 48 04

Linked PRs

@rezkiy37 rezkiy37 changed the title [WIP] Upgrade versions and fix example Upgrade versions and fix example Jan 16, 2025
@rezkiy37
rezkiy37 marked this pull request as ready for review January 16, 2025 15:11

@jjcoffee jjcoffee left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jjcoffee

Copy link
Copy Markdown

@rezkiy37 Should I test this against the Expensify app too?

@rezkiy37

Copy link
Copy Markdown
Contributor Author

@jjcoffee yeah, a good point. I've tried to test both projects locally but unfortunately, react-fast-pdf cannot use a couple of dependencies. I imported /dist, which is not similar to how it works with NPM. So I am going to test it once we deploy it.

@jjcoffee

Copy link
Copy Markdown

@rezkiy37 Okay that makes sense, thanks!

@rezkiy37

Copy link
Copy Markdown
Contributor Author

@mountiny, this one it ready to go 🙂

@mountiny mountiny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure to test this thoroughly in the app

@mountiny
mountiny merged commit 4810b10 into Expensify:main Jan 21, 2025
@os-botify

os-botify Bot commented Jan 21, 2025

Copy link
Copy Markdown
Contributor

🚀 Published to npm in 1.0.23 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants