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 jspdf from 2.3.1 to 2.5.0 #39

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

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade jspdf from 2.3.1 to 2.5.0.

merge advice
ℹ️ 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 a month ago, on 2021-12-21.
Release notes
Package name: jspdf
  • 2.5.0 - 2021-12-21

    This release adds some minor new features and fixes some bugs, e.g. related to multiline text. Thanks to all contributors!

    New Features

    • #3324 add getLineWidth function
    • #3294: add horizontalScale option to text function

    Bugfixes

    • #3271: fix html function only rendering on the first invocation per document
    • #3304, #3295: fix context2D.closePath (now properly closes the path)
    • #3274: fix Acroform text fields with multiline text
    • #3281: fix textWithLink for multiline text
    • #3283: fix lineHeightFactor in text options having no effect
    • #3302: fixes to html typings
    • #3272: fix return type of save function in typings (promise overload)
  • 2.4.0 - 2021-09-14

    This release brings long awaited improvements to the html function and many other bugfixes and improvements. Thanks to all contributors!

    • #3203: Add width and windowWidth options to the html method, which will make correct scaling much easier.
    • #2977: Add/implement margin option for html method and add autoPaging option with two different modes: 'slice' and 'text'.
    • #3169: Add setLineDash and lineDashOffset to context2d.
    • #3039: Add rowStart and cellStart events and headerTextColor property to `table' function
    • #3132: Fix possibly negative line widths in context2d.
    • #3217: Fix setFont with fontWeight parameter for the built-in basic fonts
    • #3173: Fix violation of strict mode.
    • #3121: Improve addImage performance.
    • #3124: Allow to pass RGBA array to addImage.
    • #3135: Fix possibly imbalanced render target stack with form objects.
    • #3148: Add getDrawColor function to typings.
    • #3149: Fix font name escaping.
    • #3150: Throw an error when a zero size canvas is passed to addImage.
    • #3168: Fix word spacing after justified text.
    • #3215: Fix nullability of style arguments of geometry methods.
    • #3108: Complete the jsPDFOptions type in the typings.
    • #3119: Improve typings of the output function.
  • 2.3.1 - 2021-03-09

    Small bugfixes. Thanks to all contributors!

    • #3073: fix HTMLAnchorElement is not defined in file saver
    • #3078: fix exception in getTextDimensions() with maxWidth set
    • #3087: fix typings of table() function
    • #3091: fix ReDos vulnerability in addImage function
    • #3099: improve documentation of output function
from jspdf GitHub release notes
Commit messages
Package name: jspdf
  • edd59d8 2.5.0
  • bcd9900 update contributing guidelines (#3341)
  • e2d687c Implement getLineWidth function (#3324)
  • 8094918 Fix closePath by using PDF command (#3304)
  • 99927b0 UPDATE: textWithLink method to cover multi-line annotated text (#3281)
  • 65f4027 Fixes to types (#3302)
  • f5a19b0 Support for text with newlines in Acroform TextFields (#3298)
  • af2d39d Bugfix arc closepath (#3295)
  • babeb35 Add horizontal scale option for text (#3294)
  • 57120de Fix not rendering multiple calls to html() (#3271)
  • cda5694 fix passing lineHeightFactor to the text method (#3283)
  • 57d6fb2 Ran npm run prettier to reformat code. (#3141)
  • 99cbee4 Fix: Add Promise as return type to save method (#3272)
  • 30880b4 2.4.0
  • 5f52ff8 improve issue template (#3262)
  • 1daef93 Add margins functionality and autoPaging modes to html function (#2977)
  • 574c6f0 table method: add event for start printing row and cell (#3039)
  • 18c56bf Add 'width' and 'windowWidth' options to the html method (#3203)
  • eb1326a Fix: no violation of 'strict mode' (#3173)
  • b6ed102 Feature/add rgba array support (#3124)
  • 54a0ce9 Remove invalid unit from documentation and add valid units pc, em and ex (#3189)
  • a86d6ce fix nullability of style arguments of geometry methods (#3215)
  • 0ea7418 fix combining font style and font weight for all sorts of combinations (#3217)
  • 3dd3375 Problem with webp not working (#3227)

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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.

1 participant