Skip to content

Update dependency canvas to v2.11.2#353

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/canvas-2.x
Open

Update dependency canvas to v2.11.2#353
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/canvas-2.x

Conversation

@renovate

@renovate renovate Bot commented Mar 1, 2021

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
canvas 2.6.12.11.2 age confidence

Release Notes

Automattic/node-canvas (canvas)

v2.11.2

Compare Source

==================

Fixed
  • Building on Windows in CI (and maybe other Windows configurations?) (#​2216)

v2.11.1

Compare Source

==================

Fixed
  • Add missing property canvas to the CanvasRenderingContext2D type
  • Fixed glyph positions getting rounded, resulting text having a slight letter-spacing effect
  • Fixed ctx.font not being restored correctly after ctx.restore() (#​1946)

v2.11.0

Compare Source

==================

Fixed
  • Replace triple-slash directive in types with own types to avoid polluting TS modules with globals (#​1656)

v2.10.2

Compare Source

==================

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).

v2.10.1

Compare Source

==================

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)

v2.10.0

Compare Source

==================

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)

v2.9.3

Compare Source

==================

Fixed
  • Wrong fonts used when calling registerFont multiple times with the same family name (#​2041)

v2.9.2

Compare Source

==================

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)

v2.9.1

Compare Source

==================

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.
  • Allow rebuild of this library

v2.9.0

Compare Source

==================

Changed
  • Refactor functions to classes.
  • Changed DOMPoint() constructor to check for parameter nullability.
  • Changed DOMMatrix.js to use string literals for non-special cases.
  • Remove semicolons from Dommatrix.js.
  • Update nan to v2.15.0 to ensure Node.js v14+ support.
  • Clean up inf/nan macros and slightly speed up argument checking.
Added
  • Added deregisterAllFonts method to free up memory and reduce font conflicts.
Fixed
  • Support Apple M1 Homebrew install that puts canvas install library files in /opt/homebrew/lib

v2.8.0

Compare Source

==================

Changed
  • Upgrade dtslint
  • Upgrade node-pre-gyp to 1.0.0. Note that if you are using special node-pre-gyp
    features like node_pre_gyp_accessKeyId, you may need to make changes to your
    installation procedure. See https://github.com/mapbox/node-pre-gyp/blob/master/CHANGELOG.md#100.
  • Add Node.js v16 to CI.
  • The C++ class method nBytes() now returns a size_t. (Because this is a C++
    method only, this is not considered a breaking change.)
Added
  • Add support for inverse() and invertSelf() to DOMMatrix (#​1648)
  • Add support for context.getTransform() (#​1769)
  • Add support for context.setTransform(dommatrix) (#​1769)
Fixed
  • Fix actualBoundingBoxLeft and actualBoundingBoxRight returned by measureText to be the ink rect (#​1776, fixes #​1703).
  • Fix Pango logging "expect ugly output" on Windows (#​1643)
  • Fix benchmark for createPNGStream (#​1672)
  • Fix dangling reference in BackendOperationNotAvailable exception (#​1740)
  • Fix always-false comparison warning in Canvas.cc.
  • Fix Node.js crash when throwing from an onload or onerror handler.

v2.7.0

Compare Source

==================

Changed
  • Switch CI to Github Actions. (Adds Windows and macOS builds.)
  • Switch prebuilds to GitHub actions in the Automattic/node-canvas repository.
    Previously these were in the node-gfx/node-canvas-prebuilt
    and triggered manually.
  • Speed up fillStyle= and strokeStyle=
Added
  • Export rsvgVersion.
  • CanvasPattern’s setTransform method is no longer missing
Fixed
  • Fix BMP issues. (#​1497)
  • Update typings to support jpg and addPage on NodeCanvasRenderingContext2D (#​1509)
  • Fix assertion failure when using Visual Studio Code debugger to inspect Image prototype (#​1534)
  • Fix signed/unsigned comparison warning introduced in 2.6.0, and function cast warnings with GCC8+
  • Fix to compile without JPEG support (#​1593).
  • Fix compile errors with cairo
  • Fix Image#complete if the image failed to load.
  • Upgrade node-pre-gyp to v0.15.0 to use latest version of needle to fix error when downloading prebuilds.
  • Don't throw if fillStyle or strokeStyle is set to an object, but that object is not a Gradient or Pattern. (This behavior was non-standard: invalid inputs are supposed to be ignored.)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov

codecov Bot commented Mar 1, 2021

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (cfd4a5a) to head (f39f683).
⚠️ Report is 281 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #353   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines          305       305           
  Branches        33        49   +16     
=========================================
  Hits           305       305           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate Bot changed the title Update dependency canvas to v2.7.0 Update dependency canvas to v2.8.0 May 17, 2021
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from 797a227 to 58b7620 Compare May 17, 2021 07:54
@renovate renovate Bot changed the title Update dependency canvas to v2.8.0 Update dependency canvas to v2.9.0 Mar 7, 2022
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from 58b7620 to 1c685f7 Compare March 7, 2022 15:09
@renovate renovate Bot changed the title Update dependency canvas to v2.9.0 Update dependency canvas to v2.9.1 Mar 26, 2022
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from 1c685f7 to cef091d Compare March 26, 2022 12:27
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from cef091d to ead96c2 Compare April 25, 2022 12:34
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@renovate renovate Bot changed the title Update dependency canvas to v2.9.1 Update dependency canvas to v2.9.2 Jun 24, 2022
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from ead96c2 to fec1290 Compare June 24, 2022 03:29
@renovate renovate Bot changed the title Update dependency canvas to v2.9.2 Update dependency canvas to v2.9.3 Jun 24, 2022
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from fec1290 to a42bf9e Compare June 24, 2022 21:07
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from a42bf9e to dfd135f Compare November 20, 2022 14:42
@renovate renovate Bot changed the title Update dependency canvas to v2.9.3 Update dependency canvas to v2.10.2 Nov 20, 2022
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from dfd135f to b2ea155 Compare March 6, 2023 13:46
@renovate renovate Bot changed the title Update dependency canvas to v2.10.2 Update dependency canvas to v2.11.0 Mar 6, 2023
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from b2ea155 to 8c048ec Compare March 6, 2023 13:58
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from 8c048ec to a84efe3 Compare April 2, 2023 23:48
@renovate renovate Bot changed the title Update dependency canvas to v2.11.0 Update dependency canvas to v2.11.2 Apr 2, 2023
@qlty-cloud-legacy

Copy link
Copy Markdown

Code Climate has analyzed commit a84efe3 and detected 0 issues on this pull request.

View more on Code Climate.

@sonarqubecloud

sonarqubecloud Bot commented Apr 2, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from a84efe3 to 5175466 Compare August 10, 2025 14:00
@sonarqubecloud

Copy link
Copy Markdown

@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from 5175466 to cee8a94 Compare September 25, 2025 20:34
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from cee8a94 to c13328d Compare October 22, 2025 01:47
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from c13328d to 680d0f0 Compare November 10, 2025 16:06
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from 680d0f0 to 8da79d6 Compare December 3, 2025 18:58
@sonarqubecloud

sonarqubecloud Bot commented Dec 3, 2025

Copy link
Copy Markdown

@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from 8da79d6 to 87bf585 Compare February 2, 2026 14:57
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from 87bf585 to ae36b10 Compare February 12, 2026 15:01
@sonarqubecloud

Copy link
Copy Markdown

@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from ae36b10 to 83902e3 Compare April 1, 2026 18:46
@sonarqubecloud

sonarqubecloud Bot commented Apr 1, 2026

Copy link
Copy Markdown

@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from 83902e3 to e2fbff9 Compare May 12, 2026 15:43
@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from e2fbff9 to 6f7d905 Compare May 28, 2026 14:14
@sonarqubecloud

Copy link
Copy Markdown

@renovate renovate Bot force-pushed the renovate/canvas-2.x branch from 6f7d905 to f39f683 Compare June 11, 2026 19:46
@sonarqubecloud

Copy link
Copy Markdown

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.

0 participants