Skip to content

Commit 008041c

Browse files
TypeScript Botorta
andauthored
🤖 Update core dependencies (#1185)
Co-authored-by: orta <[email protected]>
1 parent 20c1354 commit 008041c

File tree

5 files changed

+135
-139
lines changed

5 files changed

+135
-139
lines changed

baselines/dom.generated.d.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ interface ComputedEffectTiming extends EffectTiming {
207207
currentIteration?: number | null;
208208
endTime?: CSSNumberish;
209209
localTime?: CSSNumberish | null;
210-
progress?: CSSNumberish | null;
210+
progress?: number | null;
211211
startTime?: CSSNumberish;
212212
}
213213

@@ -920,7 +920,7 @@ interface NotificationOptions {
920920
requireInteraction?: boolean;
921921
silent?: boolean;
922922
tag?: string;
923-
timestamp?: DOMTimeStamp;
923+
timestamp?: EpochTimeStamp;
924924
vibrate?: VibratePattern;
925925
}
926926

@@ -1152,7 +1152,7 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {
11521152

11531153
interface PushSubscriptionJSON {
11541154
endpoint?: string;
1155-
expirationTime?: DOMTimeStamp | null;
1155+
expirationTime?: EpochTimeStamp | null;
11561156
keys?: Record<string, string>;
11571157
}
11581158

@@ -10573,7 +10573,7 @@ declare var PublicKeyCredential: {
1057310573
*/
1057410574
interface PushManager {
1057510575
getSubscription(): Promise<PushSubscription | null>;
10576-
permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;
10576+
permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;
1057710577
subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;
1057810578
}
1057910579

@@ -17734,7 +17734,6 @@ type PremultiplyAlpha = "default" | "none" | "premultiply";
1773417734
type PresentationStyle = "attachment" | "inline" | "unspecified";
1773517735
type PublicKeyCredentialType = "public-key";
1773617736
type PushEncryptionKeyName = "auth" | "p256dh";
17737-
type PushPermissionState = "denied" | "granted" | "prompt";
1773817737
type RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat";
1773917738
type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
1774017739
type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";

baselines/serviceworker.generated.d.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ interface NotificationOptions {
353353
requireInteraction?: boolean;
354354
silent?: boolean;
355355
tag?: string;
356-
timestamp?: DOMTimeStamp;
356+
timestamp?: EpochTimeStamp;
357357
vibrate?: VibratePattern;
358358
}
359359

@@ -402,7 +402,7 @@ interface PushEventInit extends ExtendableEventInit {
402402

403403
interface PushSubscriptionJSON {
404404
endpoint?: string;
405-
expirationTime?: DOMTimeStamp | null;
405+
expirationTime?: EpochTimeStamp | null;
406406
keys?: Record<string, string>;
407407
}
408408

@@ -2411,7 +2411,7 @@ declare var PushEvent: {
24112411
*/
24122412
interface PushManager {
24132413
getSubscription(): Promise<PushSubscription | null>;
2414-
permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;
2414+
permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;
24152415
subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;
24162416
}
24172417

@@ -5389,7 +5389,7 @@ type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
53895389
type BufferSource = ArrayBufferView | ArrayBuffer;
53905390
type CanvasImageSource = ImageBitmap | OffscreenCanvas;
53915391
type DOMHighResTimeStamp = number;
5392-
type DOMTimeStamp = number;
5392+
type EpochTimeStamp = number;
53935393
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
53945394
type Float32List = Float32Array | GLfloat[];
53955395
type FormDataEntryValue = File | string;
@@ -5451,7 +5451,6 @@ type PermissionState = "denied" | "granted" | "prompt";
54515451
type PredefinedColorSpace = "display-p3" | "srgb";
54525452
type PremultiplyAlpha = "default" | "none" | "premultiply";
54535453
type PushEncryptionKeyName = "auth" | "p256dh";
5454-
type PushPermissionState = "denied" | "granted" | "prompt";
54555454
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
54565455
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
54575456
type RequestCredentials = "include" | "omit" | "same-origin";

baselines/sharedworker.generated.d.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ interface NotificationOptions {
323323
requireInteraction?: boolean;
324324
silent?: boolean;
325325
tag?: string;
326-
timestamp?: DOMTimeStamp;
326+
timestamp?: EpochTimeStamp;
327327
vibrate?: VibratePattern;
328328
}
329329

@@ -368,7 +368,7 @@ interface PromiseRejectionEventInit extends EventInit {
368368

369369
interface PushSubscriptionJSON {
370370
endpoint?: string;
371-
expirationTime?: DOMTimeStamp | null;
371+
expirationTime?: EpochTimeStamp | null;
372372
keys?: Record<string, string>;
373373
}
374374

@@ -2307,7 +2307,7 @@ declare var PromiseRejectionEvent: {
23072307
*/
23082308
interface PushManager {
23092309
getSubscription(): Promise<PushSubscription | null>;
2310-
permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;
2310+
permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;
23112311
subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;
23122312
}
23132313

@@ -5406,7 +5406,7 @@ type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
54065406
type BufferSource = ArrayBufferView | ArrayBuffer;
54075407
type CanvasImageSource = ImageBitmap | OffscreenCanvas;
54085408
type DOMHighResTimeStamp = number;
5409-
type DOMTimeStamp = number;
5409+
type EpochTimeStamp = number;
54105410
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
54115411
type Float32List = Float32Array | GLfloat[];
54125412
type FormDataEntryValue = File | string;
@@ -5466,7 +5466,6 @@ type PermissionState = "denied" | "granted" | "prompt";
54665466
type PredefinedColorSpace = "display-p3" | "srgb";
54675467
type PremultiplyAlpha = "default" | "none" | "premultiply";
54685468
type PushEncryptionKeyName = "auth" | "p256dh";
5469-
type PushPermissionState = "denied" | "granted" | "prompt";
54705469
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
54715470
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
54725471
type RequestCredentials = "include" | "omit" | "same-origin";

baselines/webworker.generated.d.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ interface NotificationOptions {
353353
requireInteraction?: boolean;
354354
silent?: boolean;
355355
tag?: string;
356-
timestamp?: DOMTimeStamp;
356+
timestamp?: EpochTimeStamp;
357357
vibrate?: VibratePattern;
358358
}
359359

@@ -402,7 +402,7 @@ interface PushEventInit extends ExtendableEventInit {
402402

403403
interface PushSubscriptionJSON {
404404
endpoint?: string;
405-
expirationTime?: DOMTimeStamp | null;
405+
expirationTime?: EpochTimeStamp | null;
406406
keys?: Record<string, string>;
407407
}
408408

@@ -2463,7 +2463,7 @@ declare var PushEvent: {
24632463
*/
24642464
interface PushManager {
24652465
getSubscription(): Promise<PushSubscription | null>;
2466-
permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;
2466+
permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;
24672467
subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;
24682468
}
24692469

@@ -5636,7 +5636,7 @@ type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
56365636
type BufferSource = ArrayBufferView | ArrayBuffer;
56375637
type CanvasImageSource = ImageBitmap | OffscreenCanvas;
56385638
type DOMHighResTimeStamp = number;
5639-
type DOMTimeStamp = number;
5639+
type EpochTimeStamp = number;
56405640
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
56415641
type Float32List = Float32Array | GLfloat[];
56425642
type FormDataEntryValue = File | string;
@@ -5698,7 +5698,6 @@ type PermissionState = "denied" | "granted" | "prompt";
56985698
type PredefinedColorSpace = "display-p3" | "srgb";
56995699
type PremultiplyAlpha = "default" | "none" | "premultiply";
57005700
type PushEncryptionKeyName = "auth" | "p256dh";
5701-
type PushPermissionState = "denied" | "granted" | "prompt";
57025701
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
57035702
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
57045703
type RequestCredentials = "include" | "omit" | "same-origin";

0 commit comments

Comments
 (0)