[Snyk] Upgrade pdfjs-dist from 4.0.269 to 4.4.168 #4
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.0.269 to 4.4.168.
ℹ️ 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 5 versions ahead of your current version.
The recommended version was released on a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-PDFJSDIST-6810403
Release notes
Package name: pdfjs-dist
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
pdfjs.config
by @ timvandermeij in #18182gulp
to version 5.0.0 by @ timvandermeij in #18197DownloadManager.download
to use Uint8Array-data by @ Snuffleupagus in #18216#finishRendering
helper inTextLayerBuilder.prototype.render
by @ Snuffleupagus in #18217DownloadManager.downloadUrl
method by @ Snuffleupagus in #18236gulp-cli
globally in the README and on the website by @ timvandermeij in #18247src/display/api.js
file by @ Snuffleupagus in #18250eslint-plugin-unicorn
to version 54.0.0 by @ timvandermeij in #18278tweakWebpackOutput
to support minified-legacy builds (issue 18290) by @ Snuffleupagus in #18292maxCanvasPixels
when computing canvas dimensions by @ nicolo-ribaudo in #18218FlateStream
(issue 18298) by @ Snuffleupagus in #18304PDFFindBar
when closing the viewer during testing by @ Snuffleupagus in #18302waitForEvent
integration test helper function by @ timvandermeij in #18325waitForEvent
in thepasteFromClipboard
integration test helper function by @ timvandermeij in #18326requestAnimationFrame
work-around inL10n.prototype.destroy
(PR 18313 follow-up) by @ Snuffleupagus in #18333waitForEvent
integration test helper function by @ timvandermeij in #18331requestAnimationFrame
in thewatchScroll
helper (PR 18193 follow-up) by @ Snuffleupagus in #18335requestAnimationFrame
in the API when cancelling rendering by @ Snuffleupagus in #18336test/webserver.mjs
being development-only code by @ Snuffleupagus in #18346npm publish
warnings about thepackage.json
format by @ timvandermeij in #18350npm ci
, notnpm install
, on CI by @ wojtekmaj in #18353package.json
file forpdfjs-dist
by @ timvandermeij in #18358This release contains improvements for performance, image rendering, text selection, annotation editing, accessibility, handling of corrupted documents, integration with third-party frameworks (see #17245) and the viewer.
Changes since v4.2.67
pdfjs.config
by @ timvandermeij in #180234.3
by @ Snuffleupagus in #18033FileSpec
implementation by @ Snuffleupagus in #18034waitForTimeout
usage from the freetext editor integration tests by