Skip to content

Commit 4d0b512

Browse files
ortagithub-actions[bot]
authored andcommitted
🤖 Update core dependencies
1 parent 56333b3 commit 4d0b512

File tree

3 files changed

+139
-11
lines changed

3 files changed

+139
-11
lines changed

Diff for: baselines/dom.generated.d.ts

+68-4
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ interface AuthenticationExtensionsClientInputs {
135135
prf?: AuthenticationExtensionsPRFInputs;
136136
}
137137

138+
interface AuthenticationExtensionsClientInputsJSON {
139+
}
140+
138141
interface AuthenticationExtensionsClientOutputs {
139142
appid?: boolean;
140143
credProps?: CredentialPropertiesOutput;
@@ -1294,12 +1297,32 @@ interface PublicKeyCredentialCreationOptions {
12941297
user: PublicKeyCredentialUserEntity;
12951298
}
12961299

1300+
interface PublicKeyCredentialCreationOptionsJSON {
1301+
attestation?: string;
1302+
attestationFormats?: string[];
1303+
authenticatorSelection?: AuthenticatorSelectionCriteria;
1304+
challenge: Base64URLString;
1305+
excludeCredentials?: PublicKeyCredentialDescriptorJSON[];
1306+
extensions?: AuthenticationExtensionsClientInputsJSON;
1307+
hints?: string[];
1308+
pubKeyCredParams: PublicKeyCredentialParameters[];
1309+
rp: PublicKeyCredentialRpEntity;
1310+
timeout?: number;
1311+
user: PublicKeyCredentialUserEntityJSON;
1312+
}
1313+
12971314
interface PublicKeyCredentialDescriptor {
12981315
id: BufferSource;
12991316
transports?: AuthenticatorTransport[];
13001317
type: PublicKeyCredentialType;
13011318
}
13021319

1320+
interface PublicKeyCredentialDescriptorJSON {
1321+
id: Base64URLString;
1322+
transports?: string[];
1323+
type: string;
1324+
}
1325+
13031326
interface PublicKeyCredentialEntity {
13041327
name: string;
13051328
}
@@ -1318,6 +1341,16 @@ interface PublicKeyCredentialRequestOptions {
13181341
userVerification?: UserVerificationRequirement;
13191342
}
13201343

1344+
interface PublicKeyCredentialRequestOptionsJSON {
1345+
allowCredentials?: PublicKeyCredentialDescriptorJSON[];
1346+
challenge: Base64URLString;
1347+
extensions?: AuthenticationExtensionsClientInputsJSON;
1348+
hints?: string[];
1349+
rpId?: string;
1350+
timeout?: number;
1351+
userVerification?: string;
1352+
}
1353+
13211354
interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {
13221355
id?: string;
13231356
}
@@ -1327,6 +1360,12 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {
13271360
id: BufferSource;
13281361
}
13291362

1363+
interface PublicKeyCredentialUserEntityJSON {
1364+
displayName: string;
1365+
id: Base64URLString;
1366+
name: string;
1367+
}
1368+
13301369
interface PushSubscriptionJSON {
13311370
endpoint?: string;
13321371
expirationTime?: EpochTimeStamp | null;
@@ -3494,6 +3533,7 @@ declare var CSSKeyframeRule: {
34943533
interface CSSKeyframesRule extends CSSRule {
34953534
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules) */
34963535
readonly cssRules: CSSRuleList;
3536+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/length) */
34973537
readonly length: number;
34983538
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name) */
34993539
name: string;
@@ -11108,11 +11148,23 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
1110811148
readonly validationMessage: string;
1110911149
/** Returns a ValidityState object that represents the validity states of an element. */
1111011150
readonly validity: ValidityState;
11111-
/** Returns the value of the data at the cursor's current position. */
11151+
/**
11152+
* Returns the value of the data at the cursor's current position.
11153+
*
11154+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)
11155+
*/
1111211156
value: string;
11113-
/** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based. */
11157+
/**
11158+
* Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
11159+
*
11160+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsDate)
11161+
*/
1111411162
valueAsDate: Date | null;
11115-
/** Returns the input field value as a number. */
11163+
/**
11164+
* Returns the input field value as a number.
11165+
*
11166+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)
11167+
*/
1111611168
valueAsNumber: number;
1111711169
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitEntries) */
1111811170
readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
@@ -14136,7 +14188,11 @@ declare var ImageBitmap: {
1413614188

1413714189
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext) */
1413814190
interface ImageBitmapRenderingContext {
14139-
/** Returns the canvas element that the context is bound to. */
14191+
/**
14192+
* Returns the canvas element that the context is bound to.
14193+
*
14194+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas)
14195+
*/
1414014196
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
1414114197
/**
1414214198
* Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
@@ -17723,6 +17779,8 @@ interface PublicKeyCredential extends Credential {
1772317779
readonly response: AuthenticatorResponse;
1772417780
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/getClientExtensionResults) */
1772517781
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
17782+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON) */
17783+
toJSON(): PublicKeyCredentialJSON;
1772617784
}
1772717785

1772817786
declare var PublicKeyCredential: {
@@ -17732,6 +17790,10 @@ declare var PublicKeyCredential: {
1773217790
isConditionalMediationAvailable(): Promise<boolean>;
1773317791
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
1773417792
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
17793+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static) */
17794+
parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions;
17795+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static) */
17796+
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
1773517797
};
1773617798

1773717799
/**
@@ -28139,6 +28201,7 @@ type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
2813928201
type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
2814028202
type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
2814128203
type AutoFillSection = `section-${string}`;
28204+
type Base64URLString = string;
2814228205
type BigInteger = Uint8Array;
2814328206
type BlobPart = BufferSource | Blob | string;
2814428207
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
@@ -28191,6 +28254,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
2819128254
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
2819228255
type OptionalPrefixToken<T extends string> = `${T} ` | "";
2819328256
type PerformanceEntryList = PerformanceEntry[];
28257+
type PublicKeyCredentialJSON = any;
2819428258
type RTCRtpTransform = RTCRtpScriptTransform;
2819528259
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
2819628260
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;

Diff for: baselines/ts5.5/dom.generated.d.ts

+68-4
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ interface AuthenticationExtensionsClientInputs {
135135
prf?: AuthenticationExtensionsPRFInputs;
136136
}
137137

138+
interface AuthenticationExtensionsClientInputsJSON {
139+
}
140+
138141
interface AuthenticationExtensionsClientOutputs {
139142
appid?: boolean;
140143
credProps?: CredentialPropertiesOutput;
@@ -1294,12 +1297,32 @@ interface PublicKeyCredentialCreationOptions {
12941297
user: PublicKeyCredentialUserEntity;
12951298
}
12961299

1300+
interface PublicKeyCredentialCreationOptionsJSON {
1301+
attestation?: string;
1302+
attestationFormats?: string[];
1303+
authenticatorSelection?: AuthenticatorSelectionCriteria;
1304+
challenge: Base64URLString;
1305+
excludeCredentials?: PublicKeyCredentialDescriptorJSON[];
1306+
extensions?: AuthenticationExtensionsClientInputsJSON;
1307+
hints?: string[];
1308+
pubKeyCredParams: PublicKeyCredentialParameters[];
1309+
rp: PublicKeyCredentialRpEntity;
1310+
timeout?: number;
1311+
user: PublicKeyCredentialUserEntityJSON;
1312+
}
1313+
12971314
interface PublicKeyCredentialDescriptor {
12981315
id: BufferSource;
12991316
transports?: AuthenticatorTransport[];
13001317
type: PublicKeyCredentialType;
13011318
}
13021319

1320+
interface PublicKeyCredentialDescriptorJSON {
1321+
id: Base64URLString;
1322+
transports?: string[];
1323+
type: string;
1324+
}
1325+
13031326
interface PublicKeyCredentialEntity {
13041327
name: string;
13051328
}
@@ -1318,6 +1341,16 @@ interface PublicKeyCredentialRequestOptions {
13181341
userVerification?: UserVerificationRequirement;
13191342
}
13201343

1344+
interface PublicKeyCredentialRequestOptionsJSON {
1345+
allowCredentials?: PublicKeyCredentialDescriptorJSON[];
1346+
challenge: Base64URLString;
1347+
extensions?: AuthenticationExtensionsClientInputsJSON;
1348+
hints?: string[];
1349+
rpId?: string;
1350+
timeout?: number;
1351+
userVerification?: string;
1352+
}
1353+
13211354
interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {
13221355
id?: string;
13231356
}
@@ -1327,6 +1360,12 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {
13271360
id: BufferSource;
13281361
}
13291362

1363+
interface PublicKeyCredentialUserEntityJSON {
1364+
displayName: string;
1365+
id: Base64URLString;
1366+
name: string;
1367+
}
1368+
13301369
interface PushSubscriptionJSON {
13311370
endpoint?: string;
13321371
expirationTime?: EpochTimeStamp | null;
@@ -3494,6 +3533,7 @@ declare var CSSKeyframeRule: {
34943533
interface CSSKeyframesRule extends CSSRule {
34953534
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules) */
34963535
readonly cssRules: CSSRuleList;
3536+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/length) */
34973537
readonly length: number;
34983538
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name) */
34993539
name: string;
@@ -11108,11 +11148,23 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
1110811148
readonly validationMessage: string;
1110911149
/** Returns a ValidityState object that represents the validity states of an element. */
1111011150
readonly validity: ValidityState;
11111-
/** Returns the value of the data at the cursor's current position. */
11151+
/**
11152+
* Returns the value of the data at the cursor's current position.
11153+
*
11154+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)
11155+
*/
1111211156
value: string;
11113-
/** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based. */
11157+
/**
11158+
* Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
11159+
*
11160+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsDate)
11161+
*/
1111411162
valueAsDate: Date | null;
11115-
/** Returns the input field value as a number. */
11163+
/**
11164+
* Returns the input field value as a number.
11165+
*
11166+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)
11167+
*/
1111611168
valueAsNumber: number;
1111711169
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitEntries) */
1111811170
readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
@@ -14136,7 +14188,11 @@ declare var ImageBitmap: {
1413614188

1413714189
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext) */
1413814190
interface ImageBitmapRenderingContext {
14139-
/** Returns the canvas element that the context is bound to. */
14191+
/**
14192+
* Returns the canvas element that the context is bound to.
14193+
*
14194+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas)
14195+
*/
1414014196
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
1414114197
/**
1414214198
* Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
@@ -17723,6 +17779,8 @@ interface PublicKeyCredential extends Credential {
1772317779
readonly response: AuthenticatorResponse;
1772417780
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/getClientExtensionResults) */
1772517781
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
17782+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON) */
17783+
toJSON(): PublicKeyCredentialJSON;
1772617784
}
1772717785

1772817786
declare var PublicKeyCredential: {
@@ -17732,6 +17790,10 @@ declare var PublicKeyCredential: {
1773217790
isConditionalMediationAvailable(): Promise<boolean>;
1773317791
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
1773417792
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
17793+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static) */
17794+
parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions;
17795+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static) */
17796+
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
1773517797
};
1773617798

1773717799
/**
@@ -28139,6 +28201,7 @@ type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
2813928201
type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
2814028202
type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
2814128203
type AutoFillSection = `section-${string}`;
28204+
type Base64URLString = string;
2814228205
type BigInteger = Uint8Array;
2814328206
type BlobPart = BufferSource | Blob | string;
2814428207
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
@@ -28191,6 +28254,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
2819128254
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
2819228255
type OptionalPrefixToken<T extends string> = `${T} ` | "";
2819328256
type PerformanceEntryList = PerformanceEntry[];
28257+
type PublicKeyCredentialJSON = any;
2819428258
type RTCRtpTransform = RTCRtpScriptTransform;
2819528259
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
2819628260
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;

Diff for: package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)