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

build(deps): bump pdfjs-dist from 3.11.174 to 4.2.67 #139

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2024

Bumps pdfjs-dist from 3.11.174 to 4.2.67.

Release notes

Sourced from pdfjs-dist's releases.

v4.2.67

This release includes a new JPX decoder, based on OpenJPEG, which improves JPX image rendering performance and correctness. Moreover, this release contains improvements for the annotation editor, font conversion and the viewer.

Note that text selection boxes for some PDF files may overlap visually. This is a known issue that we currently track in mozilla/pdf.js#17561.

Changes since v4.1.392

v4.1.392

This release features improvements, bugfixes and optimizations for accessibility, annotation rendering, annotation editing, font rendering, form handling, image rendering, text selection and the viewer.

... (truncated)

Commits
  • 49b3881 Merge pull request #18001 from Snuffleupagus/api-pageRefCache
  • 150964d Remove unnecessary check from PDFLinkService.goToDestination (PR 17984 foll...
  • f6cd039 [api-minor] Move the page reference/number caching into the API
  • fa69d9a Inline the helper method in PDFLinkService.goToDestination
  • 3052e99 Merge pull request #18013 from Snuffleupagus/SimpleLinkService-extends-PDFLin...
  • 2b2ade7 Merge pull request #18018 from Snuffleupagus/CompiledFont-tweak-caching
  • 627fe2d Merge pull request #18017 from Snuffleupagus/validate-widths
  • 85ff8f3 Reduce code-duplication when caching data in CompiledFont.getPathJs
  • d411a07 Add more validation of width-data
  • 234067e Merge pull request #18014 from Snuffleupagus/validate-font-properties
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [pdfjs-dist](https://github.com/mozilla/pdf.js) from 3.11.174 to 4.2.67.
- [Release notes](https://github.com/mozilla/pdf.js/releases)
- [Commits](mozilla/pdf.js@v3.11.174...v4.2.67)

---
updated-dependencies:
- dependency-name: pdfjs-dist
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 16, 2024
Copy link

netlify bot commented Dec 16, 2024

Deploy Preview for wfp-hungermap ready!

Name Link
🔨 Latest commit 7f7ba37
🔍 Latest deploy log https://app.netlify.com/sites/wfp-hungermap/deploys/67641223258dc9000859ba61
😎 Deploy Preview https://deploy-preview-139--wfp-hungermap.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Tschonti Tschonti requested a review from ahmtslmngcl December 16, 2024 10:58
@Tschonti
Copy link
Collaborator

@ahmtslmngcl can you check if we can use pdf-js v4? v3 had a big security vulnerability.

@marinovl7
Copy link
Collaborator

@ahmtslmngcl can you check if we can use pdf-js v4? v3 had a big security vulnerability.

CC: @bohdangarchu

@bohdangarchu
Copy link
Collaborator

bohdangarchu commented Dec 18, 2024

@Tschonti I think we don't need this dependency anyway. pdfjs is always imported from react-pdf in our code

@ahmtslmngcl
Copy link
Collaborator

@Tschonti works fine but we also don't need it as @bohdangarchu noticed correctly

@Tschonti
Copy link
Collaborator

But react-pdf depends on this package, so even if pdfjs-dist is not in our package.json, it'll be in our project (in yarn.lock), so make sure we're using v4

@Tschonti Tschonti merged commit cb95ca2 into main Dec 19, 2024
5 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/pdfjs-dist-4.2.67 branch December 19, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants