Skip to content

Commit b169ebb

Browse files
committed
chore(types): update deps
1 parent 77050b1 commit b169ebb

7 files changed

Lines changed: 158 additions & 116 deletions

File tree

baselines/dom.generated.d.ts

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ interface CacheQueryOptions {
173173

174174
interface CanvasRenderingContext2DSettings {
175175
alpha?: boolean;
176+
colorSpace?: PredefinedColorSpace;
176177
desynchronized?: boolean;
177178
}
178179

@@ -213,6 +214,7 @@ interface ComputedEffectTiming extends EffectTiming {
213214
endTime?: number;
214215
localTime?: number | null;
215216
progress?: number | null;
217+
startTime?: number;
216218
}
217219

218220
interface ComputedKeyframe {
@@ -412,6 +414,7 @@ interface EffectTiming {
412414
fill?: FillMode;
413415
iterationStart?: number;
414416
iterations?: number;
417+
playbackRate?: number;
415418
}
416419

417420
interface ElementCreationOptions {
@@ -588,6 +591,10 @@ interface ImageBitmapRenderingContextSettings {
588591
alpha?: boolean;
589592
}
590593

594+
interface ImageDataSettings {
595+
colorSpace?: PredefinedColorSpace;
596+
}
597+
591598
interface ImportMeta {
592599
url: string;
593600
}
@@ -666,6 +673,7 @@ interface KeyframeAnimationOptions extends KeyframeEffectOptions {
666673

667674
interface KeyframeEffectOptions extends EffectTiming {
668675
composite?: CompositeOperation;
676+
iterationComposite?: IterationCompositeOperation;
669677
pseudoElement?: string | null;
670678
}
671679

@@ -942,6 +950,7 @@ interface OptionalEffectTiming {
942950
fill?: FillMode;
943951
iterationStart?: number;
944952
iterations?: number;
953+
playbackRate?: number;
945954
}
946955

947956
interface OscillatorOptions extends AudioNodeOptions {
@@ -1215,7 +1224,6 @@ interface RTCCertificateExpiration {
12151224
interface RTCConfiguration {
12161225
bundlePolicy?: RTCBundlePolicy;
12171226
certificates?: RTCCertificate[];
1218-
encodedInsertableStreams?: boolean;
12191227
iceCandidatePoolSize?: number;
12201228
iceServers?: RTCIceServer[];
12211229
iceTransportPolicy?: RTCIceTransportPolicy;
@@ -2676,6 +2684,7 @@ interface CSSStyleDeclaration {
26762684
animationPlayState: string;
26772685
animationTimingFunction: string;
26782686
appearance: string;
2687+
aspectRatio: string;
26792688
backfaceVisibility: string;
26802689
background: string;
26812690
backgroundAttachment: string;
@@ -3325,9 +3334,9 @@ declare var CanvasGradient: {
33253334
};
33263335

33273336
interface CanvasImageData {
3328-
createImageData(sw: number, sh: number): ImageData;
3337+
createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
33293338
createImageData(imagedata: ImageData): ImageData;
3330-
getImageData(sx: number, sy: number, sw: number, sh: number): ImageData;
3339+
getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData;
33313340
putImageData(imagedata: ImageData, dx: number, dy: number): void;
33323341
putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;
33333342
}
@@ -3396,6 +3405,7 @@ interface CanvasShadowStyles {
33963405
}
33973406

33983407
interface CanvasState {
3408+
reset(): void;
33993409
restore(): void;
34003410
save(): void;
34013411
}
@@ -3409,8 +3419,14 @@ interface CanvasText {
34093419
interface CanvasTextDrawingStyles {
34103420
direction: CanvasDirection;
34113421
font: string;
3422+
fontKerning: CanvasFontKerning;
3423+
fontStretch: CanvasFontStretch;
3424+
fontVariantCaps: CanvasFontVariantCaps;
34123425
textAlign: CanvasTextAlign;
34133426
textBaseline: CanvasTextBaseline;
3427+
textLetterSpacing: number;
3428+
textRendering: CanvasTextRendering;
3429+
textWordSpacing: number;
34143430
}
34153431

34163432
interface CanvasTransform {
@@ -9383,8 +9399,8 @@ interface ImageData {
93839399

93849400
declare var ImageData: {
93859401
readonly prototype: ImageData;
9386-
new(sw: number, sh: number): ImageData;
9387-
new(data: Uint8ClampedArray, sw: number, sh?: number): ImageData;
9402+
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
9403+
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
93889404
};
93899405

93909406
interface InnerHTML {
@@ -9473,6 +9489,7 @@ declare var KeyboardEvent: {
94739489

94749490
interface KeyframeEffect extends AnimationEffect {
94759491
composite: CompositeOperation;
9492+
iterationComposite: IterationCompositeOperation;
94769493
pseudoElement: string | null;
94779494
target: Element | null;
94789495
getKeyframes(): ComputedKeyframe[];
@@ -18616,10 +18633,14 @@ type BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "low
1861618633
type CanPlayTypeResult = "" | "maybe" | "probably";
1861718634
type CanvasDirection = "inherit" | "ltr" | "rtl";
1861818635
type CanvasFillRule = "evenodd" | "nonzero";
18636+
type CanvasFontKerning = "auto" | "none" | "normal";
18637+
type CanvasFontStretch = "condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded";
18638+
type CanvasFontVariantCaps = "all-petite-caps" | "all-small-caps" | "normal" | "petite-caps" | "small-caps" | "titling-caps" | "unicase";
1861918639
type CanvasLineCap = "butt" | "round" | "square";
1862018640
type CanvasLineJoin = "bevel" | "miter" | "round";
1862118641
type CanvasTextAlign = "center" | "end" | "left" | "right" | "start";
1862218642
type CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top";
18643+
type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" | "optimizeSpeed";
1862318644
type ChannelCountMode = "clamped-max" | "explicit" | "max";
1862418645
type ChannelInterpretation = "discrete" | "speakers";
1862518646
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
@@ -18648,6 +18669,7 @@ type IDBRequestReadyState = "done" | "pending";
1864818669
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
1864918670
type ImageOrientation = "flipY" | "none";
1865018671
type ImageSmoothingQuality = "high" | "low" | "medium";
18672+
type IterationCompositeOperation = "accumulate" | "replace";
1865118673
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
1865218674
type KeyType = "private" | "public" | "secret";
1865318675
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
@@ -18659,7 +18681,7 @@ type MediaKeyMessageType = "individualization-request" | "license-release" | "li
1865918681
type MediaKeySessionType = "persistent-license" | "temporary";
1866018682
type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";
1866118683
type MediaKeysRequirement = "not-allowed" | "optional" | "required";
18662-
type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";
18684+
type MediaSessionAction = "hangup" | "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop" | "togglecamera" | "togglemicrophone";
1866318685
type MediaSessionPlaybackState = "none" | "paused" | "playing";
1866418686
type MediaStreamTrackState = "ended" | "live";
1866518687
type NavigationType = "back_forward" | "navigate" | "prerender" | "reload";
@@ -18676,6 +18698,7 @@ type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "
1867618698
type PermissionState = "denied" | "granted" | "prompt";
1867718699
type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
1867818700
type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";
18701+
type PredefinedColorSpace = "display-p3" | "srgb";
1867918702
type PremultiplyAlpha = "default" | "none" | "premultiply";
1868018703
type PresentationStyle = "attachment" | "inline" | "unspecified";
1868118704
type PublicKeyCredentialType = "public-key";

baselines/serviceworker.generated.d.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ interface CacheQueryOptions {
6060

6161
interface CanvasRenderingContext2DSettings {
6262
alpha?: boolean;
63+
colorSpace?: PredefinedColorSpace;
6364
desynchronized?: boolean;
6465
}
6566

@@ -262,6 +263,10 @@ interface ImageBitmapRenderingContextSettings {
262263
alpha?: boolean;
263264
}
264265

266+
interface ImageDataSettings {
267+
colorSpace?: PredefinedColorSpace;
268+
}
269+
265270
interface ImportMeta {
266271
url: string;
267272
}
@@ -2125,8 +2130,8 @@ interface ImageData {
21252130

21262131
declare var ImageData: {
21272132
readonly prototype: ImageData;
2128-
new(sw: number, sh: number): ImageData;
2129-
new(data: Uint8ClampedArray, sw: number, sh?: number): ImageData;
2133+
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
2134+
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
21302135
};
21312136

21322137
interface KHR_parallel_shader_compile {
@@ -5660,6 +5665,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
56605665
type NotificationPermission = "default" | "denied" | "granted";
56615666
type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push";
56625667
type PermissionState = "denied" | "granted" | "prompt";
5668+
type PredefinedColorSpace = "display-p3" | "srgb";
56635669
type PremultiplyAlpha = "default" | "none" | "premultiply";
56645670
type PushEncryptionKeyName = "auth" | "p256dh";
56655671
type PushPermissionState = "denied" | "granted" | "prompt";

baselines/sharedworker.generated.d.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ interface CacheQueryOptions {
6060

6161
interface CanvasRenderingContext2DSettings {
6262
alpha?: boolean;
63+
colorSpace?: PredefinedColorSpace;
6364
desynchronized?: boolean;
6465
}
6566

@@ -237,6 +238,10 @@ interface ImageBitmapRenderingContextSettings {
237238
alpha?: boolean;
238239
}
239240

241+
interface ImageDataSettings {
242+
colorSpace?: PredefinedColorSpace;
243+
}
244+
240245
interface ImportMeta {
241246
url: string;
242247
}
@@ -2046,8 +2051,8 @@ interface ImageData {
20462051

20472052
declare var ImageData: {
20482053
readonly prototype: ImageData;
2049-
new(sw: number, sh: number): ImageData;
2050-
new(data: Uint8ClampedArray, sw: number, sh?: number): ImageData;
2054+
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
2055+
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
20512056
};
20522057

20532058
interface KHR_parallel_shader_compile {
@@ -5701,6 +5706,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
57015706
type NotificationPermission = "default" | "denied" | "granted";
57025707
type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push";
57035708
type PermissionState = "denied" | "granted" | "prompt";
5709+
type PredefinedColorSpace = "display-p3" | "srgb";
57045710
type PremultiplyAlpha = "default" | "none" | "premultiply";
57055711
type PushEncryptionKeyName = "auth" | "p256dh";
57065712
type PushPermissionState = "denied" | "granted" | "prompt";

baselines/webworker.generated.d.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ interface CacheQueryOptions {
6060

6161
interface CanvasRenderingContext2DSettings {
6262
alpha?: boolean;
63+
colorSpace?: PredefinedColorSpace;
6364
desynchronized?: boolean;
6465
}
6566

@@ -262,6 +263,10 @@ interface ImageBitmapRenderingContextSettings {
262263
alpha?: boolean;
263264
}
264265

266+
interface ImageDataSettings {
267+
colorSpace?: PredefinedColorSpace;
268+
}
269+
265270
interface ImportMeta {
266271
url: string;
267272
}
@@ -2183,8 +2188,8 @@ interface ImageData {
21832188

21842189
declare var ImageData: {
21852190
readonly prototype: ImageData;
2186-
new(sw: number, sh: number): ImageData;
2187-
new(data: Uint8ClampedArray, sw: number, sh?: number): ImageData;
2191+
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
2192+
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
21882193
};
21892194

21902195
interface KHR_parallel_shader_compile {
@@ -5934,6 +5939,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
59345939
type NotificationPermission = "default" | "denied" | "granted";
59355940
type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push";
59365941
type PermissionState = "denied" | "granted" | "prompt";
5942+
type PredefinedColorSpace = "display-p3" | "srgb";
59375943
type PremultiplyAlpha = "default" | "none" | "premultiply";
59385944
type PushEncryptionKeyName = "auth" | "p256dh";
59395945
type PushPermissionState = "denied" | "granted" | "prompt";

inputfiles/removedTypes.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"properties": {
7878
"property": {
7979
"originPolicyIds": null,
80+
"scheduler": null,
8081
"trustedTypes": null
8182
}
8283
}

0 commit comments

Comments
 (0)