[Snyk] Upgrade pdfjs-dist from 4.8.69 to 4.10.38 #1168
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.10.38.
ℹ️ 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 3 versions ahead of your current version.
The recommended version was released 3 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-SEMVER-3247795
Release notes
Package name: pdfjs-dist
This release contains improvements for accessibility, the annotation editor, font conversion, performance, SMasks and the viewer.
Changes since v4.9.155
pdfjs.config
by @ timvandermeij in #19178PDFNetworkStream
(issue 19075) by @ Snuffleupagus in #19114PDFFindBar
options with theEnter
key (issue 19175) by @ Snuffleupagus in #19185issue14307.pdf
integration tests by @ timvandermeij in #19192userUnit
into account in thePageViewport
class (issue 19176) by @ Snuffleupagus in #19196Path2D
glyph-objects by @ Snuffleupagus in #19200getDocument
options (PR 18776 follow-up) by @ Snuffleupagus in #192244.10
by @ Snuffleupagus in #19225AbortSignal.any
is unsupported (PR 19216 follow-up) by @ Snuffleupagus in #19226handle reading ranges with missing/invalid "Content-Range" header
unit-test in Google Chrome (PR 19114 follow-up) by @ Snuffleupagus in #19237startWorkerTask
calls in the "SaveDocument" handler by @ Snuffleupagus in #19246if
-statements in thesrc/core/
folder by @ Snuffleupagus in #19260glyphNameMap
parameter fromType2Compiled
by @ Snuffleupagus in #19263fontMatrix
is always valid incompileGlyph
by @ Snuffleupagus in #19262requestRange
/requestFull
methods from theNetworkManager
class by @ Snuffleupagus in #19273This 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