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

Bump jspdf from 2.1.0 to 2.3.1 #3249

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 21, 2024

Bumps jspdf from 2.1.0 to 2.3.1.

Release notes

Sourced from jspdf's releases.

v2.3.1

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

v2.3.0

A couple of bugfixes, improved font handling and faster compression.

  • #3026: Fix alignment of links created with textWithLink
  • #3032: Fix alignment of table headers
  • #3062: Fix a bug where the options.flags parameter was ignored by the text method and consequently had the wrong defaults. This lead to garbled characters sometimes and was a regression to 1.5.3.
  • #3014: Add typings for internal events API
  • #3036: Support for numeric font weights and separation of font weight and font style
  • #3040: New fontFaces option for the html method that allows to add fonts similar CSS @font-face rules (no addFont calls required anymore). When supplied, fonts are resolved using the CSS 3 font loading algorithm.
  • #3054: replace pako library with fflate leading to faster compression and smaller bundle sizes.

v2.2.0

Incorporates many of the awesome contributions in context of the Hacktoberfest. Thanks to all the contributors!

  • #2944: Fix PDF compression. Special thanks to @​markotaht!
  • #2959: Add support for PDF encryption. Special thanks to @​owenl131!
  • #3018: Fix font name escaping
  • #3017: Fix dependencies in bower.json
  • #3014: Added typings for the events API
  • #2982: Bump dompurify version to fix cve-2020-7691
  • #2981: Fix Canvg import
  • #2946: Remove API, that was removed in the 2.0.0 release, also from the typings
  • #2943: Fix links on pages with different size than the first page
  • #2942: Fix multiline texts in combination with the maxWidth text option
  • #2933, #3021: Fix typings of exported types like ImageCompression
  • #2915: Fix documentation of text method
  • #2906: Fix "Could not load <module>" error messages
  • #2905: Fix usages of atob/btoa in Internet Explorer and "old Edge"

v2.1.1

  • #2893, #2880: Fixed html() typings and JSDoc documentation
  • #2884: Fix type of events in typings
  • #2881: Fix building jsPDF with Parcel v2
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [jspdf](https://github.com/MrRio/jsPDF) from 2.1.0 to 2.3.1.
- [Release notes](https://github.com/MrRio/jsPDF/releases)
- [Changelog](https://github.com/parallax/jsPDF/blob/master/RELEASE.md)
- [Commits](https://github.com/MrRio/jsPDF/commits/v2.3.1)

---
updated-dependencies:
- dependency-name: jspdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from mbrn as a code owner August 21, 2024 18:28
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 21, 2024
@froston
Copy link

froston commented Sep 10, 2024

Hey, there is a high severity vulnerability in jspdf fixed in v2.3.1 (eDoS is possible via the addImage function). Will this be merged any soon? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant