[Snyk] Upgrade pdfjs-dist from 4.8.69 to 4.9.155 #1165
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade pdfjs-dist from 4.8.69 to 4.9.155.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 2 versions ahead of your current version.
The recommended version was released on a day ago.
Issues fixed by the recommended upgrade:
SNYK-JS-SEMVER-3247795
Release notes
Package name: pdfjs-dist
This release primarily contains a bugfix for a Node.js-specific regression in the previous release; see #19145 and #19149 for context. Moreover, improvements for the annotation editor are included.
Changes since v4.9.124
pdfjs.config
by @ timvandermeij in #19139Promise.try()
usage in the code-base by @ Snuffleupagus in #19161.toggleButton
, as used in the findbar, always have visible hover/focus state (issue 19165) by @ Snuffleupagus in #19172import.meta.url
statements during building (issue 19145) by @ Snuffleupagus in #19149This release contains improvements for the annotation editor, form rendering, image conversion, text selection and the viewer.
Changes since v4.8.69
pdfjs.config
by @ timvandermeij in #18994toBase64Util
helper function in the unit-tests by @ Snuffleupagus in #18999XRef.indexObjects
(issue 18986) by @ Snuffleupagus in #19007src/core/core_utils.js
by @ Snuffleupagus in #19005test/unit/api_spec.js
by @ Snuffleupagus in #190034.9
by @ Snuffleupagus in #19002Page.prototype.userUnit
getter slightly by @ Snuffleupagus in #19019canvas
package with@ napi-rs/canvas
by @ Snuffleupagus in #19015PartialEvaluator
helper for fetching CMap and Standard Font data by @ Snuffleupagus in #19021getDocument
option to disableImageDecoder
usage by @ Snuffleupagus in #19031extensions/chromium/.eslintrc
file (PR 19029 follow-up) by @ Snuffleupagus in #19052no-var
rule in thesrc/core/evaluator.js
file by @ Snuffleupagus in #19050no-console
rule in parts of the code-base by @ Snuffleupagus in #19042extendCMap
(PR 5101 follow-up) by @ Snuffleupagus in #19057Dict
-implementation to use aMap
internally by @ Snuffleupagus in #19051#_hcmCache
-data inDOMFilterFactory.prototype.destroy
by @ Snuffleupagus in #19059ImageDecoder
usage by default in Chromium browsers by @ Snuffleupagus in #19045unicorn/no-single-promise-in-promise-methods
ESLint plugin rule by @ Snuffleupagus in #19071getUuid
helper function by @ Snuffleupagus in #19084getPdfManager
function to be asynchronous by @ Snuffleupagus in #19091stopEvent
helper function everywhere possible by @ Snuffleupagus in #19121src/display/api.js
file by @ Snuffleupagus in #19135WorkerMessageHandler
class a little bit by @ Snuffleupagus in #19136getPage
call inPDFDocumentProperties
class by @ Snuffleupagus in #19137This release contains improvements for the annotation editor, font conversion, form rendering, image conversion and the viewer.
Changes since v4.7.76
pdfjs.config
by @ timvandermeij in #18858PDFDocument.fieldObjects
getter by @ Snuffleupagus in #18871PDFViewer
, withAbortSignal.any()
by @ Snuffleupagus in #18873ColorPicker
event listeners withAbortSignal.any()
(PR 18586 follow-up) by @ Snuffleupagus in #18874PDFDateString
class by