Skip to content

Update core dependencies #2047

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions baselines/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ declare var CountQueuingStrategy: {
};

/**
* The **`CustomEvent`** interface represents events initialized by an application for any purpose.
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
*/
Expand Down Expand Up @@ -1067,7 +1067,7 @@ interface ReadableStreamGenericReader {
}

/**
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
*/
Expand Down Expand Up @@ -1122,19 +1122,19 @@ declare var TextDecoderStream: {
};

/**
* The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
* The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
*/
interface TextEncoder extends TextEncoderCommon {
/**
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder object.
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
*/
encode(input?: string): Uint8Array<ArrayBuffer>;
/**
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding.
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
*/
Expand Down
326 changes: 152 additions & 174 deletions baselines/dom.generated.d.ts

Large diffs are not rendered by default.

70 changes: 14 additions & 56 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,15 @@ interface RegistrationOptions {
updateViaCache?: ServiceWorkerUpdateViaCache;
}

interface Report {
body?: ReportBody | null;
type?: string;
url?: string;
}

interface ReportBody {
}

interface ReportingObserverOptions {
buffered?: boolean;
types?: string[];
Expand Down Expand Up @@ -2307,7 +2316,7 @@ declare var CryptoKey: {
};

/**
* The **`CustomEvent`** interface represents events initialized by an application for any purpose.
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
*/
Expand Down Expand Up @@ -6517,57 +6526,6 @@ interface ReadableStreamGenericReader {
cancel(reason?: any): Promise<void>;
}

/**
* The `Report` interface of the Reporting API represents a single report.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
*/
interface Report {
/**
* The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)
*/
readonly body: ReportBody | null;
/**
* The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)
*/
readonly type: string;
/**
* The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)
*/
readonly url: string;
toJSON(): any;
}

declare var Report: {
prototype: Report;
new(): Report;
};

/**
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
*/
interface ReportBody {
/**
* The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)
*/
toJSON(): any;
}

declare var ReportBody: {
prototype: ReportBody;
new(): ReportBody;
};

/**
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
*
Expand Down Expand Up @@ -7309,7 +7267,7 @@ declare var SubtleCrypto: {
};

/**
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
*/
Expand Down Expand Up @@ -7364,19 +7322,19 @@ declare var TextDecoderStream: {
};

/**
* The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
* The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
*/
interface TextEncoder extends TextEncoderCommon {
/**
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder object.
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
*/
encode(input?: string): Uint8Array<ArrayBuffer>;
/**
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding.
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
*/
Expand Down
70 changes: 14 additions & 56 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,15 @@ interface RegistrationOptions {
updateViaCache?: ServiceWorkerUpdateViaCache;
}

interface Report {
body?: ReportBody | null;
type?: string;
url?: string;
}

interface ReportBody {
}

interface ReportingObserverOptions {
buffered?: boolean;
types?: string[];
Expand Down Expand Up @@ -2088,7 +2097,7 @@ declare var CryptoKey: {
};

/**
* The **`CustomEvent`** interface represents events initialized by an application for any purpose.
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
*/
Expand Down Expand Up @@ -6100,57 +6109,6 @@ interface ReadableStreamGenericReader {
cancel(reason?: any): Promise<void>;
}

/**
* The `Report` interface of the Reporting API represents a single report.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
*/
interface Report {
/**
* The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)
*/
readonly body: ReportBody | null;
/**
* The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)
*/
readonly type: string;
/**
* The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)
*/
readonly url: string;
toJSON(): any;
}

declare var Report: {
prototype: Report;
new(): Report;
};

/**
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
*/
interface ReportBody {
/**
* The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)
*/
toJSON(): any;
}

declare var ReportBody: {
prototype: ReportBody;
new(): ReportBody;
};

/**
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
*
Expand Down Expand Up @@ -6840,7 +6798,7 @@ declare var SubtleCrypto: {
};

/**
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
*/
Expand Down Expand Up @@ -6895,19 +6853,19 @@ declare var TextDecoderStream: {
};

/**
* The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
* The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
*/
interface TextEncoder extends TextEncoderCommon {
/**
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder object.
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
*/
encode(input?: string): Uint8Array<ArrayBuffer>;
/**
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding.
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
*/
Expand Down
10 changes: 5 additions & 5 deletions baselines/ts5.5/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ declare var CountQueuingStrategy: {
};

/**
* The **`CustomEvent`** interface represents events initialized by an application for any purpose.
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
*/
Expand Down Expand Up @@ -1067,7 +1067,7 @@ interface ReadableStreamGenericReader {
}

/**
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
*/
Expand Down Expand Up @@ -1122,19 +1122,19 @@ declare var TextDecoderStream: {
};

/**
* The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
* The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
*/
interface TextEncoder extends TextEncoderCommon {
/**
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder object.
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
*/
encode(input?: string): Uint8Array;
/**
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding.
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
*/
Expand Down
Loading