[PR #1105] [CLOSED] build(deps): bump pdfjs-dist from 4.0.379 to 4.2.67 #1738

Closed
opened 2026-03-02 11:58:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/1105
Author: @dependabot[bot]
Created: 3/9/2025
Status: ❌ Closed

Base: main ← Head: dependabot/npm_and_yarn/pdfjs-dist-4.2.67


📝 Commits (1)

  • 9e9f25b build(deps): bump pdfjs-dist from 4.0.379 to 4.2.67

📊 Changes

2 files changed (+46 additions, -34 deletions)

View changed files

📝 apps/workers/package.json (+1 -1)
📝 pnpm-lock.yaml (+45 -33)

📄 Description

Bumps pdfjs-dist from 4.0.379 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.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/1105 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 3/9/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/pdfjs-dist-4.2.67` --- ### 📝 Commits (1) - [`9e9f25b`](https://github.com/karakeep-app/karakeep/commit/9e9f25b9d307a2971010ad6cc637e1f0af8d0d04) build(deps): bump pdfjs-dist from 4.0.379 to 4.2.67 ### 📊 Changes **2 files changed** (+46 additions, -34 deletions) <details> <summary>View changed files</summary> 📝 `apps/workers/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+45 -33) </details> ### 📄 Description Bumps [pdfjs-dist](https://github.com/mozilla/pdf.js) from 4.0.379 to 4.2.67. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mozilla/pdf.js/releases">pdfjs-dist's releases</a>.</em></p> <blockquote> <h2>v4.2.67</h2> <p>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.</p> <p>Note that text selection boxes for some PDF files may overlap visually. This is a known issue that we currently track in <a href="https://redirect.github.com/mozilla/pdf.js/issues/17561">mozilla/pdf.js#17561</a>.</p> <h2>Changes since v4.1.392</h2> <ul> <li>Bump the stable version in <code>pdfjs.config</code> by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17924">mozilla/pdf.js#17924</a></li> <li>Convert the history code to use proper private methods by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17925">mozilla/pdf.js#17925</a></li> <li>Update dependencies and translations to the most recent versions by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17927">mozilla/pdf.js#17927</a></li> <li>Remove the tag for missing font subset when trying to find a substitution by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17930">mozilla/pdf.js#17930</a></li> <li>Fix resetting of cursor-tools when closing the document (PR 17464 follow-up) by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17933">mozilla/pdf.js#17933</a></li> <li>Warn when a non-embedded font has an invalid name by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17934">mozilla/pdf.js#17934</a></li> <li>Remove the <code>mkdirp</code> dependency in favor of the built-in Node.js <code>fs.mkdirSync</code> by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17935">mozilla/pdf.js#17935</a></li> <li>Improve type definitions for the viewer by <a href="https://github.com/ex37"><code>@​ex37</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17879">mozilla/pdf.js#17879</a></li> <li>Fix the &quot;must check that invisible fields are made visible&quot; scripting integration test by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17940">mozilla/pdf.js#17940</a></li> <li>Remove the <code>rimraf</code> dependency in favor of the built-in Node.js <code>fs.rmSync</code> in the test folder by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17938">mozilla/pdf.js#17938</a></li> <li>[api-minor] Update the minimum supported Safari version to 16.4 by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17942">mozilla/pdf.js#17942</a></li> <li>Fix the &quot;must check that a field has the correct value when a choice is changed&quot; scripting integration test by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17947">mozilla/pdf.js#17947</a></li> <li>[api-minor] Add a jpx decoder based on OpenJPEG 2.5.2 by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17946">mozilla/pdf.js#17946</a></li> <li>Bump library version to <code>4.2</code> by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17949">mozilla/pdf.js#17949</a></li> <li>Build the openjpeg-based decoder in a web environment in order to avoid issues when used in node by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17954">mozilla/pdf.js#17954</a></li> <li>Fix <code>JpxImage</code> API issues (PR 17946 follow-up) by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17951">mozilla/pdf.js#17951</a></li> <li>[JPX] Throw an exception with the error messages returned by openjpeg by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17956">mozilla/pdf.js#17956</a></li> <li>[Editor] Provide an element to render in the annotation layer after a freetext has been edited (bug 1890535) by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17914">mozilla/pdf.js#17914</a></li> <li>Remove <code>waitForTimeout</code> usage from the helper functions by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17966">mozilla/pdf.js#17966</a></li> <li>Remove <em>some</em> event listeners with <code>signal</code> in the viewer by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17964">mozilla/pdf.js#17964</a></li> <li>[Editor] Don't show the context menu when resizing by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17973">mozilla/pdf.js#17973</a></li> <li>Correctly update the xref table when an annotation is deleted by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17970">mozilla/pdf.js#17970</a></li> <li>Update dependencies and translations to the most recent versions by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17972">mozilla/pdf.js#17972</a></li> <li>Improve jpx decoding by around 20% in enabling simd support when compiling OpenJPEG by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17983">mozilla/pdf.js#17983</a></li> <li>[api-minor] Remove the image-related error message prefixes by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17979">mozilla/pdf.js#17979</a></li> <li>Use the pdf.js warn when using jpx decoder by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17985">mozilla/pdf.js#17985</a></li> <li>Extend the globally cached image main-thread copying to &quot;complex&quot; images as well (PR 17428 follow-up) by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17978">mozilla/pdf.js#17978</a></li> <li>Update <code>JpxImage.parseImageProperties</code> to support TypedArray data in IMAGE_DECODERS builds by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17977">mozilla/pdf.js#17977</a></li> <li>Add <code>signal</code>-support in the <code>EventBus</code>, and utilize it in the viewer (PR 17964 follow-up) by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17967">mozilla/pdf.js#17967</a></li> <li>Set correctly the change property for the event triggered when a choice list is changed by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17999">mozilla/pdf.js#17999</a></li> <li>Remove all <code>waitForTimeout</code> usage from the annotation integration tests by <a href="https://github.com/timvandermeij"><code>@​timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17969">mozilla/pdf.js#17969</a></li> <li>Validate explicit destinations on the worker-thread to prevent <code>DataCloneError</code> (issue 17981) by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17984">mozilla/pdf.js#17984</a></li> <li>Allow to insert several annotations under the same parent in the structure tree by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17986">mozilla/pdf.js#17986</a></li> <li>Always enable smoothing when rendering downscaled image by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/17868">mozilla/pdf.js#17868</a></li> <li>Simplify the way to pass the glyph drawing instructions from the worker to the main thread by <a href="https://github.com/calixteman"><code>@​calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/18015">mozilla/pdf.js#18015</a></li> <li>Validate additional font-dictionary properties by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/18014">mozilla/pdf.js#18014</a></li> <li>Add more validation of width-data by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/18017">mozilla/pdf.js#18017</a></li> <li>Reduce code-duplication when caching data in <code>CompiledFont.getPathJs</code> by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/18018">mozilla/pdf.js#18018</a></li> <li>Re-factor <code>SimpleLinkService</code> to extend <code>PDFLinkService</code> by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/18013">mozilla/pdf.js#18013</a></li> <li>[api-minor] Move the page reference/number caching into the API by <a href="https://github.com/Snuffleupagus"><code>@​Snuffleupagus</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/18001">mozilla/pdf.js#18001</a></li> </ul> <h2>v4.1.392</h2> <p>This release features improvements, bugfixes and optimizations for accessibility, annotation rendering, annotation editing, font rendering, form handling, image rendering, text selection and the viewer.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mozilla/pdf.js/commit/49b388101a53f1ff81390fab8336d02acf06a582"><code>49b3881</code></a> Merge pull request <a href="https://redirect.github.com/mozilla/pdf.js/issues/18001">#18001</a> from Snuffleupagus/api-pageRefCache</li> <li><a href="https://github.com/mozilla/pdf.js/commit/150964dd6d448ce9eb3f32689e576b33f3f86f3f"><code>150964d</code></a> Remove unnecessary check from <code>PDFLinkService.goToDestination</code> (PR 17984 foll...</li> <li><a href="https://github.com/mozilla/pdf.js/commit/f6cd03955b921c6cd5187f8f5e76d37f471560d1"><code>f6cd039</code></a> [api-minor] Move the page reference/number caching into the API</li> <li><a href="https://github.com/mozilla/pdf.js/commit/fa69d9a3bce242bc4ee3eed44a0c6eed5ce17d74"><code>fa69d9a</code></a> Inline the helper method in <code>PDFLinkService.goToDestination</code></li> <li><a href="https://github.com/mozilla/pdf.js/commit/3052e99f656664d3f1b93031f0f49f7f94bcf7e7"><code>3052e99</code></a> Merge pull request <a href="https://redirect.github.com/mozilla/pdf.js/issues/18013">#18013</a> from Snuffleupagus/SimpleLinkService-extends-PDFLin...</li> <li><a href="https://github.com/mozilla/pdf.js/commit/2b2ade78838946b4062f7d84de3a9320bf0b4cd4"><code>2b2ade7</code></a> Merge pull request <a href="https://redirect.github.com/mozilla/pdf.js/issues/18018">#18018</a> from Snuffleupagus/CompiledFont-tweak-caching</li> <li><a href="https://github.com/mozilla/pdf.js/commit/627fe2d82604ac0d2d6918b74cec13dff57fc86a"><code>627fe2d</code></a> Merge pull request <a href="https://redirect.github.com/mozilla/pdf.js/issues/18017">#18017</a> from Snuffleupagus/validate-widths</li> <li><a href="https://github.com/mozilla/pdf.js/commit/85ff8f34e22cc50de593e6bb7ec638356bc9e2a3"><code>85ff8f3</code></a> Reduce code-duplication when caching data in <code>CompiledFont.getPathJs</code></li> <li><a href="https://github.com/mozilla/pdf.js/commit/d411a072a45b2ed7c439748a72051cf921b28489"><code>d411a07</code></a> Add more validation of width-data</li> <li><a href="https://github.com/mozilla/pdf.js/commit/234067e745ea3682a4c7cb5d80649a95bf2e5bbc"><code>234067e</code></a> Merge pull request <a href="https://redirect.github.com/mozilla/pdf.js/issues/18014">#18014</a> from Snuffleupagus/validate-font-properties</li> <li>Additional commits viewable in <a href="https://github.com/mozilla/pdf.js/compare/v4.0.379...v4.2.67">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pdfjs-dist&package-manager=npm_and_yarn&previous-version=4.0.379&new-version=4.2.67)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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](https://github.com/hoarder-app/hoarder/network/alerts). </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:58:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1738
No description provided.