Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 17, 2025

Bumps canvg to 3.0.11 and updates ancestor dependency react-to-pdf. These dependencies need to be updated together.

Updates canvg from 1.5.3 to 3.0.11

Release notes

Sourced from canvg's releases.

v3.0.11

Bug Fixes

  • fix prototype pollution vulneralbility

v3.0.7

Fixed

v3.0.0

see CHANGELOG.md

v3.0.0-beta.0

No release notes provided.

v2.0.0

  • Breaking change: for use on server, peer dependencies canvas 2.x, jsdom 13.x and xmldom 0.x must be installed.
  • Fix exponential notation (#710)
  • Fix font parsing (#707)
  • Implement textPath (#687)
  • Implement focal gradient radius (#675)
  • Fixes 0 height rects (#674)
  • Fixes masks with alpha (#672)
  • Misc minor issues (#670)
  • Fixes opacity hierarchy (#666)
  • Better number array parsing (#665)
  • Better external font parsing (#664)
  • Fixes parsing of negatives (#663)
  • Fixes scaling on redraws (#662)
  • Fixes text-anchor (#660)
  • Fixes under (#656)
  • Handle milliseconds appropriately (#653)
  • Optimizing updates (#650)

v2.0.0-beta.1

  • Breaking change: for use on server, peer dependencies canvas 2.x, jsdom 13.x and xmldom 0.x must be installed.
  • Implement textPath (#687)
  • Implement focal gradient radius (#675)
  • Fixes 0 height rects (#674)
  • Fixes masks with alpha (#672)
  • Misc minor issues (#670)
  • Fixes opacity hierarchy (#666)
  • Better number array parsing (#665)
  • Better external font parsing (#664)
  • Fixes parsing of negatives (#663)

... (truncated)

Changelog

Sourced from canvg's changelog.

3.0.11 (2025-03-13)

Bug Fixes

  • fix prototype pollution vulneralbility

[3.0.9] - 2021-10-04

Fixed

[3.0.8] - 2021-07-31

Fixed

[3.0.7] - 2020-10-17

Fixed

[3.0.6] - 2020-03-25

Fixed

[3.0.1] - 2019-12-03

Fixed

[3.0.0] - 2019-10-23

Added

  • OffscreenCanvas support.

Changed

  • JavaScript -> TypeScript.

Fixed

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by dangreen, a new releaser for canvg since your current version.


Updates react-to-pdf from 0.0.8 to 1.0.1

Release notes

Sourced from react-to-pdf's releases.

v1.0.1

1.0.1 (September, 7, 2023)

  • fix broken build (076e1ad)
  • update docs (076e1ad)
  • update changelog (076e1ad)

v.1.0.0

1.0.0 (September, 7, 2023)

  • update readme (ced5bd5)
  • Add Cypress tests (#80) (42f19fa)
  • add codesandbox examples (79d4272)
  • update changelog (a8028f1)

v1.0.0-alpha.1

1.0.0-alpha.1 (September 2, 2023)

  • fix examples broken links (85dee13)
  • Fix method update and add more examples (#78) (d94c930)
  • fix wrong default method that should be save (f4bdf69)
  • Bump tough-cookie from 4.1.2 to 4.1.3 (#76) (6ee98c4)
  • Bump word-wrap from 1.2.3 to 1.2.5 (#75) (13a4d7a)
  • Bump semver from 5.7.1 to 5.7.2 (#77) (05a15ab)
  • remove node 14 from ci (693eb8d)
  • upgrade dep and changelog (ef85689)
  • remove aditional file (acd4622)
  • update changelog and remove example from npm (b8632b3)

v1.0.0-alpha.0

1.0.0-alpha.0 (August 26, 2023)

New Features

  • React 18 support
  • Multipage support
  • Typescript
  • Supports opening the PDF in the browser via the method open. The build method can be used to just return the built PDF.
  • Possible to set the quality of the image using the resolution option.
  • Margin is now easier to set using the margin option, either by setting values especifically for each point (top, bottom, left, right) or a general value for all points.
  • Possible to override or customize values also passed for the `html2canvas`` function.

Breaking Changes

  • The wrapper react component no longer exists. Use either the default function or the usePDF hook. See below an example on how to migrate from the v0 to v1;
  • The following props were not included in the 1.x available options:
    • scale - not supported, if you want to get a higher PDF resolution, use the resolution option instead
    • x - Use margin param instead
    • y - Use margin param instead
    • onComplete - The default function and the toPDF function returned in the usePDF hook returns a Promise that can be awaited instead of the onComplete callback

... (truncated)

Changelog

Sourced from react-to-pdf's changelog.

1.0.1 (September, 7, 2023)

  • fix broken build (076e1ad)
  • update docs (076e1ad)
  • update changelog (076e1ad)

1.0.0 (September, 7, 2023)

  • update readme (ced5bd5)
  • Add Cypress tests (#80) (42f19fa)
  • add codesandbox examples (79d4272)
  • update changelog (a8028f1)

1.0.0-alpha.1 (September 2, 2023)

  • fix examples broken links (85dee13)
  • Fix method update and add more examples (#78) (d94c930)
  • fix wrong default method that should be save (f4bdf69)
  • Bump tough-cookie from 4.1.2 to 4.1.3 (#76) (6ee98c4)
  • Bump word-wrap from 1.2.3 to 1.2.5 (#75) (13a4d7a)
  • Bump semver from 5.7.1 to 5.7.2 (#77) (05a15ab)
  • remove node 14 from ci (693eb8d)
  • upgrade dep and changelog (ef85689)
  • remove aditional file (acd4622)
  • update changelog and remove example from npm (b8632b3)

1.0.0-alpha.0 (August 26, 2023)

New Features

  • React 18 support
  • Multipage support
  • Typescript
  • Supports opening the PDF in the browser via the method open. The build method can be used to just return the built PDF.
  • Possible to set the quality of the image using the resolution option.
  • Margin is now easier to set using the margin option, either by setting values especifically for each point (top, bottom, left, right) or a general value for all points.
  • Possible to override or customize values also passed for the `html2canvas`` function.

Breaking Changes

  • The wrapper react component no longer exists. Use either the default function or the usePDF hook. See below an example on how to migrate from the v0 to v1;
  • The following props were not included in the 1.x available options:
    • scale - not supported, if you want to get a higher PDF resolution, use the resolution option instead
    • x - Use margin param instead
    • y - Use margin param instead
    • onComplete - The default function and the toPDF function returned in the usePDF hook returns a Promise that can be awaited instead of the onComplete callback

Migrating from v0 to v1:

Before (v0):

... (truncated)

Commits

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 [canvg](https://github.com/canvg/canvg) to 3.0.11 and updates ancestor dependency [react-to-pdf](https://github.com/ivmarcos/react-to-pdf). These dependencies need to be updated together.


Updates `canvg` from 1.5.3 to 3.0.11
- [Release notes](https://github.com/canvg/canvg/releases)
- [Changelog](https://github.com/canvg/canvg/blob/v3.0.11/CHANGELOG.md)
- [Commits](canvg/canvg@v1.5.3...v3.0.11)

Updates `react-to-pdf` from 0.0.8 to 1.0.1
- [Release notes](https://github.com/ivmarcos/react-to-pdf/releases)
- [Changelog](https://github.com/ivmarcos/react-to-pdf/blob/main/CHANGELOG.md)
- [Commits](ivmarcos/react-to-pdf@v0.0.8...1.0.1)

---
updated-dependencies:
- dependency-name: canvg
  dependency-type: indirect
- dependency-name: react-to-pdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 17, 2025
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant