Skip to content

[Snyk] Fix for 1 vulnerabilities#4

Open
rek72-zz wants to merge 1 commit intomasterfrom
snyk-fix-a7be1629ee57ec2b732aeea52ee59b2f
Open

[Snyk] Fix for 1 vulnerabilities#4
rek72-zz wants to merge 1 commit intomasterfrom
snyk-fix-a7be1629ee57ec2b732aeea52ee59b2f

Conversation

@rek72-zz
Copy link
Owner

@rek72-zz rek72-zz commented Mar 9, 2021

Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
medium severity 688/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.9
Regular Expression Denial of Service (ReDoS)
SNYK-JS-JSPDF-1073626
Yes Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: jspdf The new version differs by 250 commits.
  • 9b8f1e9 2.3.1
  • 20f271a Docs: improve output documentation (#3099)
  • d8bb3b3 fix ReDoS-vulnerable regexp in addImage (#3091)
  • c91995d Fix: Wrong TypeScript type in jsPDF.table (#3086) (#3087)
  • 3592fc2 fix: scope is not defined in getTextDimensions (#3078)
  • ef70f92 fix(FileSaver): HTMLAnchorElement is not defined (#3073)
  • 63f89d4 update package-lock.json (#3065)
  • 53ca33b 2.3.0
  • 102f370 Merge pull request #3062 from HackbrettXXX/fix-text-encoding-flags
  • b686db7 fix text encoding flags
  • edab14a Added typings for internal events API (#3014)
  • 6579099 Resolve fonts using CSS Level 3 algorithm when using html() (#3040)
  • 75e6ed7 Replace zlib.js and pako with fflate (#3054)
  • ec7e835 Merge pull request #3047 from HackbrettXXX/fix-instable-encryption-tests
  • 6e9ce29 fix 'jsPDF is not defined" exceptions in fontWeight tests
  • 07a3569 fix instable encryption tests
  • 7403adb Add fonts with different font-weights (#3036)
  • 451e131 fix textWithLink alignment (#3026)
  • c0f6c54 Fix table header alignment (#3032)
  • e834724 add a PR template that links to the contribution guidelines (#3035)
  • f2c578f 2.2.0
  • fb76604 fix escaping of font names (#3018)
  • a2a4474 replace exported enum types by string unions (#3021)
  • 1f23740 Replace Deflater with pako (#2944)

See the full diff

Package name: jspdf-autotable The new version differs by 143 commits.
  • ef97018 2.2.0
  • 81812eb Fix warnings and updated docs for v2.2
  • 94a3c70 Added back autoTableAddPage for backwards compatibility
  • 113173d Change from textContent to innerText
  • 0726de8 Remove rowHeight and fix full support for vertical cell padding
  • 988c7d6 Fix for webpack dev server
  • 9372663 Add experimental html parser for v3
  • 4eea8fd Typescript conversion
  • 9891372 Use class properties instead of constructor auto init
  • 3486d1b Reduce size by removing and coding around little used polyfills
  • 675bd40 Fix warnings
  • 18ea611 First step in refactor
  • b077e10 Move state to Config class (and cursor to jspdf document)
  • cbe0325 Change variable declarations to let
  • 835a9ed Enable cellPadding, refactor style override and simplify width calculation
  • 338a6a2 Further examples update
  • bc08fdc Further examples updates
  • cdadc4d Examples updates
  • 92162f9 Add showHeader option
  • d3c8925 Update examples to default mm unit
  • eedff3f Support for all units
  • 3d21a38 Fix for when when row spans multiple pages (now splits rows).
  • 4fb63b3 Fix caching issue for dev server
  • 23d88e5 Set the html table cell as `cell.raw` instead of just the text when using `autoTableHtmlToJson`. Closes #152.

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-JSPDF-1073626
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