[Snyk] Upgrade pdfkit from 0.11.0 to 0.17.2#19
Closed
Conversation
Snyk has created this PR to upgrade pdfkit from 0.11.0 to 0.17.2. See this package in npm: pdfkit See this project in Snyk: https://app.snyk.io/org/grhawkeye/project/08c08ddb-2c5a-420c-978b-f5fc6fe3624c?utm_source=github&utm_medium=referral&page=upgrade-pr
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the pdfkit dependency from version 0.11.0 to 0.17.2 to address a security vulnerability (SNYK-JS-CRYPTOJS-6028119) related to weak hash usage in the crypto-js dependency. The upgrade spans 13 versions and includes numerous bug fixes, performance improvements, and security enhancements.
Key Changes:
- Security fix for weak hash vulnerability in crypto-js
- Updated pdfkit to version 0.17.2 with improved text rendering, font handling, and PDF generation capabilities
- Compatibility maintained with project's Node.js requirements (20-24)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This PR has been automatically marked as |
|
This PR was closed because it has been stalled for 14 days with no activity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 pdfkit from 0.11.0 to 0.17.2.
ℹ️ 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 13 versions ahead of your current version.
The recommended version was released 2 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-CRYPTOJS-6028119
Release notes
Package name: pdfkit
-
0.17.2 - 2025-08-30
- Fix rendering lists that spans across pages
-
0.17.1 - 2025-05-03
- Fix null values in table cells rendering as
- Fix further LineWrapper precision issues
- Optmize standard font handling. Less code, less memory usage
-
0.17.0 - 2025-04-12
- Fix precision rounding issues in LineWrapper
- Fix fonts without a postscriptName
- Add support for dynamic sizing
- Add support for rotatable text
- Fix page cascade options when text overflows
- Add table generation
- Fix y position when using
- Improve Prettier configuration
-
0.16.0 - 2024-12-29
- Update fontkit to 2.0
- Update linebreak to 1.1
- Add support for spot colors
- Add support to scale text horizontally
- Add an option to keep the indentation after a new line starts and allow to indent a whole paragraph/text element
- Add
- Fix sets tab order to "Structure" when a document is tagged
- Fix font cache collision for fonts with missing postscript name or bad TTF metadata or identical metadata for different fonts
- Fix for embedding fonts into PDF (font name must not contain spaces)
- Fix measuring text when OpenType features are passed in to .text()
-
0.15.2 - 2024-12-15
- Fix index not counting when rendering ordered lists (#1517)
- Fix PDF/A3 compliance of attachments
- Fix CIDSet generation only for PDF/A1 subset
- Fix missing acroform font dictionary
- Fix modify time comparison check equality embedded files
-
0.15.1 - 2024-10-30
- Fix browserify transform sRGB_IEC61966_2_1.icc file
- Fix time comparison check equality embedded files
-
0.15.0 - 2024-03-24
- Add subset for PDF/UA
- Fix for line breaks in list items (#1486)
- Fix for soft hyphen not being replaced by visible hyphen if necessary (#457)
- Optimize output files by ignoring identity transforms
- Fix for Acroforms - setting an option to false will still apply the flag (#1495)
- Fix for text extraction in PDFium-based viewers due to invalid ToUnicodeMap (#1498)
- Remove deprecated
- Drop support for Node.js < 18 and for browsers released before 2020
-
0.14.0 - 2023-11-09
- Add support for PDF/A-1b, PDF/A-1a, PDF/A-2b, PDF/A-2a, PDF/A-3b, PDF/A-3a
- Update crypto-js to v4.2.0 (properly fix security issue)
-
0.13.0 - 2021-10-24
- Add tiling pattern support
-
0.12.3 - 2021-08-01
-
0.12.2 - 2021-08-01
-
0.12.1 - 2021-04-10
-
0.12.0 - 2021-04-04
-
0.11.0 - 2019-12-10
from pdfkit GitHub release notes[object Object]image()without x and y coordinatesNameproperty for set custom icon fornote()writemethodv0.12.3
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: