Skip to content

High performance self-hosted photo and video management solution.

chore(deps): update dependency canvas to v3 (#28376)

renovate[bot]f4a4649bbc81
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 157b0746e0..b405a1090d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -6,7 +6,7 @@ settings:
injectWorkspacePackages: true
overrides:
- canvas: 2.11.2
+ canvas: 3.2.3
sharp: ^0.34.5
webpackbar: ^7.0.0
@@ -198,7 +198,7 @@ importers:
vitest:
specifier: ^4.0.0
packages/cli:
dependencies:
@@ -289,7 +289,7 @@ importers:
vitest:
specifier: ^4.0.0
vitest-fetch-mock:
specifier: ^0.4.0
version: 0.4.5([email protected])
@@ -663,7 +663,7 @@ importers:
version: 13.15.10
'@vitest/coverage-v8':
specifier: ^3.0.0
eslint:
specifier: ^10.0.0
version: 10.2.1([email protected])
@@ -717,7 +717,7 @@ importers:
vitest:
specifier: ^3.0.0
web:
dependencies:
@@ -973,7 +973,7 @@ importers:
vitest:
specifier: ^4.0.0
packages:
@@ -6182,9 +6182,9 @@ packages:
resolution: {integrity: sha512-bOoxfJPyYo+ds6W0YfptaCWbFnJYjh2Y1Eow5lRv+vI2u8ganPZqNm1JwNh0t2ELQCqIWg4B3dWEusgAmsoyOw==}
- resolution: {integrity: sha512-ItanGBMrmRV7Py2Z+Xhs7cT+FNt5K0vPL4p9EZ/UX/Mu7hFbkxSjKF2KVtPwX7UYWp7dRKnrTvReflgrItJbdw==}
- engines: {node: '>=6'}
+ resolution: {integrity: sha512-PzE5nJZPz72YUAfo8oTp0u3fqqY7IzlTubneAihqDYAUcBk7ryeCmBbdJBEdaH0bptSOe2VT2Zwcb3UaFyaSWw==}
+ engines: {node: ^18.12.0 || >= 20.9.0}
resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
@@ -6964,10 +6964,6 @@ packages:
resolution: {integrity: sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q==}
- resolution: {integrity: sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==}
engines: {node: '>=10'}
@@ -7567,6 +7563,10 @@ packages:
resolution: {integrity: sha512-Yn66dSBaWGcUaSbm5Nl4G28rxtceLlWf4PstqJMbLix9sN7w0okWHPEvdudiP56Q5Cjl7v3TLyKKwowUFlbD8g==}
engines: {node: '>=20.0.0'}
+ resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==}
engines: {node: '>=12.0.0'}
@@ -7866,6 +7866,9 @@ packages:
resolution: {integrity: sha512-1VKTZJCwBrvbd+Wn3AOgQP/2Av+TfTCOlE4AcRJE72W1ksZXbAx8PPBR9RzgTeSPzlPMHrbANMH3LbltH73wxQ==}
+ resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==}
+
resolution: {integrity: sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw==}
@@ -8591,7 +8594,7 @@ packages:
resolution: {integrity: sha512-Cvc9WUhxSMEo4McES3P7oK3QaXldCfNWp7pl2NNeiIFlCoLr3kfq9kb1fxftiwk1FLV7CvpvDfonxtzUDeSOPg==}
engines: {node: '>=18'}
peerDependencies:
- canvas: 2.11.2
+ canvas: 3.2.3
peerDependenciesMeta:
canvas:
optional: true
@@ -9308,10 +9311,6 @@ packages:
resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==}
engines: {node: '>=10'}
@@ -9479,6 +9478,9 @@ packages:
engines: {node: ^18 || >=20}
hasBin: true
+ resolution: {integrity: sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==}
+
resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==}
@@ -9552,6 +9554,10 @@ packages:
resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==}
+ resolution: {integrity: sha512-KdHvFWZjEKDf0cakgFjebl371GPsISX2oZHcuyKqM7DtogIsHrqKeLTo8wBHxaXRAQlY2PsPlZmfo+9ZCxEREQ==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==}
@@ -10499,6 +10505,12 @@ packages:
resolution: {integrity: sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A==}
engines: {node: '>=20'}
+ resolution: {integrity: sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==}
+ engines: {node: '>=10'}
+ deprecated: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
+ hasBin: true
+
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
@@ -11176,8 +11188,8 @@ packages:
resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==}
- resolution: {integrity: sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==}
+ resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==}
resolution: {integrity: sha512-bRrGtzM6NLgxeMWmRcfDdrRksECk101lRrCn6jjj6qzUB6lQ+E5smnr52rqS1kLPmbLpS/g6iF463j50M4BT7A==}
@@ -11886,6 +11898,9 @@ packages:
engines: {node: '>=18.0.0'}
hasBin: true
+ resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==}
+
resolution: {integrity: sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==}
@@ -15799,22 +15814,6 @@ snapshots:
'@mapbox/[email protected]': {}
- '@mapbox/[email protected]':
- dependencies:
- detect-libc: 2.1.2
- https-proxy-agent: 5.0.1
- make-dir: 3.1.0
- node-fetch: 2.7.0
- nopt: 5.0.0
- npmlog: 5.0.1
- rimraf: 3.0.2
- semver: 7.7.4
- tar: 6.2.1
- transitivePeerDependencies:
- - encoding
- - supports-color
- optional: true
-
dependencies:
detect-libc: 2.1.2
@@ -17248,7 +17247,7 @@ snapshots:
svelte: 5.55.2
optionalDependencies:
'@testing-library/[email protected](@testing-library/[email protected])':
dependencies:
@@ -17964,7 +17963,7 @@ snapshots:
'@vercel/[email protected]': {}
dependencies:
'@ampproject/remapping': 2.3.0
'@bcoe/v8-coverage': 1.0.2
@@ -17979,7 +17978,7 @@ snapshots:
std-env: 3.10.0
test-exclude: 7.0.2
tinyrainbow: 2.0.0
transitivePeerDependencies:
- supports-color
@@ -17995,7 +17994,7 @@ snapshots:
obug: 2.1.1
std-env: 4.1.0
tinyrainbow: 3.1.0
'@vitest/[email protected]':
dependencies:
@@ -18762,24 +18761,10 @@ snapshots:
- dependencies:
- '@mapbox/node-pre-gyp': 1.0.11
- nan: 2.26.2
- simple-get: 3.1.1
- transitivePeerDependencies:
- - encoding
- - supports-color
- optional: true
-
dependencies:
- '@mapbox/node-pre-gyp': 1.0.11([email protected])
- nan: 2.26.2
- simple-get: 3.1.1
- transitivePeerDependencies:
- - encoding
- - supports-color
+ node-addon-api: 7.1.1
+ prebuild-install: 7.1.3
optional: true
@@ -19582,11 +19567,6 @@ snapshots:
dependencies:
character-entities: 2.0.2
- dependencies:
- mimic-response: 2.1.0
- optional: true
-
dependencies:
mimic-response: 3.1.0
@@ -20331,6 +20311,9 @@ snapshots:
optionalDependencies:
exiftool-vendored.exe: 13.58.0
+ optional: true
+
@@ -20416,11 +20399,10 @@ snapshots:
optionalDependencies:
- canvas: 2.11.2
- jsdom: 26.1.0([email protected])
+ canvas: 3.2.3
+ jsdom: 26.1.0([email protected])
transitivePeerDependencies:
- bufferutil
- - encoding
- supports-color
- utf-8-validate
@@ -20712,6 +20694,9 @@ snapshots:
dependencies:
resolve-pkg-maps: 1.0.0
+ optional: true
+
@@ -21533,7 +21518,7 @@ snapshots:
dependencies:
argparse: 2.0.1
dependencies:
cssstyle: 4.6.0
data-urls: 5.0.0
@@ -21556,37 +21541,7 @@ snapshots:
ws: 8.20.0
xml-name-validator: 5.0.0
optionalDependencies:
- canvas: 2.11.2([email protected])
- transitivePeerDependencies:
- - bufferutil
- - supports-color
- - utf-8-validate
- optional: true
-
- dependencies:
- cssstyle: 4.6.0
- data-urls: 5.0.0
- decimal.js: 10.6.0
- html-encoding-sniffer: 4.0.0
- http-proxy-agent: 7.0.2
- https-proxy-agent: 7.0.6
- is-potential-custom-element-name: 1.0.1
- nwsapi: 2.2.23
- parse5: 7.3.0
- rrweb-cssom: 0.8.0
- saxes: 6.0.0
- symbol-tree: 3.2.4
- tough-cookie: 5.1.2
- w3c-xmlserializer: 5.0.0
- webidl-conversions: 7.0.0
- whatwg-encoding: 3.1.1
- whatwg-mimetype: 4.0.0
- whatwg-url: 14.2.0
- ws: 8.20.0
- xml-name-validator: 5.0.0
- optionalDependencies:
- canvas: 2.11.2
+ canvas: 3.2.3
transitivePeerDependencies:
- bufferutil
- supports-color
@@ -22589,9 +22544,6 @@ snapshots:
- optional: true
-
@@ -22745,6 +22697,9 @@ snapshots:
+ optional: true
+
@@ -22817,6 +22772,11 @@ snapshots:
lower-case: 2.0.2
tslib: 2.8.1
+ dependencies:
+ semver: 7.7.4
+ optional: true
+
@@ -22837,11 +22797,6 @@ snapshots:
emojilib: 2.4.0
skin-tone: 2.0.0
- dependencies:
- whatwg-url: 5.0.0
- optional: true
-
dependencies:
whatwg-url: 5.0.0
@@ -23808,6 +23763,22 @@ snapshots:
+ dependencies:
+ detect-libc: 2.1.2
+ expand-template: 2.0.3
+ github-from-package: 0.0.0
+ minimist: 1.2.8
+ mkdirp-classic: 0.5.3
+ napi-build-utils: 2.0.0
+ node-abi: 3.92.0
+ pump: 3.0.4
+ rc: 1.2.8
+ simple-get: 4.0.1
+ tar-fs: 2.1.4
+ tunnel-agent: 0.6.0
+ optional: true
+
@@ -24731,9 +24702,9 @@ snapshots:
optional: true
dependencies:
- decompress-response: 4.2.1
+ decompress-response: 6.0.0
once: 1.4.0
simple-concat: 1.0.1
optional: true
@@ -25575,6 +25546,11 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
+ dependencies:
+ safe-buffer: 5.2.1
+ optional: true
+
@@ -25984,9 +25960,9 @@ snapshots:
dependencies:
dependencies:
'@types/chai': 5.2.3
'@vitest/expect': 3.2.4
@@ -26015,7 +25991,7 @@ snapshots:
'@types/debug': 4.1.12
'@types/node': 24.12.2
happy-dom: 20.9.0
- jsdom: 26.1.0([email protected])
+ jsdom: 26.1.0([email protected])
transitivePeerDependencies:
- jiti
- less
@@ -26030,38 +26006,7 @@ snapshots:
- tsx
- yaml
- dependencies:
- '@vitest/expect': 4.1.5
- '@vitest/pretty-format': 4.1.5
- '@vitest/runner': 4.1.5
- '@vitest/snapshot': 4.1.5
- '@vitest/spy': 4.1.5
- '@vitest/utils': 4.1.5
- es-module-lexer: 2.1.0
- expect-type: 1.3.0
- magic-string: 0.30.21
- obug: 2.1.1
- pathe: 2.0.3
- picomatch: 4.0.4
- std-env: 4.1.0
- tinybench: 2.9.0
- tinyexec: 1.1.1
- tinyglobby: 0.2.16
- tinyrainbow: 3.1.0
- why-is-node-running: 2.3.0
- optionalDependencies:
- '@opentelemetry/api': 1.9.1
- '@types/node': 24.12.2
- '@vitest/coverage-v8': 4.1.5([email protected])
- happy-dom: 20.9.0
- transitivePeerDependencies:
- - msw
-
dependencies:
'@vitest/expect': 4.1.5
@@ -26088,11 +26033,11 @@ snapshots:
'@types/node': 24.12.2
'@vitest/coverage-v8': 4.1.5([email protected])
happy-dom: 20.9.0
- jsdom: 26.1.0([email protected])
+ jsdom: 26.1.0([email protected])
transitivePeerDependencies:
- msw
dependencies:
'@vitest/expect': 4.1.5
@@ -26119,7 +26064,7 @@ snapshots:
'@types/node': 25.6.0
'@vitest/coverage-v8': 4.1.5([email protected])
happy-dom: 20.9.0
- jsdom: 26.1.0([email protected])
+ jsdom: 26.1.0([email protected])
transitivePeerDependencies:
- msw
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 937cbd32f4..57aeb9c7bf 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -28,7 +28,7 @@ onlyBuiltDependencies:
- '@tailwindcss/oxide'
- bcrypt
overrides:
- canvas: 2.11.2
+ canvas: 3.2.3
sharp: ^0.34.5
# pending docusaurus 3.10.1
webpackbar: ^7.0.0