diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 1edd80abc..bdb5c4978 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -6851,6 +6851,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration { textAlignLast: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */ textAnchor: string; + textAutospace: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */ textBox: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box-edge) */ @@ -10692,7 +10693,7 @@ declare var Document: { prototype: Document; new(): Document; /** - * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance. + * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) */ @@ -11366,7 +11367,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp */ setAttributeNodeNS(attr: Attr): Attr | null; /** - * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM. + * The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) */ @@ -12405,6 +12406,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -13575,7 +13582,7 @@ declare var HTMLBodyElement: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement) */ -interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { +interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes { /** * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks. * @@ -15026,7 +15033,7 @@ declare var HTMLImageElement: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement) */ -interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { +interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes { /** * The **`accept`** property of the HTMLInputElement interface reflects the input element's `accept` attribute, generally a comma-separated list of unique file type specifiers providing a hint for the expected file type for an `` of type `file`. * @@ -15290,7 +15297,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { */ readonly webkitEntries: ReadonlyArray; /** - * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `` elements should let the user select directories instead of files. + * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `` elements can only select directories instead of files. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ @@ -18152,7 +18159,7 @@ declare var Headers: { */ interface Highlight { /** - * It is possible to create Range objects that overlap in a document. + * The `priority` property of the Highlight interface is a number used to determine which highlight's styles should be used to resolve style conflicts in overlapping parts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority) */ @@ -19598,7 +19605,11 @@ interface LargestContentfulPaint extends PerformanceEntry { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) */ readonly loadTime: DOMHighResTimeStamp; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */ + /** + * The **`renderTime`** read-only property of the LargestContentfulPaint interface represents the time that the element was rendered to the screen. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) + */ readonly renderTime: DOMHighResTimeStamp; /** * The **`size`** read-only property of the LargestContentfulPaint interface returns the intrinsic size of the element that is the largest contentful paint. @@ -21888,55 +21899,23 @@ interface NavigatorCookies { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) */ readonly productSub: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) */ readonly vendor: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) */ readonly vendorSub: string; } @@ -21979,25 +21958,13 @@ interface NavigatorOnLine { } interface NavigatorPlugins { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */ readonly mimeTypes: MimeTypeArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */ readonly pdfViewerEnabled: boolean; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) */ readonly plugins: PluginArray; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) */ javaEnabled(): boolean; } @@ -24499,7 +24466,7 @@ declare var PopStateEvent: { new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent; }; -interface PopoverInvokerElement { +interface PopoverTargetAttributes { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */ popoverTargetAction: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */ @@ -25616,7 +25583,7 @@ declare var RTCPeerConnectionIceEvent: { */ interface RTCRtpReceiver { /** - * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter buffer should hold media before playing it out. + * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter should hold media before playing it out. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) */ @@ -31166,7 +31133,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { */ getHTML(options?: GetHTMLOptions): string; /** - * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM. + * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) */ @@ -33327,7 +33294,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index 02b5f0403..b6cb97ffb 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -495,7 +495,8 @@ interface PromiseRejectionEventInit extends EventInit { } interface PushEventInit extends ExtendableEventInit { - data?: PushMessageDataInit; + data?: PushMessageDataInit | null; + notification?: Notification | null; } interface PushSubscriptionChangeEventInit extends ExtendableEventInit { @@ -3966,6 +3967,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -5237,35 +5244,15 @@ interface NavigatorConcurrentHardware { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; @@ -7866,7 +7853,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/sharedworker.generated.d.ts b/baselines/sharedworker.generated.d.ts index 5bb63c4f4..03926cd59 100644 --- a/baselines/sharedworker.generated.d.ts +++ b/baselines/sharedworker.generated.d.ts @@ -3649,6 +3649,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -4920,35 +4926,15 @@ interface NavigatorConcurrentHardware { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; @@ -7409,7 +7395,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 645764928..8e3381422 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -6844,6 +6844,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration { textAlignLast: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */ textAnchor: string; + textAutospace: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */ textBox: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box-edge) */ @@ -10684,7 +10685,7 @@ declare var Document: { prototype: Document; new(): Document; /** - * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance. + * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) */ @@ -11356,7 +11357,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp */ setAttributeNodeNS(attr: Attr): Attr | null; /** - * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM. + * The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) */ @@ -12394,6 +12395,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -13562,7 +13569,7 @@ declare var HTMLBodyElement: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement) */ -interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { +interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes { /** * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks. * @@ -15011,7 +15018,7 @@ declare var HTMLImageElement: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement) */ -interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { +interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes { /** * The **`accept`** property of the HTMLInputElement interface reflects the input element's `accept` attribute, generally a comma-separated list of unique file type specifiers providing a hint for the expected file type for an `` of type `file`. * @@ -15275,7 +15282,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { */ readonly webkitEntries: ReadonlyArray; /** - * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `` elements should let the user select directories instead of files. + * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `` elements can only select directories instead of files. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ @@ -18131,7 +18138,7 @@ declare var Headers: { */ interface Highlight { /** - * It is possible to create Range objects that overlap in a document. + * The `priority` property of the Highlight interface is a number used to determine which highlight's styles should be used to resolve style conflicts in overlapping parts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority) */ @@ -19577,7 +19584,11 @@ interface LargestContentfulPaint extends PerformanceEntry { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) */ readonly loadTime: DOMHighResTimeStamp; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */ + /** + * The **`renderTime`** read-only property of the LargestContentfulPaint interface represents the time that the element was rendered to the screen. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) + */ readonly renderTime: DOMHighResTimeStamp; /** * The **`size`** read-only property of the LargestContentfulPaint interface returns the intrinsic size of the element that is the largest contentful paint. @@ -21867,55 +21878,23 @@ interface NavigatorCookies { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) */ readonly productSub: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) */ readonly vendor: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) */ readonly vendorSub: string; } @@ -21958,25 +21937,13 @@ interface NavigatorOnLine { } interface NavigatorPlugins { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */ readonly mimeTypes: MimeTypeArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */ readonly pdfViewerEnabled: boolean; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) */ readonly plugins: PluginArray; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) */ javaEnabled(): boolean; } @@ -24478,7 +24445,7 @@ declare var PopStateEvent: { new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent; }; -interface PopoverInvokerElement { +interface PopoverTargetAttributes { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */ popoverTargetAction: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */ @@ -25595,7 +25562,7 @@ declare var RTCPeerConnectionIceEvent: { */ interface RTCRtpReceiver { /** - * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter buffer should hold media before playing it out. + * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter should hold media before playing it out. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) */ @@ -31144,7 +31111,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { */ getHTML(options?: GetHTMLOptions): string; /** - * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM. + * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) */ @@ -33304,7 +33271,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/ts5.5/serviceworker.generated.d.ts b/baselines/ts5.5/serviceworker.generated.d.ts index 295e1756e..64587c5a9 100644 --- a/baselines/ts5.5/serviceworker.generated.d.ts +++ b/baselines/ts5.5/serviceworker.generated.d.ts @@ -495,7 +495,8 @@ interface PromiseRejectionEventInit extends EventInit { } interface PushEventInit extends ExtendableEventInit { - data?: PushMessageDataInit; + data?: PushMessageDataInit | null; + notification?: Notification | null; } interface PushSubscriptionChangeEventInit extends ExtendableEventInit { @@ -3966,6 +3967,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -5237,35 +5244,15 @@ interface NavigatorConcurrentHardware { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; @@ -7866,7 +7853,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/ts5.5/sharedworker.generated.d.ts b/baselines/ts5.5/sharedworker.generated.d.ts index 4fb5c5f83..0d653719b 100644 --- a/baselines/ts5.5/sharedworker.generated.d.ts +++ b/baselines/ts5.5/sharedworker.generated.d.ts @@ -3649,6 +3649,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -4920,35 +4926,15 @@ interface NavigatorConcurrentHardware { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; @@ -7409,7 +7395,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/ts5.5/webworker.generated.d.ts b/baselines/ts5.5/webworker.generated.d.ts index 63867da88..507ef5c66 100644 --- a/baselines/ts5.5/webworker.generated.d.ts +++ b/baselines/ts5.5/webworker.generated.d.ts @@ -617,7 +617,8 @@ interface PromiseRejectionEventInit extends EventInit { } interface PushEventInit extends ExtendableEventInit { - data?: PushMessageDataInit; + data?: PushMessageDataInit | null; + notification?: Notification | null; } interface PushSubscriptionChangeEventInit extends ExtendableEventInit { @@ -4658,6 +4659,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -6098,35 +6105,15 @@ interface NavigatorConcurrentHardware { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; @@ -9015,7 +9002,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index 5c65f31d9..33c34765b 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -6851,6 +6851,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration { textAlignLast: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */ textAnchor: string; + textAutospace: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */ textBox: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box-edge) */ @@ -10692,7 +10693,7 @@ declare var Document: { prototype: Document; new(): Document; /** - * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance. + * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) */ @@ -11366,7 +11367,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp */ setAttributeNodeNS(attr: Attr): Attr | null; /** - * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM. + * The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) */ @@ -12405,6 +12406,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -13575,7 +13582,7 @@ declare var HTMLBodyElement: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement) */ -interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { +interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes { /** * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks. * @@ -15026,7 +15033,7 @@ declare var HTMLImageElement: { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement) */ -interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { +interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes { /** * The **`accept`** property of the HTMLInputElement interface reflects the input element's `accept` attribute, generally a comma-separated list of unique file type specifiers providing a hint for the expected file type for an `` of type `file`. * @@ -15290,7 +15297,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement { */ readonly webkitEntries: ReadonlyArray; /** - * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `` elements should let the user select directories instead of files. + * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `` elements can only select directories instead of files. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */ @@ -18152,7 +18159,7 @@ declare var Headers: { */ interface Highlight { /** - * It is possible to create Range objects that overlap in a document. + * The `priority` property of the Highlight interface is a number used to determine which highlight's styles should be used to resolve style conflicts in overlapping parts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority) */ @@ -19598,7 +19605,11 @@ interface LargestContentfulPaint extends PerformanceEntry { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) */ readonly loadTime: DOMHighResTimeStamp; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */ + /** + * The **`renderTime`** read-only property of the LargestContentfulPaint interface represents the time that the element was rendered to the screen. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) + */ readonly renderTime: DOMHighResTimeStamp; /** * The **`size`** read-only property of the LargestContentfulPaint interface returns the intrinsic size of the element that is the largest contentful paint. @@ -21888,55 +21899,23 @@ interface NavigatorCookies { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) */ readonly productSub: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) */ readonly vendor: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) */ readonly vendorSub: string; } @@ -21979,25 +21958,13 @@ interface NavigatorOnLine { } interface NavigatorPlugins { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */ readonly mimeTypes: MimeTypeArray; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */ readonly pdfViewerEnabled: boolean; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) */ readonly plugins: PluginArray; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) */ javaEnabled(): boolean; } @@ -24499,7 +24466,7 @@ declare var PopStateEvent: { new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent; }; -interface PopoverInvokerElement { +interface PopoverTargetAttributes { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */ popoverTargetAction: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */ @@ -25616,7 +25583,7 @@ declare var RTCPeerConnectionIceEvent: { */ interface RTCRtpReceiver { /** - * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter buffer should hold media before playing it out. + * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter should hold media before playing it out. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) */ @@ -31166,7 +31133,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { */ getHTML(options?: GetHTMLOptions): string; /** - * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM. + * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) */ @@ -33327,7 +33294,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/ts5.6/serviceworker.generated.d.ts b/baselines/ts5.6/serviceworker.generated.d.ts index 295e1756e..64587c5a9 100644 --- a/baselines/ts5.6/serviceworker.generated.d.ts +++ b/baselines/ts5.6/serviceworker.generated.d.ts @@ -495,7 +495,8 @@ interface PromiseRejectionEventInit extends EventInit { } interface PushEventInit extends ExtendableEventInit { - data?: PushMessageDataInit; + data?: PushMessageDataInit | null; + notification?: Notification | null; } interface PushSubscriptionChangeEventInit extends ExtendableEventInit { @@ -3966,6 +3967,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -5237,35 +5244,15 @@ interface NavigatorConcurrentHardware { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; @@ -7866,7 +7853,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/ts5.6/sharedworker.generated.d.ts b/baselines/ts5.6/sharedworker.generated.d.ts index 4fb5c5f83..0d653719b 100644 --- a/baselines/ts5.6/sharedworker.generated.d.ts +++ b/baselines/ts5.6/sharedworker.generated.d.ts @@ -3649,6 +3649,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -4920,35 +4926,15 @@ interface NavigatorConcurrentHardware { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; @@ -7409,7 +7395,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/ts5.6/webworker.generated.d.ts b/baselines/ts5.6/webworker.generated.d.ts index 63867da88..507ef5c66 100644 --- a/baselines/ts5.6/webworker.generated.d.ts +++ b/baselines/ts5.6/webworker.generated.d.ts @@ -617,7 +617,8 @@ interface PromiseRejectionEventInit extends EventInit { } interface PushEventInit extends ExtendableEventInit { - data?: PushMessageDataInit; + data?: PushMessageDataInit | null; + notification?: Notification | null; } interface PushSubscriptionChangeEventInit extends ExtendableEventInit { @@ -4658,6 +4659,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -6098,35 +6105,15 @@ interface NavigatorConcurrentHardware { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; @@ -9015,7 +9002,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 41d032889..ea15cc1a7 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -617,7 +617,8 @@ interface PromiseRejectionEventInit extends EventInit { } interface PushEventInit extends ExtendableEventInit { - data?: PushMessageDataInit; + data?: PushMessageDataInit | null; + notification?: Notification | null; } interface PushSubscriptionChangeEventInit extends ExtendableEventInit { @@ -4658,6 +4659,12 @@ interface FontFace { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */ unicodeRange: string; + /** + * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings) + */ + variationSettings: string; /** * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font. * @@ -6098,35 +6105,15 @@ interface NavigatorConcurrentHardware { } interface NavigatorID { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */ readonly appCodeName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */ readonly appName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */ readonly appVersion: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */ readonly platform: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) - */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */ readonly product: string; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */ readonly userAgent: string; @@ -9015,7 +9002,7 @@ interface URLPattern { */ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null; /** - * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. + * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test) */ diff --git a/inputfiles/mdn b/inputfiles/mdn index 1c0e6f38b..6cd62fb44 160000 --- a/inputfiles/mdn +++ b/inputfiles/mdn @@ -1 +1 @@ -Subproject commit 1c0e6f38bf619c66a8d972b1891533b0e5423fbe +Subproject commit 6cd62fb4482a2d6927cebd0223bf8d0386095340 diff --git a/package-lock.json b/package-lock.json index 05d792b4a..8e7cae9e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -395,9 +395,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-6.1.1.tgz", - "integrity": "sha512-9/Uu3ROTiOR4kzvWclJz2wsx65bLUZzsQOxCcIFmy0JBQ2soH8tw6aSmkxOjDS1QM11InjY9/lcWcnKZL8zUNA==", + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-6.1.5.tgz", + "integrity": "sha512-PzdZZzRhcXvKB0begee28n5lvwAcinGKYuLZOVxHAZm+n7y01ddEGfdS1ZXRuVcV+ndG6mSEAE8vgudom5UjYg==", "dev": true, "license": "CC0-1.0" }, @@ -1037,9 +1037,9 @@ } }, "node_modules/@webref/css": { - "version": "6.23.6", - "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.23.6.tgz", - "integrity": "sha512-PdgFNBJxoYc5WTJ5yxzpoxU6drWdtiXheaYmDh1YNiQc6sFxTJbUy5bfjHxXxQ37hhsLfWxuD3DG9L4GpRahoA==", + "version": "6.23.7", + "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.23.7.tgz", + "integrity": "sha512-9ygF88/BhW03J1NEyNykuufCBdj1QCyLcf4I3SLsBW40ARilMM7cPnToJSRW8IEiiFiMgsX6gi3ucTZLspus6w==", "dev": true, "license": "MIT", "peerDependencies": { @@ -1061,9 +1061,9 @@ "license": "MIT" }, "node_modules/@webref/idl": { - "version": "3.66.1", - "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.66.1.tgz", - "integrity": "sha512-1nkRbMl1GU0IG1E96OPTHRNQP2ir0WZX6KFu9RN8QO/3RjlognX6OP4F4NiZu3py5zQqGmjnQd/qLKmn5yCbhQ==", + "version": "3.66.2", + "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.66.2.tgz", + "integrity": "sha512-vCsirNmxN5HSUINU2Ea/v3RqUxBiXP8AezXUI6X0fYhKr89SUgkzjXj8bJFCx7S7nKUMjAR4KZDYEDv6nnQh9g==", "dev": true, "license": "MIT", "peerDependencies": {