From da6351e532c90fef6caae95d6235d3dfb0aa82d9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 18:39:12 +0000 Subject: [PATCH] fix(deps): update dependency canvas to v3 --- packages/pintora-cli/package.json | 2 +- pnpm-lock.yaml | 172 +++++++++++++++++++++++++++--- 2 files changed, 157 insertions(+), 17 deletions(-) diff --git a/packages/pintora-cli/package.json b/packages/pintora-cli/package.json index 5ff27808..ab73f36b 100644 --- a/packages/pintora-cli/package.json +++ b/packages/pintora-cli/package.json @@ -40,7 +40,7 @@ "@pintora/core": "workspace:^0.8.0-alpha.0", "@pintora/renderer": "workspace:^0.8.0-alpha.0", "@pintora/standalone": "workspace:^0.8.0-alpha.0", - "canvas": "^2.11.2", + "canvas": "^3.0.0", "consola": "^3.0.0", "jsdom": "^25.0.0", "mime-types": "^2.1.31", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 965b49ab..764488e4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -245,14 +245,14 @@ importers: specifier: workspace:^0.8.0-alpha.0 version: link:../pintora-standalone canvas: - specifier: ^2.11.2 - version: 2.11.2 + specifier: ^3.0.0 + version: 3.0.0 consola: specifier: ^3.0.0 version: 3.2.3 jsdom: specifier: ^25.0.0 - version: 25.0.1(canvas@2.11.2) + version: 25.0.1(canvas@3.0.0) mime-types: specifier: ^2.1.31 version: 2.1.35 @@ -4153,6 +4153,9 @@ packages: resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} engines: {node: '>=8'} + bl@4.1.0: + resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} + blob-util@2.0.2: resolution: {integrity: sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ==} @@ -4315,6 +4318,10 @@ packages: resolution: {integrity: sha512-ItanGBMrmRV7Py2Z+Xhs7cT+FNt5K0vPL4p9EZ/UX/Mu7hFbkxSjKF2KVtPwX7UYWp7dRKnrTvReflgrItJbdw==} engines: {node: '>=6'} + canvas@3.0.0: + resolution: {integrity: sha512-NtcIBY88FjymQy+g2g5qnuP5IslrbWCQ3A6rSr1PeuYxVRapRZ3BZCrDyAakvI6CuDYidgZaf55ygulFVwROdg==} + engines: {node: ^18.12.0 || >= 20.9.0} + capture-exit@2.0.0: resolution: {integrity: sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==} engines: {node: 6.* || 8.* || >= 10.*} @@ -4375,6 +4382,9 @@ packages: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} + chownr@1.1.4: + resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} + chownr@2.0.0: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} @@ -5092,6 +5102,10 @@ packages: engines: {node: '>=0.10'} hasBin: true + detect-libc@2.0.3: + resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} + engines: {node: '>=8'} + detect-newline@3.1.0: resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} engines: {node: '>=8'} @@ -5524,6 +5538,10 @@ packages: resolution: {integrity: sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==} engines: {node: '>=0.10.0'} + expand-template@2.0.3: + resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==} + engines: {node: '>=6'} + expect@29.0.1: resolution: {integrity: sha512-yQgemsjLU+1S8t2A7pXT3Sn/v5/37LY8J+tocWtKEA0iEYYc6gfKbbJJX2fxHZmd7K9WpdbQqXUpmYkq1aewYg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -5783,6 +5801,9 @@ packages: from@0.1.7: resolution: {integrity: sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g==} + fs-constants@1.0.0: + resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} + fs-extra@10.1.0: resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} engines: {node: '>=12'} @@ -5891,6 +5912,9 @@ packages: getpass@0.1.7: resolution: {integrity: sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==} + github-from-package@0.0.0: + resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} + github-slugger@1.5.0: resolution: {integrity: sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw==} @@ -7507,6 +7531,9 @@ packages: resolution: {integrity: sha512-3KYa4m4Vlqx98GPdOHghxSdNtTvcP8E0kkaJ5Dlh+h2DRzF7zpuVVcA8B0QpKd11YJeP9QQ7ASkKzOeu195Wzw==} engines: {node: '>= 8.0.0'} + mkdirp-classic@0.5.3: + resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} + mkdirp@1.0.4: resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} engines: {node: '>=10'} @@ -7548,6 +7575,9 @@ packages: resolution: {integrity: sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==} engines: {node: '>=0.10.0'} + napi-build-utils@1.0.2: + resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} + natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} @@ -7569,6 +7599,13 @@ packages: no-case@3.0.4: resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} + node-abi@3.71.0: + resolution: {integrity: sha512-SZ40vRiy/+wRTf21hxkkEjPJZpARzUMVcJoQse2EF8qkUWbbO2z7vd5oA/H6bVH6SZQ5STGcu0KRDS7biNRfxw==} + engines: {node: '>=10'} + + node-addon-api@7.1.1: + resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==} + node-emoji@2.1.3: resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} engines: {node: '>=18'} @@ -8249,6 +8286,11 @@ packages: resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==} engines: {node: ^10 || ^12 || >=14} + prebuild-install@7.1.2: + resolution: {integrity: sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==} + engines: {node: '>=10'} + hasBin: true + preferred-pm@3.0.3: resolution: {integrity: sha512-+wZgbxNES/KlJs9q40F/1sfOd/j7f1O9JaHcW5Dsn3aUUOZg3L2bjpVUcKV2jvtElYfoTuQiNeMfQJ4kwUAhCQ==} engines: {node: '>=10'} @@ -9049,6 +9091,9 @@ packages: simple-get@3.1.1: resolution: {integrity: sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==} + simple-get@4.0.1: + resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==} + sirv@2.0.3: resolution: {integrity: sha512-O9jm9BsID1P+0HOi81VpXPoDxYP374pkOLzACAoyUQ/3OUVndNpsz6wMnY2z+yOxzbllCKZrM+9QrWsv4THnyA==} engines: {node: '>= 10'} @@ -9431,6 +9476,13 @@ packages: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} + tar-fs@2.1.1: + resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==} + + tar-stream@2.2.0: + resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==} + engines: {node: '>=6'} + tar@6.1.11: resolution: {integrity: sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==} engines: {node: '>= 10'} @@ -13647,11 +13699,12 @@ snapshots: nopt: 5.0.0 npmlog: 5.0.1 rimraf: 3.0.2 - semver: 7.5.4 + semver: 7.6.2 tar: 6.1.11 transitivePeerDependencies: - encoding - supports-color + optional: true '@marijn/find-cluster-break@1.0.2': {} @@ -14858,7 +14911,8 @@ snapshots: abab@2.0.6: {} - abbrev@1.1.1: {} + abbrev@1.1.1: + optional: true accepts@1.3.8: dependencies: @@ -15019,7 +15073,8 @@ snapshots: normalize-path: 3.0.0 picomatch: 2.3.1 - aproba@2.0.0: {} + aproba@2.0.0: + optional: true arch@2.2.0: {} @@ -15027,6 +15082,7 @@ snapshots: dependencies: delegates: 1.0.0 readable-stream: 3.6.2 + optional: true arg@4.1.3: {} @@ -15324,6 +15380,12 @@ snapshots: binary-extensions@2.2.0: {} + bl@4.1.0: + dependencies: + buffer: 5.7.1 + inherits: 2.0.4 + readable-stream: 3.6.2 + blob-util@2.0.2: {} bluebird@3.7.2: {} @@ -15542,6 +15604,13 @@ snapshots: transitivePeerDependencies: - encoding - supports-color + optional: true + + canvas@3.0.0: + dependencies: + node-addon-api: 7.1.1 + prebuild-install: 7.1.2 + simple-get: 3.1.1 capture-exit@2.0.0: dependencies: @@ -15617,7 +15686,10 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - chownr@2.0.0: {} + chownr@1.1.4: {} + + chownr@2.0.0: + optional: true chrome-trace-event@1.0.3: {} @@ -15732,7 +15804,8 @@ snapshots: color-name@1.1.4: {} - color-support@1.1.3: {} + color-support@1.1.3: + optional: true colord@2.9.2: {} @@ -15809,7 +15882,8 @@ snapshots: consola@3.2.3: {} - console-control-strings@1.1.0: {} + console-control-strings@1.1.0: + optional: true content-disposition@0.5.2: {} @@ -16366,7 +16440,8 @@ snapshots: delayed-stream@1.0.0: {} - delegates@1.0.0: {} + delegates@1.0.0: + optional: true depd@1.1.2: {} @@ -16382,7 +16457,10 @@ snapshots: detect-indent@6.1.0: {} - detect-libc@1.0.3: {} + detect-libc@1.0.3: + optional: true + + detect-libc@2.0.3: {} detect-newline@3.1.0: {} @@ -16938,6 +17016,8 @@ snapshots: transitivePeerDependencies: - supports-color + expand-template@2.0.3: {} + expect@29.0.1: dependencies: '@jest/expect-utils': 29.0.1 @@ -17261,6 +17341,8 @@ snapshots: from@0.1.7: {} + fs-constants@1.0.0: {} + fs-extra@10.1.0: dependencies: graceful-fs: 4.2.11 @@ -17295,6 +17377,7 @@ snapshots: fs-minipass@2.1.0: dependencies: minipass: 3.1.6 + optional: true fs-monkey@1.0.3: {} @@ -17325,6 +17408,7 @@ snapshots: string-width: 4.2.3 strip-ansi: 6.0.1 wide-align: 1.1.5 + optional: true generic-names@4.0.0: dependencies: @@ -17378,6 +17462,8 @@ snapshots: dependencies: assert-plus: 1.0.0 + github-from-package@0.0.0: {} + github-slugger@1.5.0: {} gl-matrix@3.4.3: {} @@ -17519,7 +17605,8 @@ snapshots: dependencies: has-symbols: 1.0.3 - has-unicode@2.0.1: {} + has-unicode@2.0.1: + optional: true has-value@0.3.1: dependencies: @@ -18654,7 +18741,7 @@ snapshots: - supports-color - utf-8-validate - jsdom@25.0.1(canvas@2.11.2): + jsdom@25.0.1(canvas@3.0.0): dependencies: cssstyle: 4.1.0 data-urls: 5.0.0 @@ -18678,7 +18765,7 @@ snapshots: ws: 8.18.0 xml-name-validator: 5.0.0 optionalDependencies: - canvas: 2.11.2 + canvas: 3.0.0 transitivePeerDependencies: - bufferutil - supports-color @@ -19631,6 +19718,7 @@ snapshots: minipass@3.1.6: dependencies: yallist: 4.0.0 + optional: true minipass@7.0.4: {} @@ -19638,6 +19726,7 @@ snapshots: dependencies: minipass: 3.1.6 yallist: 4.0.0 + optional: true mixin-deep@1.3.2: dependencies: @@ -19646,6 +19735,8 @@ snapshots: mixme@0.5.4: {} + mkdirp-classic@0.5.3: {} + mkdirp@1.0.4: {} moo@0.5.1: {} @@ -19665,7 +19756,8 @@ snapshots: dns-packet: 5.3.1 thunky: 1.1.0 - nan@2.18.0: {} + nan@2.18.0: + optional: true nanoid@3.3.7: {} @@ -19685,6 +19777,8 @@ snapshots: transitivePeerDependencies: - supports-color + napi-build-utils@1.0.2: {} + natural-compare@1.4.0: {} needle@3.3.1: @@ -19704,6 +19798,12 @@ snapshots: lower-case: 2.0.2 tslib: 2.6.2 + node-abi@3.71.0: + dependencies: + semver: 7.6.2 + + node-addon-api@7.1.1: {} + node-emoji@2.1.3: dependencies: '@sindresorhus/is': 4.6.0 @@ -19726,6 +19826,7 @@ snapshots: nopt@5.0.0: dependencies: abbrev: 1.1.1 + optional: true normalize-package-data@2.5.0: dependencies: @@ -19764,6 +19865,7 @@ snapshots: console-control-strings: 1.1.0 gauge: 3.0.2 set-blocking: 2.0.0 + optional: true nprogress@0.2.0: {} @@ -19928,7 +20030,7 @@ snapshots: got: 12.6.1 registry-auth-token: 5.0.2 registry-url: 6.0.1 - semver: 7.5.4 + semver: 7.6.2 pako@0.2.9: {} @@ -20510,6 +20612,21 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 + prebuild-install@7.1.2: + dependencies: + detect-libc: 2.0.3 + expand-template: 2.0.3 + github-from-package: 0.0.0 + minimist: 1.2.8 + mkdirp-classic: 0.5.3 + napi-build-utils: 1.0.2 + node-abi: 3.71.0 + pump: 3.0.0 + rc: 1.2.8 + simple-get: 4.0.1 + tar-fs: 2.1.1 + tunnel-agent: 0.6.0 + preferred-pm@3.0.3: dependencies: find-up: 5.0.0 @@ -21441,6 +21558,12 @@ snapshots: once: 1.4.0 simple-concat: 1.0.1 + simple-get@4.0.1: + dependencies: + decompress-response: 6.0.0 + once: 1.4.0 + simple-concat: 1.0.1 + sirv@2.0.3: dependencies: '@polka/url': 1.0.0-next.21 @@ -21903,6 +22026,21 @@ snapshots: tapable@2.2.1: {} + tar-fs@2.1.1: + dependencies: + chownr: 1.1.4 + mkdirp-classic: 0.5.3 + pump: 3.0.0 + tar-stream: 2.2.0 + + tar-stream@2.2.0: + dependencies: + bl: 4.1.0 + end-of-stream: 1.4.4 + fs-constants: 1.0.0 + inherits: 2.0.4 + readable-stream: 3.6.2 + tar@6.1.11: dependencies: chownr: 2.0.0 @@ -21911,6 +22049,7 @@ snapshots: minizlib: 2.1.2 mkdirp: 1.0.4 yallist: 4.0.0 + optional: true teeny-request@7.1.1: dependencies: @@ -22747,6 +22886,7 @@ snapshots: wide-align@1.1.5: dependencies: string-width: 4.2.3 + optional: true widest-line@4.0.1: dependencies: