Skip to content

Bump cairosvg from 2.1.3 to 2.5.1#301

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/cairosvg-2.5.1
Closed

Bump cairosvg from 2.1.3 to 2.5.1#301
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/cairosvg-2.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 6, 2021

Copy link
Copy Markdown
Contributor

Bumps cairosvg from 2.1.3 to 2.5.1.

Release notes

Sourced from cairosvg's releases.

2.5.1

WARNING: this is a security update.

When processing SVG files, CairoSVG was using two regular expressions which are vulnerable to Regular Expression Denial of Service (REDoS).

If an attacker provided a malicious SVG, it could make CairoSVG get stuck processing the file for a very long time.

Other bug fixes:

  • Fix marker positions for unclosed paths
  • Follow hint when only output_width or output_height is set
  • Handle opacity on raster images
  • Don’t crash when use tags reference unknown tags
  • Take care of the next letter when A/a is replaced by l
  • Fix misalignment in node.vertices

2.5.0

  • Drop support of Python 3.5, add support of Python 3.9.
  • Add EPS export
  • Add background-color, negate-colors, and invert-images options
  • Improve support for font weights
  • Fix opacity of patterns and gradients
  • Support auto-start-reverse value for orient
  • Draw images contained in defs
  • Add Exif transposition support
  • Handle dominant-baseline
  • Support transform-origin

2.4.2

  • Fix race condition in tests
  • Fix scale for images with no viewBox

2.4.1

  • Fix the --scale parameter
  • Allow href attributes with no namespace
  • Fix the tree root detection

2.4.0

  • Fix aspect and position when resizing root SVG tag
  • Follow aspect and position hints when using forced output size

2.3.1

  • Fix relative paths on Windows

2.3.0

  • Drop Python 3.4 support
  • Make text selectable on generated PDF files
  • Don't inherit dx and dy attributes
  • Fix support of alignment-baseline="hanging"
  • Fix backslashes in docstrings and comments

... (truncated)

Changelog

Sourced from cairosvg's changelog.

Version 2.5.1 released on 2021-01-06

WARNING: this is a security update.

When processing SVG files, CairoSVG was using two regular expressions which are vulnerable to Regular Expression Denial of Service (REDoS).

If an attacker provided a malicious SVG, it could make CairoSVG get stuck processing the file for a very long time.

Other bug fixes:

  • Fix marker positions for unclosed paths
  • Follow hint when only output_width or output_height is set
  • Handle opacity on raster images
  • Don’t crash when use tags reference unknown tags
  • Take care of the next letter when A/a is replaced by l
  • Fix misalignment in node.vertices

Version 2.5.0 released on 2020-10-29

  • Drop support of Python 3.5, add support of Python 3.9.
  • Add EPS export
  • Add background-color, negate-colors, and invert-images options
  • Improve support for font weights
  • Fix opacity of patterns and gradients
  • Support auto-start-reverse value for orient
  • Draw images contained in defs
  • Add Exif transposition support
  • Handle dominant-baseline
  • Support transform-origin

Version 2.4.2 released on 2019-09-10

  • Fix race condition in tests
  • Fix scale for images with no viewBox

Version 2.4.1 released on 2019-08-21

  • Fix the --scale parameter
  • Allow href attributes with no namespace
  • Fix the tree root detection

... (truncated)

Commits
  • 44c5d42 Version 2.5.1
  • cfc9175 Merge pull request from GHSA-hq37-853p-g5cf
  • 063185b Don’t use overlapping groups for regular expressions
  • 9c4a982 Take care of the next letter when A/a is replaced by l
  • f0edc6e Don’t crash when use tags reference unknown tags
  • 73349a7 Handle opacity on raster images
  • dcfbca4 Merge pull request #254 from yig/master
  • 1d61bfd Merge branch 'master' into master
  • 83c0b83 Follow hint when only output_width or output_height is set
  • 6b4f2ba Fix angle for absolute vertical lines
  • Additional commits viewable in compare view

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 6, 2021
@codecov-io

codecov-io commented Jan 6, 2021

Copy link
Copy Markdown

Codecov Report

Merging #301 (250995e) into master (6a21695) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #301   +/-   ##
=======================================
  Coverage   85.32%   85.32%           
=======================================
  Files          18       18           
  Lines         293      293           
=======================================
  Hits          250      250           
  Misses         43       43           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a21695...250995e. Read the comment docs.

@dependabot dependabot Bot force-pushed the dependabot/pip/cairosvg-2.5.1 branch from 54c4321 to 250995e Compare January 13, 2021 11:51
@dependabot dependabot Bot force-pushed the dependabot/pip/cairosvg-2.5.1 branch from 250995e to 8b8ed09 Compare June 23, 2022 02:42
@codecov-commenter

codecov-commenter commented Jun 23, 2022

Copy link
Copy Markdown

Codecov Report

Merging #301 (6647143) into master (095dabe) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #301   +/-   ##
=======================================
  Coverage   86.83%   86.83%           
=======================================
  Files          36       36           
  Lines         448      448           
=======================================
  Hits          389      389           
  Misses         59       59           
Impacted Files Coverage Δ
setup.py 0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dependabot dependabot Bot force-pushed the dependabot/pip/cairosvg-2.5.1 branch from 8b8ed09 to b68a9fe Compare June 23, 2022 03:09
Bumps [cairosvg](https://github.com/Kozea/CairoSVG) from 2.1.3 to 2.5.1.
- [Release notes](https://github.com/Kozea/CairoSVG/releases)
- [Changelog](https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst)
- [Commits](Kozea/CairoSVG@2.1.3...2.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/cairosvg-2.5.1 branch from b68a9fe to 6647143 Compare August 12, 2022 01:25
@dependabot @github

dependabot Bot commented on behalf of github Jan 13, 2023

Copy link
Copy Markdown
Contributor Author

Superseded by #463.

@dependabot dependabot Bot closed this Jan 13, 2023
@dependabot dependabot Bot deleted the dependabot/pip/cairosvg-2.5.1 branch January 13, 2023 00:08
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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants