geostyler / geostyler-legend

Small library to render map legends with OpenLayers and d3
BSD 2-Clause "Simplified" License
12 stars 9 forks source link

Bump canvas from 2.8.0 to 2.10.0 #397

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps canvas from 2.8.0 to 2.10.0.

Release notes

Sourced from canvas's releases.

v2.10.0

No release notes provided.

v2.9.3

No release notes provided.

v2.9.2

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

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.

v2.9.0

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
Changelog

Sourced from canvas's changelog.

2.10.0

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

Fixed

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

2.9.2

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

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

2.9.0

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
Commits
  • 561d933 v2.10.0
  • 3fb4ed9 fix: add user agent to remote images request
  • dce0fd1 Add roundRect() support
  • eba1e4a Adds deregisterAllFonts to the typescript declaration file (#2096)
  • 10b208e un-skip 2d.path.arc.nonfinite; now fixed
  • 73d7893 fix arc geometry calculations
  • a484cf2 fix crashes and hangs in arc()
  • 288f4bf add WPT tests
  • bdc497a Use node-gyp 8.x for Win CI
  • c6a1546 fix repeat-x/y support in createPattern()
  • Additional commits viewable in compare view
Maintainer changes

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


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[bot] commented 1 year ago

Superseded by #399.