Changelog
*Sourced from [canvas's changelog](https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md).*
> # Changelog
>
> All notable changes to this project will be documented in this file.
>
> The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
> project adheres to [Semantic Versioning](http://semver.org/).
>
> (Unreleased)
> ==================
> ### Changed
> ### Added
> ### Fixed
>
> 2.6.1
> ==================
> ### Fixed
> * Ignore `maxWidth` in `fillText` and `strokeText` if it is undefined
> * Fix crash (assertion failure) in Node.js 12.x when patterns or gradients are used
> * Fix crash (check failure) in Node.js 12.x when using RGB16_565 format. (The
> underlying arraybuffer was incorrectly sized.)
>
> 2.6.0
> ==================
> ### Changed
> * Allow larger buffers to be returned from `toBuffer('raw')`.
> ### Added
> * Support for various BMP headers and color depths ([#1435](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1435))
> ### Fixed
> * Fix crash when changing canvas width/height while `fillStyle` or `strokeStyle`
> was set to a `CanvasPattern` or `CanvasGradient` ([#1357](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1357)).
> * Fix crash when changing width/height of SVG canvases ([#1380](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1380)).
> * Fix crash when using `toBuffer('raw')` with large canvases ([#1158](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1158)).
> * Clarified meaning of byte ordering for `toBuffer('raw')` in readme. ([#1416](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1416))
> * Fix package.json Typings field to point to Declaration file ([#1432](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1432))
> * Properly check return value from `Set` and `Call`. ([#1415](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1415))
> * Use `Get` version from `Nan` instead of `v8`. ([#1415](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1415))
>
> 2.5.0
> ==================
> ### Added
> * Support redirects when fetching images (using [simple-get](https://github.com/feross/simple-get)) ([#1398](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1398))
> * Support Node.js v12
> ### Fixed
> * Fix object literal & arrow function syntax usage for IE.
>
> 2.4.1
> ==================
> ### Fixed
> * Guard JPEG width/height against maximum supported ([#1385](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1385))
> * Fix electron 5 and node 12 compatibility
> ... (truncated)
Commits
- [`265d084`](https://github.com/Automattic/node-canvas/commit/265d084311b8c7a11b0d89967bd904f2899358d0) 1.6.10
- [`3304f65`](https://github.com/Automattic/node-canvas/commit/3304f6564be946360e430c2c1fef365f664e8b8b) Merge pull request [#1131](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1131) from LinusU/backport-fixes
- [`f9f6135`](https://github.com/Automattic/node-canvas/commit/f9f6135dd404ac4c0604567af3bdc8e83dc9d2ee) Only increment src pointer when reading from source
- [`5fcade8`](https://github.com/Automattic/node-canvas/commit/5fcade80651b51e9453d5558a17eefbe64543210) Return error when missing color map in GIF
- [`9324932`](https://github.com/Automattic/node-canvas/commit/932493224709e206b7dc45469ba300de82fbce76) Return error for too large GIF-files
- [`c3e4ccb`](https://github.com/Automattic/node-canvas/commit/c3e4ccb1c404da01e83fe5eb3626bf55f7f55957) Prevent JPEG errors from crashing process
- [`a815257`](https://github.com/Automattic/node-canvas/commit/a81525756af070841ba1993ce9ff2ef7351903d1) Add support for context globalAlpha for gradients and patterns ([#1064](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1064))
- [`08a70e2`](https://github.com/Automattic/node-canvas/commit/08a70e297887dc163cb0609177b3b9e1e4411956) Add support for pattern repeat and no-repeat ([#1066](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1066))
- [`a84b2bc`](https://github.com/Automattic/node-canvas/commit/a84b2bc3ce637c4cef0bd77cc69b7b36bf5a080c) Fix reading fillStyle after setting it from gradient to color
- [`b8cf1d7`](https://github.com/Automattic/node-canvas/commit/b8cf1d750ff7dad570f3974eb08bf86b1c1eb0c3) Make setLineDash able to handle full zeroed dashes ([#1060](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1060))
- Additional commits viewable in [compare view](https://github.com/Automattic/node-canvas/compare/v1.6.5...v1.6.10)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://github.com/Progressbar/momentum/network/alerts).
Bumps canvas from 1.6.5 to 1.6.10.
Changelog
*Sourced from [canvas's changelog](https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md).* > # Changelog > > All notable changes to this project will be documented in this file. > > The format is based on [Keep a Changelog](http://keepachangelog.com/) and this > project adheres to [Semantic Versioning](http://semver.org/). > > (Unreleased) > ================== > ### Changed > ### Added > ### Fixed > > 2.6.1 > ================== > ### Fixed > * Ignore `maxWidth` in `fillText` and `strokeText` if it is undefined > * Fix crash (assertion failure) in Node.js 12.x when patterns or gradients are used > * Fix crash (check failure) in Node.js 12.x when using RGB16_565 format. (The > underlying arraybuffer was incorrectly sized.) > > 2.6.0 > ================== > ### Changed > * Allow larger buffers to be returned from `toBuffer('raw')`. > ### Added > * Support for various BMP headers and color depths ([#1435](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1435)) > ### Fixed > * Fix crash when changing canvas width/height while `fillStyle` or `strokeStyle` > was set to a `CanvasPattern` or `CanvasGradient` ([#1357](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1357)). > * Fix crash when changing width/height of SVG canvases ([#1380](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1380)). > * Fix crash when using `toBuffer('raw')` with large canvases ([#1158](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1158)). > * Clarified meaning of byte ordering for `toBuffer('raw')` in readme. ([#1416](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1416)) > * Fix package.json Typings field to point to Declaration file ([#1432](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1432)) > * Properly check return value from `Set` and `Call`. ([#1415](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1415)) > * Use `Get` version from `Nan` instead of `v8`. ([#1415](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1415)) > > 2.5.0 > ================== > ### Added > * Support redirects when fetching images (using [simple-get](https://github.com/feross/simple-get)) ([#1398](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1398)) > * Support Node.js v12 > ### Fixed > * Fix object literal & arrow function syntax usage for IE. > > 2.4.1 > ================== > ### Fixed > * Guard JPEG width/height against maximum supported ([#1385](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1385)) > * Fix electron 5 and node 12 compatibility > ... (truncated)Commits
- [`265d084`](https://github.com/Automattic/node-canvas/commit/265d084311b8c7a11b0d89967bd904f2899358d0) 1.6.10 - [`3304f65`](https://github.com/Automattic/node-canvas/commit/3304f6564be946360e430c2c1fef365f664e8b8b) Merge pull request [#1131](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1131) from LinusU/backport-fixes - [`f9f6135`](https://github.com/Automattic/node-canvas/commit/f9f6135dd404ac4c0604567af3bdc8e83dc9d2ee) Only increment src pointer when reading from source - [`5fcade8`](https://github.com/Automattic/node-canvas/commit/5fcade80651b51e9453d5558a17eefbe64543210) Return error when missing color map in GIF - [`9324932`](https://github.com/Automattic/node-canvas/commit/932493224709e206b7dc45469ba300de82fbce76) Return error for too large GIF-files - [`c3e4ccb`](https://github.com/Automattic/node-canvas/commit/c3e4ccb1c404da01e83fe5eb3626bf55f7f55957) Prevent JPEG errors from crashing process - [`a815257`](https://github.com/Automattic/node-canvas/commit/a81525756af070841ba1993ce9ff2ef7351903d1) Add support for context globalAlpha for gradients and patterns ([#1064](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1064)) - [`08a70e2`](https://github.com/Automattic/node-canvas/commit/08a70e297887dc163cb0609177b3b9e1e4411956) Add support for pattern repeat and no-repeat ([#1066](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1066)) - [`a84b2bc`](https://github.com/Automattic/node-canvas/commit/a84b2bc3ce637c4cef0bd77cc69b7b36bf5a080c) Fix reading fillStyle after setting it from gradient to color - [`b8cf1d7`](https://github.com/Automattic/node-canvas/commit/b8cf1d750ff7dad570f3974eb08bf86b1c1eb0c3) Make setLineDash able to handle full zeroed dashes ([#1060](https://github-redirect.dependabot.com/Automattic/node-canvas/issues/1060)) - Additional commits viewable in [compare view](https://github.com/Automattic/node-canvas/compare/v1.6.5...v1.6.10)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://github.com/Progressbar/momentum/network/alerts).