Skip to content

Commit

Permalink
➕ Upgrade node-canvas to 2.8.0
Browse files Browse the repository at this point in the history
This includes the context.getTransform method which is needed in the preview lambda

See:
- Automattic/node-canvas#1769
- https://github.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#280
  • Loading branch information
pouretrebelle committed Jun 27, 2021
1 parent 5900b21 commit 077ce0a
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 147 deletions.
242 changes: 96 additions & 146 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@typescript-eslint/eslint-plugin": "^4.11.0",
"@typescript-eslint/parser": "^4.11.0",
"babel-eslint": "10.1.0",
"canvas": "^2.7.0",
"canvas": "^2.8.0",
"canvas2svg": "^1.0.16",
"chroma-js": "^2.1.0",
"delaunator": "^4.0.1",
Expand Down

0 comments on commit 077ce0a

Please sign in to comment.