Skip to content
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

chore(deps): Bump pdfjs-dist from 3.11.174 to 4.0.189 (reloaded) #1131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

danxuliu
Copy link
Member

@danxuliu danxuliu commented Feb 5, 2025

Updated version of #856

Besides the adjustments to templates/viewer.php, #856 required #1107 to properly initialise the application options. Without #1107 it seemed to work, but it actually created subtle issues due to the options not being set in PDF.js. For example, an easy way to check that was to open a PDF that contains a link; without #1107 clicking on the link opens the link in the same tab, with #1107 it opens the link in a new tab.

@danxuliu danxuliu added 3. to review dependencies Pull requests that update a dependency file labels Feb 5, 2025
@danxuliu danxuliu added this to the Nextcloud 32 milestone Feb 5, 2025
@danxuliu danxuliu requested a review from szaimen February 5, 2025 16:36
dependabot bot and others added 2 commits February 5, 2025 18:09
Bumps [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) from 3.11.174 to 4.0.189.
- [Commits](https://github.com/mozilla/pdfjs-dist/commits)

---
updated-dependencies:
- dependency-name: pdfjs-dist
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
The "viewer.php" acts as the "viewer.html" file included in the PDF.js
package. This commit updates "viewer.php" with the changes to
"viewer.html" from PDF.js 3.11.174 to 4.0.189 while respecting the
customized parts of "viewer.php".

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant