From 52f4cad8fda230797023d89460debd2ee8db5411 Mon Sep 17 00:00:00 2001 From: "typescript-automation[bot]" <290192711+typescript-automation[bot]@users.noreply.github.com> Date: Mon, 16 Nov 2026 08:30:53 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Update=20core=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- baselines/audioworklet.generated.d.ts | 32 +- baselines/dom.generated.d.ts | 436 +++++++++++++++---- baselines/serviceworker.generated.d.ts | 104 ++++- baselines/sharedworker.generated.d.ts | 104 ++++- baselines/ts5.5/audioworklet.generated.d.ts | 32 +- baselines/ts5.5/dom.generated.d.ts | 435 ++++++++++++++---- baselines/ts5.5/serviceworker.generated.d.ts | 104 ++++- baselines/ts5.5/sharedworker.generated.d.ts | 104 ++++- baselines/ts5.5/webworker.generated.d.ts | 104 ++++- baselines/ts5.6/audioworklet.generated.d.ts | 32 +- baselines/ts5.6/dom.generated.d.ts | 436 +++++++++++++++---- baselines/ts5.6/serviceworker.generated.d.ts | 104 ++++- baselines/ts5.6/sharedworker.generated.d.ts | 104 ++++- baselines/ts5.6/webworker.generated.d.ts | 104 ++++- baselines/ts5.9/audioworklet.generated.d.ts | 32 +- baselines/ts5.9/dom.generated.d.ts | 436 +++++++++++++++---- baselines/ts5.9/serviceworker.generated.d.ts | 104 ++++- baselines/ts5.9/sharedworker.generated.d.ts | 104 ++++- baselines/ts5.9/webworker.generated.d.ts | 104 ++++- baselines/webworker.generated.d.ts | 104 ++++- inputfiles/mdn.commit | 2 +- inputfiles/mdn.json | 215 +++++---- package-lock.json | 6 +- 23 files changed, 2691 insertions(+), 651 deletions(-) diff --git a/baselines/audioworklet.generated.d.ts b/baselines/audioworklet.generated.d.ts index abf5b7042..fedc4ef05 100644 --- a/baselines/audioworklet.generated.d.ts +++ b/baselines/audioworklet.generated.d.ts @@ -60,6 +60,11 @@ interface QueuingStrategyInit { highWaterMark: number; } +interface QuotaExceededErrorOptions { + quota?: number; + requested?: number; +} + interface ReadableStreamBYOBReaderReadOptions { min?: number; } @@ -613,7 +618,7 @@ interface Event { */ returnValue: boolean; /** - * The deprecated **`Event.srcElement`** is an alias for the Event.target property. Use Event.target instead. + * The **`srcElement`** read-only property of the Event interface is a deprecated alias for the Event.target property. Use Event.target instead. * @deprecated * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/srcElement) @@ -868,6 +873,31 @@ declare var PromiseRejectionEvent: { new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent; }; +/** + * The **`QuotaExceededError`** interface represents an error when a requested operation would exceed a system-imposed storage quota. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/QuotaExceededError) + */ +interface QuotaExceededError extends DOMException { + /** + * The **`quota`** read-only property of the QuotaExceededError interface returns the system-defined storage quota (in bytes) that the operation attempted to exceed, or undefined if the information is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/QuotaExceededError/quota) + */ + readonly quota: number | null; + /** + * The **`requested`** read-only property of the QuotaExceededError interface returns the number of bytes that were requested when the error occurred, or undefined if the information is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/QuotaExceededError/requested) + */ + readonly requested: number | null; +} + +declare var QuotaExceededError: { + prototype: QuotaExceededError; + new(message?: string, options?: QuotaExceededErrorOptions): QuotaExceededError; +}; + /** * The **`ReadableByteStreamController`** interface of the Streams API represents a controller for a readable byte stream. It allows control of the state and internal queue of a ReadableStream with an underlying byte source, and enables efficient zero-copy transfer of data from the underlying source to a consumer when the stream's internal queue is empty. * diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index dea04eccb..657b2e06a 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -832,6 +832,12 @@ interface FullscreenOptions { navigationUI?: FullscreenNavigationUI; } +interface FunctionParameter { + defaultValue?: string; + name: string; + type: string; +} + interface GPUBindGroupDescriptor extends GPUObjectDescriptorBase { entries: GPUBindGroupEntry[]; layout: GPUBindGroupLayout; @@ -2167,6 +2173,11 @@ interface QueuingStrategyInit { highWaterMark: number; } +interface QuotaExceededErrorOptions { + quota?: number; + requested?: number; +} + interface RTCAnswerOptions extends RTCOfferAnswerOptions { } @@ -3804,7 +3815,7 @@ interface AbstractRange { */ readonly endContainer: Node; /** - * The **`endOffset`** property of the AbstractRange interface returns the offset into the end node of the range's end position. + * The **`endOffset`** read-only property of the AbstractRange interface returns the offset into the end node of the range's end position. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/endOffset) */ @@ -5760,6 +5771,10 @@ declare var CSSCounterStyleRule: { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceDescriptors) */ interface CSSFontFaceDescriptors extends CSSStyleDeclarationBase { + "ascent-override": string; + ascentOverride: string; + "descent-override": string; + descentOverride: string; "font-display": string; "font-family": string; "font-feature-settings": string; @@ -5774,6 +5789,8 @@ interface CSSFontFaceDescriptors extends CSSStyleDeclarationBase { fontStyle: string; fontWeight: string; fontWidth: string; + "line-gap-override": string; + lineGapOverride: string; "size-adjust": string; sizeAdjust: string; src: string; @@ -5862,6 +5879,76 @@ declare var CSSFontPaletteValuesRule: { new(): CSSFontPaletteValuesRule; }; +/** + * The **`CSSFunctionDeclarations`** interface of the CSS Object Model represents a consecutive run of CSS declarations included within a @function body. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFunctionDeclarations) + */ +interface CSSFunctionDeclarations extends CSSRule { + /** + * The read-only **`style`** property of the CSSFunctionDeclarations interface contains a CSSFunctionDescriptors object representing the descriptors available in the @function rule's body. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFunctionDeclarations/style) + */ + get style(): CSSFunctionDescriptors; + set style(cssText: string); +} + +declare var CSSFunctionDeclarations: { + prototype: CSSFunctionDeclarations; + new(): CSSFunctionDeclarations; +}; + +/** + * The **`CSSFunctionDescriptors`** interface of the CSS Object Model represents the descriptors contained within a set of CSS declarations represented by a CSSFunctionDeclarations object. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFunctionDescriptors) + */ +interface CSSFunctionDescriptors extends CSSStyleDeclarationBase { + /** + * The **`result`** property of the CSSFunctionDescriptors interface returns a string representing a result descriptor, if one exists in the associated set of declarations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFunctionDescriptors/result) + */ + result: string; +} + +declare var CSSFunctionDescriptors: { + prototype: CSSFunctionDescriptors; + new(): CSSFunctionDescriptors; +}; + +/** + * The **`CSSFunctionRule`** interface of the CSS Object Model represents CSS @function (custom function) at-rules. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFunctionRule) + */ +interface CSSFunctionRule extends CSSGroupingRule { + /** + * The **`name`** property of the CSSFunctionRule interface returns a string representing the custom function's name. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFunctionRule/name) + */ + readonly name: string; + /** + * The **`returnType`** property of the CSSFunctionRule interface returns a string representing the custom function's return type. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFunctionRule/returnType) + */ + readonly returnType: string; + /** + * The **`getParameters()`** method of the CSSFunctionRule interface returns an array of objects representing the custom function's parameters. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFunctionRule/getParameters) + */ + getParameters(): FunctionParameter[]; +} + +declare var CSSFunctionRule: { + prototype: CSSFunctionRule; + new(): CSSFunctionRule; +}; + /** * The **`CSSGroupingRule`** interface of the CSS Object Model represents any CSS at-rule that contains other rules nested within it. * @@ -6353,19 +6440,19 @@ declare var CSSNumericArray: { }; /** - * The **`CSSNumericValue`** interface of the CSS Typed Object Model API represents operations that all numeric values can perform. + * The **`CSSNumericValue`** interface of the CSS Typed Object Model API is the base interface for objects that represent CSS numeric values, such as 10px, 50%, or calc(1px + 2em). It provides the common methods for basic arithmetic, comparing values, and converting between units. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue) */ interface CSSNumericValue extends CSSStyleValue { /** - * The **`add()`** method of the CSSNumericValue interface adds a supplied number to the CSSNumericValue. + * The **`add()`** method of the CSSNumericValue interface returns a new value that is the sum of the CSSNumericValue and the supplied values. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add) */ add(...values: CSSNumberish[]): CSSNumericValue; /** - * The **`div()`** method of the CSSNumericValue interface divides the CSSNumericValue by the supplied value. + * The **`div()`** method of the CSSNumericValue interface returns a new value that is the CSSNumericValue divided by the supplied values. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div) */ @@ -6377,43 +6464,43 @@ interface CSSNumericValue extends CSSStyleValue { */ equals(...value: CSSNumberish[]): boolean; /** - * The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed. The passed values must be of the same type. + * The **`max()`** method of the CSSNumericValue interface returns the largest of the CSSNumericValue and the supplied values. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max) */ max(...values: CSSNumberish[]): CSSNumericValue; /** - * The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed. The passed values must be of the same type. + * The **`min()`** method of the CSSNumericValue interface returns the smallest of the CSSNumericValue and the supplied values. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min) */ min(...values: CSSNumberish[]): CSSNumericValue; /** - * The **`mul()`** method of the CSSNumericValue interface multiplies the CSSNumericValue by the supplied values. + * The **`mul()`** method of the CSSNumericValue interface returns a new value that is the CSSNumericValue multiplied by the supplied values. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul) */ mul(...values: CSSNumberish[]): CSSNumericValue; /** - * The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the CSSNumericValue. + * The **`sub()`** method of the CSSNumericValue interface returns a new value that is the CSSNumericValue minus the supplied values. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub) */ sub(...values: CSSNumberish[]): CSSNumericValue; /** - * The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another. + * The **`to()`** method of the CSSNumericValue interface converts the CSSNumericValue to a CSSUnitValue in the specified unit. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to) */ to(unit: string): CSSUnitValue; /** - * The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum of CSSUnitValues using only the specified units, if possible. If called with no units, it simplifies the value into a minimal sum of CSSUnitValues instead. + * The **`toSum()`** method of the CSSNumericValue interface converts the CSSNumericValue into a CSSMathSum whose terms are CSSUnitValue objects in the specified units. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum) */ toSum(...units: string[]): CSSMathSum; /** - * The **`type()`** method of the CSSNumericValue interface returns the type of CSSNumericValue, one of angle, flex, frequency, length, resolution, percent, percentHint, or time. + * The **`type()`** method of the CSSNumericValue interface returns a CSSNumericType dictionary that describes the type of the CSSNumericValue, such as whether it's a length, an angle, or a time. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type) */ @@ -6424,7 +6511,7 @@ declare var CSSNumericValue: { prototype: CSSNumericValue; new(): CSSNumericValue; /** - * The **`parse()`** static method of the CSSNumericValue interface converts a value string into an object whose members are value and the units. + * The **`parse()`** static method of the CSSNumericValue interface creates a CSSNumericValue from a string of CSS, such as "42px" or "calc(50% + 10px)". * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/parse_static) */ @@ -7897,6 +7984,108 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase { * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/content-visibility) */ contentVisibility: string; + /** + * The corner-block-end-shape CSS property specifies the shape of both the corners on a box's block-end edge, within their border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-block-end-shape) + */ + cornerBlockEndShape: string; + /** + * The corner-block-start-shape CSS property specifies the shape of both the corners on a box's block-start edge, within their border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-block-start-shape) + */ + cornerBlockStartShape: string; + /** + * The corner-bottom-left-shape CSS property specifies the shape of a box's bottom-left corner, within its border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-bottom-left-shape) + */ + cornerBottomLeftShape: string; + /** + * The corner-bottom-right-shape CSS property specifies the shape of a box's bottom-right corner, within its border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-bottom-right-shape) + */ + cornerBottomRightShape: string; + /** + * The corner-bottom-shape CSS property specifies the shape of both the corners on a box's bottom edge, within their border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-bottom-shape) + */ + cornerBottomShape: string; + /** + * The corner-end-end-shape CSS property specifies the shape of a box's block-end and inline-end corner, within its border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-end-end-shape) + */ + cornerEndEndShape: string; + /** + * The corner-end-start-shape CSS property specifies the shape of a box's block-end and inline-start corner, within its border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-end-start-shape) + */ + cornerEndStartShape: string; + /** + * The corner-inline-end-shape CSS property specifies the shape of both the corners on a box's inline-end edge, within their border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-inline-end-shape) + */ + cornerInlineEndShape: string; + /** + * The corner-inline-start-shape CSS property specifies the shape of both the corners on a box's inline-start edge, within their border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-inline-start-shape) + */ + cornerInlineStartShape: string; + /** + * The corner-left-shape CSS property specifies the shape of both the corners on a box's left-hand edge, within their border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-left-shape) + */ + cornerLeftShape: string; + /** + * The corner-right-shape CSS property specifies the shape of both the corners on a box's right-hand edge, within their border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-right-shape) + */ + cornerRightShape: string; + /** + * The corner-shape CSS shorthand property specifies the shape of a box's corners, within the area specified by its border-radius property value. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-shape) + */ + cornerShape: string; + /** + * The corner-start-end-shape CSS property specifies the shape of a box's block-start and inline-end corner, within its border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-start-end-shape) + */ + cornerStartEndShape: string; + /** + * The corner-start-start-shape CSS property specifies the shape of a box's block-start and inline-start corner, within its border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-start-start-shape) + */ + cornerStartStartShape: string; + /** + * The corner-top-left-shape CSS property specifies the shape of a box's top-left corner, within its border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-top-left-shape) + */ + cornerTopLeftShape: string; + /** + * The corner-top-right-shape CSS property specifies the shape of a box's top-right corner, within its border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-top-right-shape) + */ + cornerTopRightShape: string; + /** + * The corner-top-shape CSS property specifies the shape of both the corners on a box's top edge, within their border-radius area. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/corner-top-shape) + */ + cornerTopShape: string; /** * The counter-increment CSS property can be used to increase or decrease the value of the named CSS counters by the specified values, or to prevent all counters or an individual counter's value from being changed. * @@ -8727,6 +8916,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase { * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/object-position) */ objectPosition: string; + /** + * The object-view-box CSS property defines a rectangle as a viewable area (viewbox) within a replaced element, enabling the content of the replaced element to be zoomed or panned. It works similarly to the SVG viewBox attribute. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/object-view-box) + */ + objectViewBox: string; /** * The **`offset`** CSS shorthand property sets all the properties required for animating an element along a defined path. The offset properties together help to define an offset transform, a transform that aligns a point in an element (offset-anchor) to an offset position (offset-position) on a path (offset-path) at various points along the path (offset-distance) and optionally rotates the element (offset-rotate) to follow the direction of the path. * @@ -13136,7 +13331,7 @@ interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFace */ readonly anchors: HTMLCollectionOf; /** - * The **`applets`** property of the Document returns an empty HTMLCollection. This property is kept only for compatibility reasons; in older versions of browsers, it returned a list of the applets within a document. + * The **`applets`** read-only property of the Document interface returns an empty HTMLCollection. This property is kept only for compatibility reasons; in older versions of browsers, it returned a list of the applets within a document. * @deprecated * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/applets) @@ -13186,7 +13381,7 @@ interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFace */ cookie: string; /** - * The **`Document.currentScript`** property returns the