Skip to content

Update core dependencies #1656

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions baselines/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ interface MessageEventInit<T = any> extends EventInit {
}

interface PromiseRejectionEventInit extends EventInit {
promise: Promise<any>;
promise: any;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fishy. I did not found a corresponding change in BCD...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only IDL-side change just to skip JS-to-IDL conversion steps, from TS side we should ignore this. See whatwg/html#9897.

reason?: any;
}

Expand Down Expand Up @@ -714,7 +714,7 @@ declare var MessagePort: {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent) */
interface PromiseRejectionEvent extends Event {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
readonly promise: Promise<any>;
readonly promise: any;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
readonly reason: any;
}
Expand Down
39 changes: 33 additions & 6 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ interface ProgressEventInit extends EventInit {
}

interface PromiseRejectionEventInit extends EventInit {
promise: Promise<any>;
promise: any;
reason?: any;
}

Expand Down Expand Up @@ -2513,7 +2513,9 @@ declare var AnimationEvent: {
};

interface AnimationFrameProvider {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
cancelAnimationFrame(handle: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
requestAnimationFrame(callback: FrameRequestCallback): number;
}

Expand Down Expand Up @@ -4882,8 +4884,6 @@ interface CSSStyleDeclaration {
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-clip)
*/
webkitMaskClip: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite) */
webkitMaskComposite: string;
/**
* @deprecated This is a legacy alias of `maskImage`.
*
Expand Down Expand Up @@ -11528,6 +11528,7 @@ interface HTMLMediaElement extends HTMLElement {
preservesPitch: boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/readyState) */
readonly readyState: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/remote) */
readonly remote: RemotePlayback;
/**
* Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.
Expand Down Expand Up @@ -12501,6 +12502,8 @@ interface HTMLSelectElement extends HTMLElement {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/setCustomValidity)
*/
setCustomValidity(error: string): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/showPicker) */
showPicker(): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down Expand Up @@ -17747,7 +17750,7 @@ declare var ProgressEvent: {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent) */
interface PromiseRejectionEvent extends Event {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
readonly promise: Promise<any>;
readonly promise: any;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
readonly reason: any;
}
Expand Down Expand Up @@ -21266,6 +21269,7 @@ interface ServiceWorkerContainer extends EventTarget {
oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */
onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */
onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready) */
readonly ready: Promise<ServiceWorkerRegistration>;
Expand Down Expand Up @@ -25679,6 +25683,7 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
"DOMContentLoaded": Event;
"devicemotion": DeviceMotionEvent;
"deviceorientation": DeviceOrientationEvent;
"deviceorientationabsolute": Event;
"gamepadconnected": GamepadEvent;
"gamepaddisconnected": GamepadEvent;
"orientationchange": Event;
Expand Down Expand Up @@ -25767,6 +25772,12 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event)
*/
ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
/**
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event)
*/
ondeviceorientationabsolute: ((this: Window, ev: Event) => any) | null;
/**
* @deprecated
*
Expand Down Expand Up @@ -26011,7 +26022,11 @@ interface WindowEventHandlers {
onstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event) */
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
*/
onunload: ((this: WindowEventHandlers, ev: Event) => any) | null;
addEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
Expand Down Expand Up @@ -27382,6 +27397,12 @@ declare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | nul
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event)
*/
declare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
/**
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event)
*/
declare var ondeviceorientationabsolute: ((this: Window, ev: Event) => any) | null;
/**
* @deprecated
*
Expand Down Expand Up @@ -27565,7 +27586,9 @@ declare function toString(): string;
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
*/
declare function dispatchEvent(event: Event): boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
declare function cancelAnimationFrame(handle: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
declare function requestAnimationFrame(callback: FrameRequestCallback): number;
/**
* Fires when the user aborts the download.
Expand Down Expand Up @@ -28035,7 +28058,11 @@ declare var onrejectionhandled: ((this: Window, ev: PromiseRejectionEvent) => an
declare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
declare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event) */
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
*/
declare var onunload: ((this: Window, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/localStorage) */
declare var localStorage: Storage;
Expand Down
5 changes: 3 additions & 2 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ interface ProgressEventInit extends EventInit {
}

interface PromiseRejectionEventInit extends EventInit {
promise: Promise<any>;
promise: any;
reason?: any;
}

Expand Down Expand Up @@ -4360,7 +4360,7 @@ declare var ProgressEvent: {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent) */
interface PromiseRejectionEvent extends Event {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
readonly promise: Promise<any>;
readonly promise: any;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
readonly reason: any;
}
Expand Down Expand Up @@ -4842,6 +4842,7 @@ interface ServiceWorkerContainer extends EventTarget {
oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */
onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */
onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready) */
readonly ready: Promise<ServiceWorkerRegistration>;
Expand Down
5 changes: 3 additions & 2 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ interface ProgressEventInit extends EventInit {
}

interface PromiseRejectionEventInit extends EventInit {
promise: Promise<any>;
promise: any;
reason?: any;
}

Expand Down Expand Up @@ -4232,7 +4232,7 @@ declare var ProgressEvent: {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent) */
interface PromiseRejectionEvent extends Event {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
readonly promise: Promise<any>;
readonly promise: any;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
readonly reason: any;
}
Expand Down Expand Up @@ -4676,6 +4676,7 @@ interface ServiceWorkerContainer extends EventTarget {
oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */
onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */
onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready) */
readonly ready: Promise<ServiceWorkerRegistration>;
Expand Down
11 changes: 8 additions & 3 deletions baselines/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ interface ProgressEventInit extends EventInit {
}

interface PromiseRejectionEventInit extends EventInit {
promise: Promise<any>;
promise: any;
reason?: any;
}

Expand Down Expand Up @@ -971,7 +971,9 @@ interface AbstractWorker {
}

interface AnimationFrameProvider {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
cancelAnimationFrame(handle: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
requestAnimationFrame(callback: FrameRequestCallback): number;
}

Expand Down Expand Up @@ -4620,7 +4622,7 @@ declare var ProgressEvent: {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent) */
interface PromiseRejectionEvent extends Event {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
readonly promise: Promise<any>;
readonly promise: any;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
readonly reason: any;
}
Expand Down Expand Up @@ -4766,7 +4768,7 @@ declare var RTCEncodedVideoFrame: {
};

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer) */
interface RTCRtpScriptTransformer {
interface RTCRtpScriptTransformer extends EventTarget {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/options) */
readonly options: any;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/readable) */
Expand Down Expand Up @@ -5164,6 +5166,7 @@ interface ServiceWorkerContainer extends EventTarget {
oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */
onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */
onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready) */
readonly ready: Promise<ServiceWorkerRegistration>;
Expand Down Expand Up @@ -9255,7 +9258,9 @@ declare function setInterval(handler: TimerHandler, timeout?: number, ...argumen
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone) */
declare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
declare function cancelAnimationFrame(handle: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
declare function requestAnimationFrame(callback: FrameRequestCallback): number;
declare function addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
Expand Down
Loading