Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade pdfkit from 0.13.0 to 0.16.0 #1237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FaroukAmr
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade pdfkit from 0.13.0 to 0.16.0.

ℹ️ 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 a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Use of Weak Hash
SNYK-JS-CRYPTOJS-6028119
574 No Known Exploit
Release notes
Package name: pdfkit
  • 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 Name property for set custom icon for note()
    • 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 write method
    • 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
from pdfkit GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • Snyk has automatically assigned this pull request, set who gets assigned.

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:

Snyk has created this PR to upgrade pdfkit from 0.13.0 to 0.16.0.

See this package in npm:
pdfkit

See this project in Snyk:
https://app.snyk.io/org/faroukamr/project/dc39063e-0f74-4a21-860b-c5ff7f29e1ed?utm_source=github&utm_medium=referral&page=upgrade-pr
@FaroukAmr FaroukAmr self-assigned this Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants