Skip to content

Commit d736faf

Browse files
authored
🤖 Update core dependencies
1 parent 0b42a3d commit d736faf

6 files changed

+201
-166
lines changed

baselines/audioworklet.generated.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,7 @@ declare var WritableStream: {
718718

719719
/** This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */
720720
interface WritableStreamDefaultController {
721+
readonly signal: AbortSignal;
721722
error(e?: any): void;
722723
}
723724

baselines/dom.generated.d.ts

+25
Original file line numberDiff line numberDiff line change
@@ -1786,6 +1786,19 @@ interface UnderlyingSource<R = any> {
17861786
type?: undefined;
17871787
}
17881788

1789+
interface ValidityStateFlags {
1790+
badInput?: boolean;
1791+
customError?: boolean;
1792+
patternMismatch?: boolean;
1793+
rangeOverflow?: boolean;
1794+
rangeUnderflow?: boolean;
1795+
stepMismatch?: boolean;
1796+
tooLong?: boolean;
1797+
tooShort?: boolean;
1798+
typeMismatch?: boolean;
1799+
valueMissing?: boolean;
1800+
}
1801+
17891802
interface VideoColorSpaceInit {
17901803
fullRange?: boolean;
17911804
matrix?: VideoMatrixCoefficients;
@@ -3749,6 +3762,7 @@ declare var CustomEvent: {
37493762

37503763
/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */
37513764
interface DOMException extends Error {
3765+
/** @deprecated */
37523766
readonly code: number;
37533767
readonly message: string;
37543768
readonly name: string;
@@ -4951,14 +4965,24 @@ interface ElementInternals extends ARIAMixin {
49514965
readonly labels: NodeList;
49524966
/** Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise. */
49534967
readonly shadowRoot: ShadowRoot | null;
4968+
/** Returns the error message that would be shown to the user if internals's target element was to be checked for validity. */
4969+
readonly validationMessage: string;
4970+
/** Returns the ValidityState object for internals's target element. */
4971+
readonly validity: ValidityState;
49544972
/** Returns true if internals's target element will be validated when the form is submitted; false otherwise. */
49554973
readonly willValidate: boolean;
4974+
/** Returns true if internals's target element has no validity problems; false otherwise. Fires an invalid event at the element in the latter case. */
4975+
checkValidity(): boolean;
4976+
/** Returns true if internals's target element has no validity problems; otherwise, returns false, fires an invalid event at the element, and (if the event isn't canceled) reports the problem to the user. */
4977+
reportValidity(): boolean;
49564978
/**
49574979
* Sets both the state and submission value of internals's target element to value.
49584980
*
49594981
* If value is null, the element won't participate in form submission.
49604982
*/
49614983
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
4984+
/** Marks internals's target element as suffering from the constraints indicated by the flags argument, and sets the element's validation message to message. If anchor is specified, the user agent might use it to indicate problems with the constraints of internals's target element when the form owner is validated interactively or reportValidity() is called. */
4985+
setValidity(flags?: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
49624986
}
49634987

49644988
declare var ElementInternals: {
@@ -16719,6 +16743,7 @@ declare var WritableStream: {
1671916743

1672016744
/** This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */
1672116745
interface WritableStreamDefaultController {
16746+
readonly signal: AbortSignal;
1672216747
error(e?: any): void;
1672316748
}
1672416749

baselines/serviceworker.generated.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,7 @@ declare var CustomEvent: {
954954

955955
/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */
956956
interface DOMException extends Error {
957+
/** @deprecated */
957958
readonly code: number;
958959
readonly message: string;
959960
readonly name: string;
@@ -2771,6 +2772,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
27712772
onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;
27722773
onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null;
27732774
readonly registration: ServiceWorkerRegistration;
2775+
readonly serviceWorker: ServiceWorker;
27742776
skipWaiting(): Promise<void>;
27752777
addEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
27762778
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -5206,6 +5208,7 @@ declare var WritableStream: {
52065208

52075209
/** This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */
52085210
interface WritableStreamDefaultController {
5211+
readonly signal: AbortSignal;
52095212
error(e?: any): void;
52105213
}
52115214

@@ -5454,6 +5457,7 @@ declare var onnotificationclick: ((this: ServiceWorkerGlobalScope, ev: Notificat
54545457
declare var onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;
54555458
declare var onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null;
54565459
declare var registration: ServiceWorkerRegistration;
5460+
declare var serviceWorker: ServiceWorker;
54575461
declare function skipWaiting(): Promise<void>;
54585462
/** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */
54595463
declare function dispatchEvent(event: Event): boolean;

baselines/sharedworker.generated.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,7 @@ declare var CustomEvent: {
898898

899899
/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */
900900
interface DOMException extends Error {
901+
/** @deprecated */
901902
readonly code: number;
902903
readonly message: string;
903904
readonly name: string;
@@ -5085,6 +5086,7 @@ declare var WritableStream: {
50855086

50865087
/** This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */
50875088
interface WritableStreamDefaultController {
5089+
readonly signal: AbortSignal;
50885090
error(e?: any): void;
50895091
}
50905092

baselines/webworker.generated.d.ts

+3
Original file line numberDiff line numberDiff line change
@@ -988,6 +988,7 @@ declare var CustomEvent: {
988988

989989
/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */
990990
interface DOMException extends Error {
991+
/** @deprecated */
991992
readonly code: number;
992993
readonly message: string;
993994
readonly name: string;
@@ -2869,6 +2870,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
28692870
onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;
28702871
onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null;
28712872
readonly registration: ServiceWorkerRegistration;
2873+
readonly serviceWorker: ServiceWorker;
28722874
skipWaiting(): Promise<void>;
28732875
addEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
28742876
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -5365,6 +5367,7 @@ declare var WritableStream: {
53655367

53665368
/** This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */
53675369
interface WritableStreamDefaultController {
5370+
readonly signal: AbortSignal;
53685371
error(e?: any): void;
53695372
}
53705373

0 commit comments

Comments
 (0)