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 canvas from 2.9.1 to 2.11.2 #99

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

Conversation

BotSolver
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade canvas from 2.9.1 to 2.11.2.

ℹ️ 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 8 versions ahead of your current version.

  • The recommended version was released on a year ago.

Release notes
Package name: canvas
  • 2.11.2 - 2023-04-02
  • 2.11.1 - 2023-04-02
  • 2.11.0 - 2022-12-22

    Fixed

    • Replace triple-slash directive in types with own types to avoid polluting TS modules with globals (#1656)
  • 2.10.2 - 2022-10-30

    Fixed

    • Fix Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file nan_object_wrap.h, line 32. (#2025)
    • textBaseline and textAlign were not saved/restored by save()/restore(). (#1936)
    • Update nan to v2.17.0 to ensure Node.js v18+ support.

    Changed

    • Improve performance and memory usage of save()/restore().
    • save()/restore() no longer have a maximum depth (previously 64 states).
  • 2.10.1 - 2022-09-07

    Fixed

    • Fix actualBoundingBoxLeft and actualBoundingBoxRight when textAlign='center' or 'right' (#1909)
    • Fix rgba(r,g,b,0) with alpha to 0 should parse as transparent, not opaque. (#2110)
  • 2.10.0 - 2022-09-04

    Added

    Fixed

    • rgba(r,g,b) with no alpha should parse as opaque, not transparent. (#2029)
    • Typo in PngConfig.filters types. (#2072)
    • createPattern() always used "repeat" mode; now supports "repeat-x" and "repeat-y". (#2066)
    • Crashes and hangs when using non-finite values in context.arc(). (#2055)
    • Incorrect context.arc() geometry logic for full ellipses. (#1808, (#1736))
    • Added missing deregisterAllFonts to the Typescript declaration file (#2096)
    • Add User-Agent header when requesting remote images (#2099)
  • 2.9.3 - 2022-06-24

    Fixed

    • Wrong fonts used when calling registerFont multiple times with the same family name (#2041)
  • 2.9.2 - 2022-06-23

    Fixed

    • All exports now work when Canvas is used in ES Modules (ESM). (#2047)
    • npm rebuild will now re-fetch prebuilt binaries to avoid NODE_MODULE_VERSION mismatch errors. (#1982)
  • 2.9.1 - 2022-03-19

    Fixed

    • Stringify CanvasGradient, CanvasPattern and ImageData like browsers do. (#1639, #1646)
    • Add missing include for toupper.
    • Throw an error instead of crashing the process if getImageData or putImageData is called on a PDF or SVG canvas (#1853)
    • Compatibility with Typescript 4.6
    • Near-perfect font matching on Linux (#1572)
    • Fix multi-byte font path support on Windows.
from canvas GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Snyk has automatically assigned this pull request, set who gets assigned.

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:

Snyk has created this PR to upgrade canvas from 2.9.1 to 2.11.2.

See this package in npm:
canvas

See this project in Snyk:
https://app.snyk.io/org/josiyahthomas11/project/ba4408d8-2855-492b-aefb-165c060b4e44?utm_source=github&utm_medium=referral&page=upgrade-pr
@BotSolver BotSolver self-assigned this May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants