Skip to content

Commit 78c9f6d

Browse files
TypeScript Botsaschanaz
TypeScript Bot
andauthored
🤖 Update core dependencies (#1654)
Co-authored-by: saschanaz <[email protected]>
1 parent b0ceb63 commit 78c9f6d

File tree

3 files changed

+57
-17
lines changed

3 files changed

+57
-17
lines changed

baselines/dom.generated.d.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9960,6 +9960,7 @@ declare var HTMLDataListElement: {
99609960

99619961
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
99629962
interface HTMLDetailsElement extends HTMLElement {
9963+
name: string;
99639964
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
99649965
open: boolean;
99659966
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -10849,6 +10850,8 @@ interface HTMLImageElement extends HTMLElement {
1084910850
readonly currentSrc: string;
1085010851
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding) */
1085110852
decoding: "async" | "sync" | "auto";
10853+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority) */
10854+
fetchPriority: string;
1085210855
/**
1085310856
* Sets or retrieves the height of the object.
1085410857
*
@@ -11277,6 +11280,8 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
1127711280
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */
1127811281
crossOrigin: string | null;
1127911282
disabled: boolean;
11283+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
11284+
fetchPriority: string;
1128011285
/** Sets or retrieves a destination URL or an anchor point. */
1128111286
href: string;
1128211287
/** Sets or retrieves the language code of the object. */
@@ -12328,6 +12333,7 @@ interface HTMLScriptElement extends HTMLElement {
1232812333
* @deprecated
1232912334
*/
1233012335
event: string;
12336+
fetchPriority: string;
1233112337
/**
1233212338
* Sets or retrieves the object that is bound to the event script.
1233312339
* @deprecated
@@ -13488,6 +13494,26 @@ declare var Headers: {
1348813494
new(init?: HeadersInit): Headers;
1348913495
};
1349013496

13497+
interface Highlight {
13498+
priority: number;
13499+
type: HighlightType;
13500+
forEach(callbackfn: (value: AbstractRange, key: AbstractRange, parent: Highlight) => void, thisArg?: any): void;
13501+
}
13502+
13503+
declare var Highlight: {
13504+
prototype: Highlight;
13505+
new(...initialRanges: AbstractRange[]): Highlight;
13506+
};
13507+
13508+
interface HighlightRegistry {
13509+
forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
13510+
}
13511+
13512+
declare var HighlightRegistry: {
13513+
prototype: HighlightRegistry;
13514+
new(): HighlightRegistry;
13515+
};
13516+
1349113517
/**
1349213518
* Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
1349313519
*
@@ -26564,10 +26590,13 @@ declare var console: Console;
2656426590

2656526591
/** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */
2656626592
declare namespace CSS {
26593+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/highlights_static) */
26594+
var highlights: HighlightRegistry;
2656726595
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
2656826596
function Hz(value: number): CSSUnitValue;
2656926597
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
2657026598
function Q(value: number): CSSUnitValue;
26599+
function cap(value: number): CSSUnitValue;
2657126600
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
2657226601
function ch(value: number): CSSUnitValue;
2657326602
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
@@ -26646,10 +26675,14 @@ declare namespace CSS {
2664626675
function px(value: number): CSSUnitValue;
2664726676
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
2664826677
function rad(value: number): CSSUnitValue;
26678+
function rcap(value: number): CSSUnitValue;
26679+
function rch(value: number): CSSUnitValue;
2664926680
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/registerProperty_static) */
2665026681
function registerProperty(definition: PropertyDefinition): void;
2665126682
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
2665226683
function rem(value: number): CSSUnitValue;
26684+
function rex(value: number): CSSUnitValue;
26685+
function ric(value: number): CSSUnitValue;
2665326686
function rlh(value: number): CSSUnitValue;
2665426687
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
2665526688
function s(value: number): CSSUnitValue;
@@ -28190,6 +28223,7 @@ type GamepadMappingType = "" | "standard" | "xr-standard";
2819028223
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
2819128224
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
2819228225
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
28226+
type HighlightType = "grammar-error" | "highlight" | "spelling-error";
2819328227
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
2819428228
type IDBRequestReadyState = "done" | "pending";
2819528229
type IDBTransactionDurability = "default" | "relaxed" | "strict";

baselines/dom.iterable.generated.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ interface Headers {
134134
values(): IterableIterator<string>;
135135
}
136136

137+
interface Highlight extends Set<AbstractRange> {
138+
}
139+
140+
interface HighlightRegistry extends Map<string, Highlight> {
141+
}
142+
137143
interface IDBDatabase {
138144
/**
139145
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.

package-lock.json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)