Skip to content

Commit 481ba6f

Browse files
renovate[bot]renovate-botkyranetfavna
authored
fix(deps): ensure compatibility with latest skia-canvas (#439)
Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Antonio Román <[email protected]> Co-authored-by: Jeroen Claassens <[email protected]>
1 parent 174540d commit 481ba6f

File tree

5 files changed

+156
-50
lines changed

5 files changed

+156
-50
lines changed

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,22 @@
4747
"@sapphire/eslint-config": "^4.0.9",
4848
"@sapphire/prettier-config": "1.2.8",
4949
"@sapphire/ts-config": "3.1.7",
50-
"@types/skia-canvas": "^0.9.2",
51-
"@typescript-eslint/eslint-plugin": "^5.9.0",
52-
"@typescript-eslint/parser": "^5.9.0",
50+
"@typescript-eslint/eslint-plugin": "^5.9.1",
51+
"@typescript-eslint/parser": "^5.9.1",
5352
"canvas": "^2.8.0",
5453
"cz-conventional-changelog": "^3.3.0",
55-
"eslint": "^8.6.0",
54+
"eslint": "~8.6.0",
5655
"eslint-config-prettier": "^8.3.0",
5756
"eslint-plugin-prettier": "^4.0.0",
5857
"husky": "^7.0.4",
5958
"lint-staged": "^12.1.7",
6059
"prettier": "^2.5.1",
6160
"pretty-quick": "^3.1.3",
62-
"rollup": "^2.63.0",
61+
"rollup": "^2.64.0",
6362
"rollup-plugin-cleaner": "^1.0.0",
6463
"rollup-plugin-terser": "^7.0.2",
6564
"rollup-plugin-typescript2": "^0.31.1",
66-
"skia-canvas": "^0.9.27",
65+
"skia-canvas": "^0.9.28",
6766
"standard-version": "^9.3.2",
6867
"ts-node": "^10.4.0",
6968
"typedoc": "^0.22.10",

src/lib/BaseCanvas.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ export interface PrintCircularOptions {
4141

4242
export type GlobalCompositeOperation = CanvasRenderingContext2D['globalCompositeOperation'];
4343
export type PatternRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | '' | null;
44+
export type BaseCanvasRenderingContext2D = Omit<
45+
CanvasRenderingContext2D,
46+
'canvas' | 'getContextAttributes' | 'drawImage' | 'fillStyle' | 'strokeStyle' | 'createPattern'
47+
> & {
48+
drawImage(...args: any[]): void;
49+
fillStyle: any;
50+
strokeStyle: any;
51+
createPattern(...args: any[]): void;
52+
};
4453

4554
export interface BaseCanvasElement {
4655
width: number;
@@ -55,7 +64,7 @@ export interface BaseImageElement {
5564

5665
export abstract class BaseCanvas<
5766
CanvasType extends BaseCanvasElement = HTMLCanvasElement,
58-
ContextType extends CanvasRenderingContext2D = CanvasRenderingContext2D,
67+
ContextType extends BaseCanvasRenderingContext2D = CanvasRenderingContext2D,
5968
ImageType extends Parameters<ContextType['drawImage']>[0] = Parameters<ContextType['drawImage']>[0],
6069
TextMetricsType extends ReturnType<ContextType['measureText']> = ReturnType<ContextType['measureText']>
6170
> {
@@ -630,7 +639,6 @@ export abstract class BaseCanvas<
630639
*/
631640
public printImage(image: ImageType, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): this;
632641
public printImage(...args: readonly unknown[]) {
633-
// @ts-expect-error: Mismatching overloads
634642
this.context.drawImage(...args);
635643
return this;
636644
}

src/lib/Util.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// eslint-disable-next-line spaced-comment
22
/// <reference lib="dom" />
33

4-
/* eslint-disable @typescript-eslint/no-namespace */
5-
import type { BaseCanvas, BaseCanvasElement } from './BaseCanvas';
4+
import type { BaseCanvas, BaseCanvasElement, BaseCanvasRenderingContext2D } from './BaseCanvas';
65

76
export const fontRegExp = /([\d.]+)(px|pt|pc|in|cm|mm|%|em|ex|ch|rem|q)/i;
87
export const getFontHeight = (() => {
@@ -52,7 +51,7 @@ export const getFontHeight = (() => {
5251

5352
export const textWrap = <
5453
CanvasType extends BaseCanvasElement,
55-
ContextType extends CanvasRenderingContext2D,
54+
ContextType extends BaseCanvasRenderingContext2D,
5655
ImageType extends Parameters<ContextType['drawImage']>[0],
5756
TextMetricsType extends ReturnType<ContextType['measureText']>
5857
>(

src/skia.ts

Lines changed: 39 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import {
55
Canvas as SkiaCanvas,
66
CanvasRenderingContext2D as SkiaCanvasRenderingContext2D,
7+
Font,
78
FontLibrary,
8-
FontVariant,
99
Image as SkiaImage,
1010
loadImage,
1111
Path2D
@@ -130,7 +130,7 @@ export class Canvas extends BaseCanvas<SkiaCanvas, SkiaCanvasRenderingContext2D>
130130
/**
131131
* Returns the pages created with {@link SkiaCanvas.newPage}.
132132
*/
133-
public getPages(): readonly SkiaCanvasRenderingContext2D[];
133+
public getPages(): SkiaCanvasRenderingContext2D[];
134134
/**
135135
* Calls the callback with the pages created with {@link SkiaCanvas.newPage}, and returns itself.
136136
* @param cb The callback to be called.
@@ -254,18 +254,6 @@ export class Canvas extends BaseCanvas<SkiaCanvas, SkiaCanvasRenderingContext2D>
254254
return this.context.textWrap;
255255
}
256256

257-
/**
258-
* Render the canvas into a data URL with the specified format.
259-
* @param format The image format the data URL must have.
260-
* @param options The render options.
261-
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL
262-
*/
263-
public toDataURL(format: RenderImageFormat, options?: RenderOptions): Promise<string>;
264-
public toDataURL(...args: readonly any[]): Promise<string> {
265-
// @ts-expect-error: Complains about invalid overload (expects more than 0 overloads).
266-
return this.canvas.toDataURL(...args);
267-
}
268-
269257
/**
270258
* Shorthand for {@link SkiaCanvas.toBuffer} with `application/pdf` as `format` and default options.
271259
* @returns A PDF document.
@@ -310,6 +298,18 @@ export class Canvas extends BaseCanvas<SkiaCanvas, SkiaCanvasRenderingContext2D>
310298
return this.canvas.toBuffer(...args);
311299
}
312300

301+
/**
302+
* Render the canvas into a data URL with the specified format.
303+
* @param format The image format the data URL must have.
304+
* @param options The render options.
305+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL
306+
*/
307+
public toDataURL(format: RenderImageFormat, options?: RenderOptions): Promise<string>;
308+
public toDataURL(...args: readonly any[]): Promise<string> {
309+
// @ts-expect-error: Complains about invalid overload (expects more than 0 overloads).
310+
return this.canvas.toDataURL(...args);
311+
}
312+
313313
/**
314314
* Takes a file path and writes the canvas's current contents to disk. If the filename ends with an extension that
315315
* makes its format clear, the second argument is optional. If the filename is ambiguous, you can pass an options
@@ -327,7 +327,28 @@ export class Canvas extends BaseCanvas<SkiaCanvas, SkiaCanvasRenderingContext2D>
327327
public saveAs(filename: string, options?: SaveAsOptions): this;
328328
public saveAs(...args: readonly any[]): this {
329329
// @ts-expect-error: Complains about invalid overload (expects more than 0 overloads).
330-
this.canvas.saveAs(...args);
330+
this.canvas.saveAsSync(...args);
331+
return this;
332+
}
333+
334+
/**
335+
* Takes a file path and writes the canvas's current contents to disk. If the filename ends with an extension that
336+
* makes its format clear, the second argument is optional. If the filename is ambiguous, you can pass an options
337+
* object with a format string using names like "png" and "jpeg" or a full mime type like "application/pdf".
338+
* @param filename The way multi-page documents are handled depends on the filename argument. If the filename
339+
* contains the string "{}", it will be used as template for generating a numbered sequence of files—one per page.
340+
* If no curly braces are found in the filename, only a single file will be saved. That single file will be
341+
* multi-page in the case of PDF output but for other formats it will contain only the most recently added page.
342+
*
343+
* An integer can optionally be placed between the braces to indicate the number of padding characters to use for
344+
* numbering. For instance "page-{}.svg" will generate files of the form page-1.svg whereas "frame-{4}.png" will
345+
* generate files like frame-0001.png.
346+
* @param options The options for the image render.
347+
*/
348+
public saveAsAsync(filename: string, options?: SaveAsOptions): Promise<this>;
349+
public async saveAsAsync(...args: readonly any[]): Promise<this> {
350+
// @ts-expect-error: Complains about invalid overload (expects more than 0 overloads).
351+
await this.canvas.saveAs(...args);
331352
return this;
332353
}
333354
}
@@ -338,9 +359,9 @@ export * from './lib/Util';
338359
export { Path2D, FontLibrary, SkiaImage as Image };
339360
export const resolveImage = loadImage;
340361

341-
export function registerFont(familyName: string, fontPaths: ReadonlyArray<string>): FontVariant[];
342-
export function registerFont(fontPaths: ReadonlyArray<string>): FontVariant[];
343-
export function registerFont(families: Record<string, ReadonlyArray<string> | string>): Record<string, FontVariant[] | FontVariant>;
362+
export function registerFont(familyName: string, fontPaths?: string | readonly string[]): Font[];
363+
export function registerFont(fontPaths: readonly string[]): Font[];
364+
export function registerFont(families: Record<string, readonly string[] | string>): Record<string, Font[] | Font>;
344365
export function registerFont(...args: readonly any[]) {
345366
// @ts-expect-error: Complains about invalid overload (expects more than 0 overloads).
346367
return FontLibrary.use(...args);

yarn.lock

Lines changed: 100 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@
282282
semver "^7.3.4"
283283
tar "^6.1.0"
284284

285-
"@mapbox/node-pre-gyp@^1.0.6":
286-
version "1.0.6"
287-
resolved "https://registry.yarnpkg.com/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.6.tgz#f859d601a210537e27530f363028cde56e0cf962"
288-
integrity sha512-qK1ECws8UxuPqOA8F5LFD90vyVU33W7N3hGfgsOVfrJaRVc8McC3JClTDHpeSbL9CBrOHly/4GsNPAvIgNZE+g==
285+
"@mapbox/node-pre-gyp@^1.0.8":
286+
version "1.0.8"
287+
resolved "https://registry.yarnpkg.com/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.8.tgz#32abc8a5c624bc4e46c43d84dfb8b26d33a96f58"
288+
integrity sha512-CMGKi28CF+qlbXh26hDe6NxCd7amqeAzEqnS6IHeO6LoaKyM/n+Xw3HT1COdq8cuioOdlKdqn/hCmqPUOMOywg==
289289
dependencies:
290290
detect-libc "^1.0.3"
291291
https-proxy-agent "^5.0.0"
@@ -417,13 +417,6 @@
417417
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.9.tgz#152c6c20a7688c30b967ec1841d31ace569863fc"
418418
integrity sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==
419419

420-
"@types/skia-canvas@^0.9.2":
421-
version "0.9.2"
422-
resolved "https://registry.yarnpkg.com/@types/skia-canvas/-/skia-canvas-0.9.2.tgz#81a57827a957d4bfdce57cac92881ddeaaa3622f"
423-
integrity sha512-0iWGqp6ZdLsOOR6UwWTXPf4Kdrgj+NTUZ9MYVTbh1fP14uuWRhjKXCZyg5/qXIWE05IESh2p1uwjqlWWI0l/Fg==
424-
dependencies:
425-
"@types/node" "*"
426-
427420
"@typescript-eslint/eslint-plugin@^5.9.0":
428421
version "5.9.0"
429422
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.9.0.tgz#382182d5cb062f52aac54434cfc47c28898c8006"
@@ -439,6 +432,21 @@
439432
semver "^7.3.5"
440433
tsutils "^3.21.0"
441434

435+
"@typescript-eslint/eslint-plugin@^5.9.1":
436+
version "5.9.1"
437+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.9.1.tgz#e5a86d7e1f9dc0b3df1e6d94feaf20dd838d066c"
438+
integrity sha512-Xv9tkFlyD4MQGpJgTo6wqDqGvHIRmRgah/2Sjz1PUnJTawjHWIwBivUE9x0QtU2WVii9baYgavo/bHjrZJkqTw==
439+
dependencies:
440+
"@typescript-eslint/experimental-utils" "5.9.1"
441+
"@typescript-eslint/scope-manager" "5.9.1"
442+
"@typescript-eslint/type-utils" "5.9.1"
443+
debug "^4.3.2"
444+
functional-red-black-tree "^1.0.1"
445+
ignore "^5.1.8"
446+
regexpp "^3.2.0"
447+
semver "^7.3.5"
448+
tsutils "^3.21.0"
449+
442450
"@typescript-eslint/[email protected]":
443451
version "5.9.0"
444452
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.9.0.tgz#652762d37d6565ef07af285021b8347b6c79a827"
@@ -451,6 +459,18 @@
451459
eslint-scope "^5.1.1"
452460
eslint-utils "^3.0.0"
453461

462+
"@typescript-eslint/[email protected]":
463+
version "5.9.1"
464+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.9.1.tgz#8c407c4dd5ffe522329df6e4c9c2b52206d5f7f1"
465+
integrity sha512-cb1Njyss0mLL9kLXgS/eEY53SZQ9sT519wpX3i+U457l2UXRDuo87hgKfgRazmu9/tQb0x2sr3Y0yrU+Zz0y+w==
466+
dependencies:
467+
"@types/json-schema" "^7.0.9"
468+
"@typescript-eslint/scope-manager" "5.9.1"
469+
"@typescript-eslint/types" "5.9.1"
470+
"@typescript-eslint/typescript-estree" "5.9.1"
471+
eslint-scope "^5.1.1"
472+
eslint-utils "^3.0.0"
473+
454474
"@typescript-eslint/parser@^5.9.0":
455475
version "5.9.0"
456476
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.9.0.tgz#fdbb08767a4caa6ca6ccfed5f9ffe9387f0c7d97"
@@ -461,6 +481,16 @@
461481
"@typescript-eslint/typescript-estree" "5.9.0"
462482
debug "^4.3.2"
463483

484+
"@typescript-eslint/parser@^5.9.1":
485+
version "5.9.1"
486+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.9.1.tgz#b114011010a87e17b3265ca715e16c76a9834cef"
487+
integrity sha512-PLYO0AmwD6s6n0ZQB5kqPgfvh73p0+VqopQQLuNfi7Lm0EpfKyDalchpVwkE+81k5HeiRrTV/9w1aNHzjD7C4g==
488+
dependencies:
489+
"@typescript-eslint/scope-manager" "5.9.1"
490+
"@typescript-eslint/types" "5.9.1"
491+
"@typescript-eslint/typescript-estree" "5.9.1"
492+
debug "^4.3.2"
493+
464494
"@typescript-eslint/[email protected]":
465495
version "5.9.0"
466496
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.9.0.tgz#02dfef920290c1dcd7b1999455a3eaae7a1a3117"
@@ -469,6 +499,14 @@
469499
"@typescript-eslint/types" "5.9.0"
470500
"@typescript-eslint/visitor-keys" "5.9.0"
471501

502+
"@typescript-eslint/[email protected]":
503+
version "5.9.1"
504+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.9.1.tgz#6c27be89f1a9409f284d95dfa08ee3400166fe69"
505+
integrity sha512-8BwvWkho3B/UOtzRyW07ffJXPaLSUKFBjpq8aqsRvu6HdEuzCY57+ffT7QoV4QXJXWSU1+7g3wE4AlgImmQ9pQ==
506+
dependencies:
507+
"@typescript-eslint/types" "5.9.1"
508+
"@typescript-eslint/visitor-keys" "5.9.1"
509+
472510
"@typescript-eslint/[email protected]":
473511
version "5.9.0"
474512
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.9.0.tgz#fd5963ead04bc9b7af9c3a8e534d8d39f1ce5f93"
@@ -478,11 +516,25 @@
478516
debug "^4.3.2"
479517
tsutils "^3.21.0"
480518

519+
"@typescript-eslint/[email protected]":
520+
version "5.9.1"
521+
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.9.1.tgz#c6832ffe655b9b1fec642d36db1a262d721193de"
522+
integrity sha512-tRSpdBnPRssjlUh35rE9ug5HrUvaB9ntREy7gPXXKwmIx61TNN7+l5YKgi1hMKxo5NvqZCfYhA5FvyuJG6X6vg==
523+
dependencies:
524+
"@typescript-eslint/experimental-utils" "5.9.1"
525+
debug "^4.3.2"
526+
tsutils "^3.21.0"
527+
481528
"@typescript-eslint/[email protected]":
482529
version "5.9.0"
483530
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.9.0.tgz#e5619803e39d24a03b3369506df196355736e1a3"
484531
integrity sha512-mWp6/b56Umo1rwyGCk8fPIzb9Migo8YOniBGPAQDNC6C52SeyNGN4gsVwQTAR+RS2L5xyajON4hOLwAGwPtUwg==
485532

533+
"@typescript-eslint/[email protected]":
534+
version "5.9.1"
535+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.9.1.tgz#1bef8f238a2fb32ebc6ff6d75020d9f47a1593c6"
536+
integrity sha512-SsWegWudWpkZCwwYcKoDwuAjoZXnM1y2EbEerTHho19Hmm+bQ56QG4L4jrtCu0bI5STaRTvRTZmjprWlTw/5NQ==
537+
486538
"@typescript-eslint/[email protected]":
487539
version "5.9.0"
488540
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.9.0.tgz#0e5c6f03f982931abbfbc3c1b9df5fbf92a3490f"
@@ -496,6 +548,19 @@
496548
semver "^7.3.5"
497549
tsutils "^3.21.0"
498550

551+
"@typescript-eslint/[email protected]":
552+
version "5.9.1"
553+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.9.1.tgz#d5b996f49476495070d2b8dd354861cf33c005d6"
554+
integrity sha512-gL1sP6A/KG0HwrahVXI9fZyeVTxEYV//6PmcOn1tD0rw8VhUWYeZeuWHwwhnewnvEMcHjhnJLOBhA9rK4vmb8A==
555+
dependencies:
556+
"@typescript-eslint/types" "5.9.1"
557+
"@typescript-eslint/visitor-keys" "5.9.1"
558+
debug "^4.3.2"
559+
globby "^11.0.4"
560+
is-glob "^4.0.3"
561+
semver "^7.3.5"
562+
tsutils "^3.21.0"
563+
499564
"@typescript-eslint/[email protected]":
500565
version "5.9.0"
501566
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.9.0.tgz#7585677732365e9d27f1878150fab3922784a1a6"
@@ -504,6 +569,14 @@
504569
"@typescript-eslint/types" "5.9.0"
505570
eslint-visitor-keys "^3.0.0"
506571

572+
"@typescript-eslint/[email protected]":
573+
version "5.9.1"
574+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.9.1.tgz#f52206f38128dd4f675cf28070a41596eee985b7"
575+
integrity sha512-Xh37pNz9e9ryW4TVdwiFzmr4hloty8cFj8GTWMXh3Z8swGwyQWeCcNgF0hm6t09iZd6eiZmIf4zHedQVP6TVtg==
576+
dependencies:
577+
"@typescript-eslint/types" "5.9.1"
578+
eslint-visitor-keys "^3.0.0"
579+
507580
"@yarn-tool/resolve-package@^1.0.36":
508581
version "1.0.37"
509582
resolved "https://registry.yarnpkg.com/@yarn-tool/resolve-package/-/resolve-package-1.0.37.tgz#9837ec2eba3a30e914600858c439de25baedacb7"
@@ -757,6 +830,11 @@ canvas@^2.8.0:
757830
nan "^2.14.0"
758831
simple-get "^3.0.3"
759832

833+
cargo-cp-artifact@^0.1:
834+
version "0.1.6"
835+
resolved "https://registry.yarnpkg.com/cargo-cp-artifact/-/cargo-cp-artifact-0.1.6.tgz#df1bc9dad036ae0f4230639a869182e1d5850f89"
836+
integrity sha512-CQw0doK/aaF7j041666XzuilHxqMxaKkn+I5vmBsd8SAwS0cO5CqVEVp0xJwOKstyqWZ6WK4Ww3O6p26x/Goyg==
837+
760838
chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2:
761839
version "2.4.2"
762840
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
@@ -1398,7 +1476,7 @@ eslint-visitor-keys@^3.1.0:
13981476
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz#eee4acea891814cda67a7d8812d9647dd0179af2"
13991477
integrity sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==
14001478

1401-
eslint@^8.6.0:
1479+
eslint@^8.6.0, eslint@~8.6.0:
14021480
version "8.6.0"
14031481
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.6.0.tgz#4318c6a31c5584838c1a2e940c478190f58d558e"
14041482
integrity sha512-UvxdOJ7mXFlw7iuHZA4jmzPaUqIw54mZrv+XPYKNbKdLR0et4rf60lIZUU9kiNtnzzMzGWxMV+tQ7uG7JG8DPw==
@@ -3133,10 +3211,10 @@ rollup-plugin-typescript2@^0.31.1:
31333211
resolve "1.20.0"
31343212
tslib "2.2.0"
31353213

3136-
rollup@^2.63.0:
3137-
version "2.63.0"
3138-
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.63.0.tgz#fe2f7fec2133f3fab9e022b9ac245628d817c6bb"
3139-
integrity sha512-nps0idjmD+NXl6OREfyYXMn/dar3WGcyKn+KBzPdaLecub3x/LrId0wUcthcr8oZUAcZAR8NKcfGGFlNgGL1kQ==
3214+
rollup@^2.64.0:
3215+
version "2.64.0"
3216+
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.64.0.tgz#f0f59774e21fbb56de438a37d06a2189632b207a"
3217+
integrity sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ==
31403218
optionalDependencies:
31413219
fsevents "~2.3.2"
31423220

@@ -3259,12 +3337,13 @@ simple-get@^4.0.0:
32593337
once "^1.3.1"
32603338
simple-concat "^1.0.0"
32613339

3262-
skia-canvas@^0.9.27:
3263-
version "0.9.27"
3264-
resolved "https://registry.yarnpkg.com/skia-canvas/-/skia-canvas-0.9.27.tgz#1b9b2714a993b410629f020b01e1f61d7c96728c"
3265-
integrity sha512-a3n/ZFNpf9bKBPhbg+lXBbZFLMlFnnW7h5JEn3BdhcCaOcEiP5WKNfRxgepUL9imuTE+HqbCiWpfYA22bkr0jQ==
3340+
skia-canvas@^0.9.28:
3341+
version "0.9.28"
3342+
resolved "https://registry.yarnpkg.com/skia-canvas/-/skia-canvas-0.9.28.tgz#b7d6f0212e3c81e11802f4804b79dd4d6b841056"
3343+
integrity sha512-NIYGtvf7JNHgCB36rAhFyQwU7GMQ0KA+++P5R8SMkG/cBL8hSk6aBaZrCM2qNqHi+CyuMDbJsNV0h5h9joDIXw==
32663344
dependencies:
3267-
"@mapbox/node-pre-gyp" "^1.0.6"
3345+
"@mapbox/node-pre-gyp" "^1.0.8"
3346+
cargo-cp-artifact "^0.1"
32683347
glob "^7.2.0"
32693348
path-browserify "^1.0.1"
32703349
simple-get "^4.0.0"

0 commit comments

Comments
 (0)