Skip to content

Update core dependencies #1654

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

Merged
merged 1 commit into from
Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9960,6 +9960,7 @@ declare var HTMLDataListElement: {

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
interface HTMLDetailsElement extends HTMLElement {
name: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
open: boolean;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
Expand Down Expand Up @@ -10849,6 +10850,8 @@ interface HTMLImageElement extends HTMLElement {
readonly currentSrc: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding) */
decoding: "async" | "sync" | "auto";
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority) */
fetchPriority: string;
/**
* Sets or retrieves the height of the object.
*
Expand Down Expand Up @@ -11277,6 +11280,8 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */
crossOrigin: string | null;
disabled: boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
fetchPriority: string;
/** Sets or retrieves a destination URL or an anchor point. */
href: string;
/** Sets or retrieves the language code of the object. */
Expand Down Expand Up @@ -12328,6 +12333,7 @@ interface HTMLScriptElement extends HTMLElement {
* @deprecated
*/
event: string;
fetchPriority: string;
/**
* Sets or retrieves the object that is bound to the event script.
* @deprecated
Expand Down Expand Up @@ -13488,6 +13494,26 @@ declare var Headers: {
new(init?: HeadersInit): Headers;
};

interface Highlight {
priority: number;
type: HighlightType;
forEach(callbackfn: (value: AbstractRange, key: AbstractRange, parent: Highlight) => void, thisArg?: any): void;
}

declare var Highlight: {
prototype: Highlight;
new(...initialRanges: AbstractRange[]): Highlight;
};

interface HighlightRegistry {
forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
}

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

/**
* Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
*
Expand Down Expand Up @@ -26564,10 +26590,13 @@ declare var console: Console;

/** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */
declare namespace CSS {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/highlights_static) */
var highlights: HighlightRegistry;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
function Hz(value: number): CSSUnitValue;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
function Q(value: number): CSSUnitValue;
function cap(value: number): CSSUnitValue;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
function ch(value: number): CSSUnitValue;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
Expand Down Expand Up @@ -26646,10 +26675,14 @@ declare namespace CSS {
function px(value: number): CSSUnitValue;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
function rad(value: number): CSSUnitValue;
function rcap(value: number): CSSUnitValue;
function rch(value: number): CSSUnitValue;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/registerProperty_static) */
function registerProperty(definition: PropertyDefinition): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
function rem(value: number): CSSUnitValue;
function rex(value: number): CSSUnitValue;
function ric(value: number): CSSUnitValue;
function rlh(value: number): CSSUnitValue;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
function s(value: number): CSSUnitValue;
Expand Down Expand Up @@ -28190,6 +28223,7 @@ type GamepadMappingType = "" | "standard" | "xr-standard";
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";
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
type HighlightType = "grammar-error" | "highlight" | "spelling-error";
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
type IDBRequestReadyState = "done" | "pending";
type IDBTransactionDurability = "default" | "relaxed" | "strict";
Expand Down
6 changes: 6 additions & 0 deletions baselines/dom.iterable.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ interface Headers {
values(): IterableIterator<string>;
}

interface Highlight extends Set<AbstractRange> {
}

interface HighlightRegistry extends Map<string, Highlight> {
}

interface IDBDatabase {
/**
* 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.
Expand Down
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.