Fix intermittent failure in the "must check that the computed value is correct" scripting integration test by @timvandermeij in mozilla/pdf.js#20134
Disable printing when enablePermission is true and the pdf isn't allowed to be printed (bug 1978985) by @calixteman in mozilla/pdf.js#20129
[Editor] Highlight text on a selectionchange event which hasn't been triggered by the pointer or the keyboard (bug 1976597) by @calixteman in mozilla/pdf.js#20138
Trigger a fake scrollend event in case it hasn't been triggered by the browser (bug 1957680) by @calixteman in mozilla/pdf.js#20142
Implement a delay for Chrome protocol calls in the integration tests, and skip the "must check that an existing highlight is ignored on hovering" integration test on Windows by @timvandermeij in mozilla/pdf.js#20126
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)
🔄 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/open-webui/open-webui/pull/17089
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 9/1/2025
**Status:** ✅ Merged
**Merged:** 9/1/2025
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `dependabot/npm_and_yarn/dev/pdfjs-dist-5.4.149`
---
### 📝 Commits (1)
- [`0e0c1c4`](https://github.com/open-webui/open-webui/commit/0e0c1c4ca422cdeaf0eb99e9a444b6b7fe74f496) build(deps): bump pdfjs-dist from 5.3.93 to 5.4.149
### 📊 Changes
**2 files changed** (+49 additions, -49 deletions)
<details>
<summary>View changed files</summary>
📝 `package-lock.json` (+48 -48)
📝 `package.json` (+1 -1)
</details>
### 📄 Description
Bumps [pdfjs-dist](https://github.com/mozilla/pdf.js) from 5.3.93 to 5.4.149.
<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>v5.4.149</h2>
<p>This release contains improvements for the annotation editor, performance, printing and the viewer.</p>
<h2>Changes since v5.4.54</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/20124">mozilla/pdf.js#20124</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/20125">mozilla/pdf.js#20125</a></li>
<li>[Editor] Add a floating button in order to highlight the text selection and add a comment (bug 1979381) by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20119">mozilla/pdf.js#20119</a></li>
<li>Add regression test for PR 19639 by <a href="https://github.com/maettuu"><code>@maettuu</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20109">mozilla/pdf.js#20109</a></li>
<li>Add comment-* images when building components by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20128">mozilla/pdf.js#20128</a></li>
<li>[Editor] Remove useless css and use a defined but unused property by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20131">mozilla/pdf.js#20131</a></li>
<li>[Editor] Remove unused property by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20132">mozilla/pdf.js#20132</a></li>
<li>Fix intermittent failure in the "must check that the computed value is correct" 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/20134">mozilla/pdf.js#20134</a></li>
<li>Disable printing when enablePermission is true and the pdf isn't allowed to be printed (bug 1978985) by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20129">mozilla/pdf.js#20129</a></li>
<li>[Editor] Highlight text on a selectionchange event which hasn't been triggered by the pointer or the keyboard (bug 1976597) by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20138">mozilla/pdf.js#20138</a></li>
<li>Trigger a fake scrollend event in case it hasn't been triggered by the browser (bug 1957680) by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20142">mozilla/pdf.js#20142</a></li>
<li>Lazy initialize FinalizationRegistry used by IccColorSpace.#finalizer by <a href="https://github.com/fnlctrl"><code>@fnlctrl</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20148">mozilla/pdf.js#20148</a></li>
<li>Make horizontal padding relative to device width by <a href="https://github.com/Aditi-1400"><code>@Aditi-1400</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20093">mozilla/pdf.js#20093</a></li>
<li>Mark <code>canvasContext</code> as optional by <a href="https://github.com/k-nut"><code>@k-nut</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20149">mozilla/pdf.js#20149</a></li>
<li>Update l10n files by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20159">mozilla/pdf.js#20159</a></li>
<li>Bump actions/checkout from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20161">mozilla/pdf.js#20161</a></li>
<li>Check the setDash arguments by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20160">mozilla/pdf.js#20160</a></li>
<li>[Editor] Avoid to use a null signal when setting listeners in the editor toolbar by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20166">mozilla/pdf.js#20166</a></li>
<li>[Editor] Correctly hide deleted annotations by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20164">mozilla/pdf.js#20164</a></li>
<li>Implement a delay for Chrome protocol calls in the integration tests, and skip the "must check that an existing highlight is ignored on hovering" integration test on Windows by <a href="https://github.com/timvandermeij"><code>@timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20126">mozilla/pdf.js#20126</a></li>
<li>Update Firefox preferences for testing by <a href="https://github.com/timvandermeij"><code>@timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20171">mozilla/pdf.js#20171</a></li>
<li>[Editor] Add the ability to get all the editable annotations in a pdf document by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20167">mozilla/pdf.js#20167</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/20169">mozilla/pdf.js#20169</a></li>
<li>Use Firefox stable for the tests because bug 1983414 by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20178">mozilla/pdf.js#20178</a></li>
<li>Add logic to track rendering area of various PDF ops by <a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/19043">mozilla/pdf.js#19043</a></li>
<li>Use Firefox nightly with puppeteer by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20186">mozilla/pdf.js#20186</a></li>
<li>[Editor] Make sure the resizers are on top of the editor content by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20183">mozilla/pdf.js#20183</a></li>
<li>Use the cached annotations when collecting them by types by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20184">mozilla/pdf.js#20184</a></li>
<li>[Editor] Move the comment button just before the delete one by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20180">mozilla/pdf.js#20180</a></li>
<li>[Editor] Add a Rect entry to a saved popup in order to avoid to have an invalid pdf by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20179">mozilla/pdf.js#20179</a></li>
<li>Use WebDriver BiDi for Chrome by <a href="https://github.com/timvandermeij"><code>@timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20188">mozilla/pdf.js#20188</a></li>
<li>[Editor] Don't use a null signal for the comment button by <a href="https://github.com/timvandermeij"><code>@timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20189">mozilla/pdf.js#20189</a></li>
<li>Update puppeteer to 24.17.0 by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20187">mozilla/pdf.js#20187</a></li>
<li>[Editor] Add a button to the annotation having a popup in order to edit it by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20182">mozilla/pdf.js#20182</a></li>
<li>Don't iterate over all empty slots in the xref entries (bug 1980958) by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20170">mozilla/pdf.js#20170</a></li>
<li>Improve the selection check in the "doesn't jump when moving selection" integration test by <a href="https://github.com/timvandermeij"><code>@timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20190">mozilla/pdf.js#20190</a></li>
<li>[Editor] Change the icon for inline comments by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20194">mozilla/pdf.js#20194</a></li>
<li>Add a method goToXY in PDFLinkService in order to scroll the document at a given location by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20191">mozilla/pdf.js#20191</a></li>
<li>Skip the curvature ink editor integration test for Chrome on Windows by <a href="https://github.com/timvandermeij"><code>@timvandermeij</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20195">mozilla/pdf.js#20195</a></li>
<li>[Editor] Add a method to get an editor rect in the pdf page coordinates by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20196">mozilla/pdf.js#20196</a></li>
<li>[Editor] Remove useless CSS and fix styling for the comment button by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20200">mozilla/pdf.js#20200</a></li>
<li>[Editor] Fix the dimensions of the comment icon by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20209">mozilla/pdf.js#20209</a></li>
<li>[Editor] Fix unit (for consistency) and remove few useless px by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20211">mozilla/pdf.js#20211</a></li>
<li>Reset editing mode when changing the pdf document by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20212">mozilla/pdf.js#20212</a></li>
<li>[Editor] Add a sidebar allowing the user to navigate between the comments in a pdf (bug 1985567) by <a href="https://github.com/calixteman"><code>@calixteman</code></a> in <a href="https://redirect.github.com/mozilla/pdf.js/pull/20210">mozilla/pdf.js#20210</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/mozilla/pdf.js/commit/9e2e9e20968051a267683ba8a6f71d6a64e5aee7"><code>9e2e9e2</code></a> Merge pull request <a href="https://redirect.github.com/mozilla/pdf.js/issues/20210">#20210</a> from calixteman/comment_sidebar</li>
<li><a href="https://github.com/mozilla/pdf.js/commit/a2d4b259c56573c59a6411c16832a2d50dc1880b"><code>a2d4b25</code></a> Merge pull request <a href="https://redirect.github.com/mozilla/pdf.js/issues/20212">#20212</a> from calixteman/reset_mode</li>
<li><a href="https://github.com/mozilla/pdf.js/commit/25990e4287a1f46cb1bb57a15c122061dd8cba0b"><code>25990e4</code></a> [Editor] Add a sidebar allowing the user to navigate between the comments in ...</li>
<li><a href="https://github.com/mozilla/pdf.js/commit/3e01ee9bb778d05b589ed64794a5d60d65ae5888"><code>3e01ee9</code></a> Reset editing mode when changing the pdf document</li>
<li><a href="https://github.com/mozilla/pdf.js/commit/13ba311e5acfd018825cef627b31596c4167f245"><code>13ba311</code></a> Merge pull request <a href="https://redirect.github.com/mozilla/pdf.js/issues/20211">#20211</a> from calixteman/fix_css_unit</li>
<li><a href="https://github.com/mozilla/pdf.js/commit/53c37547f0459a2b336ed2b83925b1bf0a03897a"><code>53c3754</code></a> Merge pull request <a href="https://redirect.github.com/mozilla/pdf.js/issues/20209">#20209</a> from calixteman/fix_comment_icon</li>
<li><a href="https://github.com/mozilla/pdf.js/commit/0a4817fb712bf4abc77be8f0335da50af8cf0b76"><code>0a4817f</code></a> [Editor] Fix unit (for consistency) and remove few useless px</li>
<li><a href="https://github.com/mozilla/pdf.js/commit/1876013e4e6c654797ae877b8d5e509c989802ce"><code>1876013</code></a> [Editor] Fix the dimensions of the comment icon</li>
<li><a href="https://github.com/mozilla/pdf.js/commit/e37a58f978ceab2d57129f2efe6ead3a8ecffbd1"><code>e37a58f</code></a> Merge pull request <a href="https://redirect.github.com/mozilla/pdf.js/issues/20200">#20200</a> from calixteman/remove_useless_css2</li>
<li><a href="https://github.com/mozilla/pdf.js/commit/e44e470eb232c0762a90b8b61a90bb277c9239bf"><code>e44e470</code></a> [Editor] Remove useless CSS and fix styling for the comment button</li>
<li>Additional commits viewable in <a href="https://github.com/mozilla/pdf.js/compare/v5.3.93...v5.4.149">compare view</a></li>
</ul>
</details>
<br />
[](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)
</details>
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/17089
Author: @dependabot[bot]
Created: 9/1/2025
Status: ✅ Merged
Merged: 9/1/2025
Merged by: @tjbck
Base:
dev← Head:dependabot/npm_and_yarn/dev/pdfjs-dist-5.4.149📝 Commits (1)
0e0c1c4build(deps): bump pdfjs-dist from 5.3.93 to 5.4.149📊 Changes
2 files changed (+49 additions, -49 deletions)
View changed files
📝
package-lock.json(+48 -48)📝
package.json(+1 -1)📄 Description
Bumps pdfjs-dist from 5.3.93 to 5.4.149.
Release notes
Sourced from pdfjs-dist's releases.
... (truncated)
Commits
9e2e9e2Merge pull request #20210 from calixteman/comment_sidebara2d4b25Merge pull request #20212 from calixteman/reset_mode25990e4[Editor] Add a sidebar allowing the user to navigate between the comments in ...3e01ee9Reset editing mode when changing the pdf document13ba311Merge pull request #20211 from calixteman/fix_css_unit53c3754Merge pull request #20209 from calixteman/fix_comment_icon0a4817f[Editor] Fix unit (for consistency) and remove few useless px1876013[Editor] Fix the dimensions of the comment icone37a58fMerge pull request #20200 from calixteman/remove_useless_css2e44e470[Editor] Remove useless CSS and fix styling for the comment buttonDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.