hackjunction / JunctionApp

All-in-one hackathon platform for organisers
https://app.hackjunction.com
GNU Affero General Public License v3.0
63 stars 55 forks source link

Bump pdfjs-dist and react-pdf #942

Open dependabot[bot] opened 3 months ago

dependabot[bot] commented 3 months ago

Bumps pdfjs-dist to 4.4.168 and updates ancestor dependency react-pdf. These dependencies need to be updated together.

Updates pdfjs-dist from 2.1.266 to 4.4.168

Release notes

Sourced from pdfjs-dist's releases.

v4.4.168

This release contains improvements for annotations, annotation editing, font conversion, image decoding, performance, scripting, text selection, test/release infrastructure and the viewer.

Changes since v4.3.136

... (truncated)

Commits
  • 19fbc89 Merge pull request #18358 from timvandermeij/npm-url
  • bf5dd7e Fix the repository URL in the package.json file for pdfjs-dist
  • 7114796 Merge pull request #18352 from wojtekmaj/provenance
  • 067ec20 Merge pull request #18356 from calixteman/no_newtabpage
  • efb45a7 Disable new tab page stuff in Firefox when running tests
  • aaa65bf Generate provenance statements on npm publish
  • 8556a26 Merge pull request #18353 from wojtekmaj/npm-ci
  • 6b449d8 Use npm ci, not npm install, on CI
  • b5d554e Merge pull request #18350 from timvandermeij/github-actions-release
  • dddb74d Fix npm publish warnings about the package.json format
  • Additional commits viewable in compare view


Updates react-pdf from 4.1.0 to 9.1.0

Release notes

Sourced from react-pdf's releases.

v9.1.0

What's new?

  • Updated PDF.js to 4.4.168.
    • Annotation improvements
    • Font conversion improvements
    • Image decoding improvements
    • Performance improvements
    • Text selection improvements
  • Added support for isolatedDeclarations in TypeScript.

What's changed?

  • Updated documentation.
  • Updated Next.js, Parcel and Webpack examples.

Bug fixes

  • Fixed missing hiddenCanvasElement styles (#1815).
  • Fixed overly large structTreeUtils.d.ts file, saving you 45 KB of disk space.

v9.0.0

See Upgrade guide from version 8.x to 9.x.

This version updates PDF.js to 4.3.136, fixing GHSA-wgrm-67xf-hhpq for good. React-PDF v8.0.2 and v7.7.3 have already included a mitigation of the issue and thus were not affected by this vulnerability, but caused automatic security alerts due to the outdated PDF.js version.

❗️ = breaking change

What's new?

  • Updated PDF.js to 4.3.136.
    • Optimizations for CPU and memory usage
    • Performance improvements
    • Image rendering improvements
    • Text selection improvements
    • Accessibility improvements
    • Font conversion improvements
    • Handling of corrupted documents
  • Improved Turbopack compatibility.

What's changed?

  • ❗️ PDF.js worker extension has been changed from .js to .mjs.
  • ❗ PDF.js is now an ESM module.
    • In particular, you may encounter issues running unit tests using Jest. Consider migrating to Vitest.
    • Next.js also have issues with ESM Workers, but a working configuration is already known - see Upgrade guide and updated samples.
  • ❗️ Removed deprecated svg renderMode.
  • ❗️ Dropped support for older browsers and Node.js versions. In particular, you may need Promise.withResolvers polyfill when running Node.js versions older than 22.0.0.

v8.0.2

... (truncated)

Commits
  • ff82a89 v9.1.0
  • 3e4d907 Update pdfjs-dist to 4.4.168
  • a2d43cd Bump @​testing-library/react from 15.0.0 to 16.0.0
  • 32be36d Add isolatedDeclarations to TypeScript config
  • ba77134 Add explicit function return types
  • ad8cd67 Bump typescript from 5.4.2 to 5.5.2
  • 3bf79b0 Replace nodemon with fs.watch
  • e382372 Add hiddenCanvasElement styles
  • 6231187 Add explicit return type to make declaration file smaller
  • 2076754 Define effects in useEffect call
  • Additional commits viewable in compare view


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 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](https://github.com/hackjunction/JunctionApp/network/alerts).