Skip to content

Commit

Permalink
[api-minor] Update the canvas package to version 3
Browse files Browse the repository at this point in the history
This allows us to run the Node.js unit-tests in version 22, which is good since it'll very soon become the active LTS release; see https://github.com/nodejs/release#release-schedule.
  • Loading branch information
Snuffleupagus committed Oct 20, 2024
1 parent 025c087 commit 6ae13fa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 213 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18, lts/*]
node-version: [18, lts/*, 22]

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2244,7 +2244,7 @@ function packageJson() {
bugs: DIST_BUGS_URL,
license: DIST_LICENSE,
optionalDependencies: {
canvas: "^2.11.2",
canvas: "^3.0.0-rc2",
path2d: "^0.2.1",
},
browser: {
Expand Down
218 changes: 8 additions & 210 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 @@ -13,7 +13,7 @@
"autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1",
"caniuse-lite": "^1.0.30001667",
"canvas": "^2.11.2",
"canvas": "^3.0.0-rc2",
"core-js": "^3.38.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
Expand Down

0 comments on commit 6ae13fa

Please sign in to comment.