Skip to content

Commit d171b1c

Browse files
authored
Update to @webref/[email protected] (#2019)
Co-authored-by: saschanaz <[email protected]>
1 parent 65c87f5 commit d171b1c

16 files changed

+153
-30
lines changed

baselines/dom.generated.d.ts

+37-1
Original file line numberDiff line numberDiff line change
@@ -183,26 +183,57 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
183183
interface AuthenticationExtensionsClientInputs {
184184
appid?: string;
185185
credProps?: boolean;
186+
credentialProtectionPolicy?: string;
187+
enforceCredentialProtectionPolicy?: boolean;
186188
hmacCreateSecret?: boolean;
189+
largeBlob?: AuthenticationExtensionsLargeBlobInputs;
187190
minPinLength?: boolean;
188191
prf?: AuthenticationExtensionsPRFInputs;
189192
}
190193

191194
interface AuthenticationExtensionsClientInputsJSON {
195+
appid?: string;
196+
credProps?: boolean;
197+
largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
198+
prf?: AuthenticationExtensionsPRFInputsJSON;
192199
}
193200

194201
interface AuthenticationExtensionsClientOutputs {
195202
appid?: boolean;
196203
credProps?: CredentialPropertiesOutput;
197204
hmacCreateSecret?: boolean;
205+
largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
198206
prf?: AuthenticationExtensionsPRFOutputs;
199207
}
200208

209+
interface AuthenticationExtensionsLargeBlobInputs {
210+
read?: boolean;
211+
support?: string;
212+
write?: BufferSource;
213+
}
214+
215+
interface AuthenticationExtensionsLargeBlobInputsJSON {
216+
read?: boolean;
217+
support?: string;
218+
write?: Base64URLString;
219+
}
220+
221+
interface AuthenticationExtensionsLargeBlobOutputs {
222+
blob?: ArrayBuffer;
223+
supported?: boolean;
224+
written?: boolean;
225+
}
226+
201227
interface AuthenticationExtensionsPRFInputs {
202228
eval?: AuthenticationExtensionsPRFValues;
203229
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
204230
}
205231

232+
interface AuthenticationExtensionsPRFInputsJSON {
233+
eval?: AuthenticationExtensionsPRFValuesJSON;
234+
evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;
235+
}
236+
206237
interface AuthenticationExtensionsPRFOutputs {
207238
enabled?: boolean;
208239
results?: AuthenticationExtensionsPRFValues;
@@ -213,6 +244,11 @@ interface AuthenticationExtensionsPRFValues {
213244
second?: BufferSource;
214245
}
215246

247+
interface AuthenticationExtensionsPRFValuesJSON {
248+
first: Base64URLString;
249+
second?: Base64URLString;
250+
}
251+
216252
interface AuthenticatorSelectionCriteria {
217253
authenticatorAttachment?: AuthenticatorAttachment;
218254
requireResidentKey?: boolean;
@@ -23634,7 +23670,7 @@ interface ServiceWorkerRegistration extends EventTarget {
2363423670
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
2363523671
unregister(): Promise<boolean>;
2363623672
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
23637-
update(): Promise<void>;
23673+
update(): Promise<ServiceWorkerRegistration>;
2363823674
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2363923675
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2364023676
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/serviceworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5439,7 +5439,7 @@ interface ServiceWorkerRegistration extends EventTarget {
54395439
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
54405440
unregister(): Promise<boolean>;
54415441
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
5442-
update(): Promise<void>;
5442+
update(): Promise<ServiceWorkerRegistration>;
54435443
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
54445444
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
54455445
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/sharedworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5123,7 +5123,7 @@ interface ServiceWorkerRegistration extends EventTarget {
51235123
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
51245124
unregister(): Promise<boolean>;
51255125
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
5126-
update(): Promise<void>;
5126+
update(): Promise<ServiceWorkerRegistration>;
51275127
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
51285128
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
51295129
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/ts5.5/dom.generated.d.ts

+37-1
Original file line numberDiff line numberDiff line change
@@ -183,26 +183,57 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
183183
interface AuthenticationExtensionsClientInputs {
184184
appid?: string;
185185
credProps?: boolean;
186+
credentialProtectionPolicy?: string;
187+
enforceCredentialProtectionPolicy?: boolean;
186188
hmacCreateSecret?: boolean;
189+
largeBlob?: AuthenticationExtensionsLargeBlobInputs;
187190
minPinLength?: boolean;
188191
prf?: AuthenticationExtensionsPRFInputs;
189192
}
190193

191194
interface AuthenticationExtensionsClientInputsJSON {
195+
appid?: string;
196+
credProps?: boolean;
197+
largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
198+
prf?: AuthenticationExtensionsPRFInputsJSON;
192199
}
193200

194201
interface AuthenticationExtensionsClientOutputs {
195202
appid?: boolean;
196203
credProps?: CredentialPropertiesOutput;
197204
hmacCreateSecret?: boolean;
205+
largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
198206
prf?: AuthenticationExtensionsPRFOutputs;
199207
}
200208

209+
interface AuthenticationExtensionsLargeBlobInputs {
210+
read?: boolean;
211+
support?: string;
212+
write?: BufferSource;
213+
}
214+
215+
interface AuthenticationExtensionsLargeBlobInputsJSON {
216+
read?: boolean;
217+
support?: string;
218+
write?: Base64URLString;
219+
}
220+
221+
interface AuthenticationExtensionsLargeBlobOutputs {
222+
blob?: ArrayBuffer;
223+
supported?: boolean;
224+
written?: boolean;
225+
}
226+
201227
interface AuthenticationExtensionsPRFInputs {
202228
eval?: AuthenticationExtensionsPRFValues;
203229
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
204230
}
205231

232+
interface AuthenticationExtensionsPRFInputsJSON {
233+
eval?: AuthenticationExtensionsPRFValuesJSON;
234+
evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;
235+
}
236+
206237
interface AuthenticationExtensionsPRFOutputs {
207238
enabled?: boolean;
208239
results?: AuthenticationExtensionsPRFValues;
@@ -213,6 +244,11 @@ interface AuthenticationExtensionsPRFValues {
213244
second?: BufferSource;
214245
}
215246

247+
interface AuthenticationExtensionsPRFValuesJSON {
248+
first: Base64URLString;
249+
second?: Base64URLString;
250+
}
251+
216252
interface AuthenticatorSelectionCriteria {
217253
authenticatorAttachment?: AuthenticatorAttachment;
218254
requireResidentKey?: boolean;
@@ -23613,7 +23649,7 @@ interface ServiceWorkerRegistration extends EventTarget {
2361323649
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
2361423650
unregister(): Promise<boolean>;
2361523651
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
23616-
update(): Promise<void>;
23652+
update(): Promise<ServiceWorkerRegistration>;
2361723653
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2361823654
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2361923655
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/ts5.5/serviceworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5439,7 +5439,7 @@ interface ServiceWorkerRegistration extends EventTarget {
54395439
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
54405440
unregister(): Promise<boolean>;
54415441
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
5442-
update(): Promise<void>;
5442+
update(): Promise<ServiceWorkerRegistration>;
54435443
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
54445444
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
54455445
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/ts5.5/sharedworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5123,7 +5123,7 @@ interface ServiceWorkerRegistration extends EventTarget {
51235123
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
51245124
unregister(): Promise<boolean>;
51255125
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
5126-
update(): Promise<void>;
5126+
update(): Promise<ServiceWorkerRegistration>;
51275127
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
51285128
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
51295129
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/ts5.5/webworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6190,7 +6190,7 @@ interface ServiceWorkerRegistration extends EventTarget {
61906190
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
61916191
unregister(): Promise<boolean>;
61926192
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
6193-
update(): Promise<void>;
6193+
update(): Promise<ServiceWorkerRegistration>;
61946194
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
61956195
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
61966196
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/ts5.6/dom.generated.d.ts

+37-1
Original file line numberDiff line numberDiff line change
@@ -183,26 +183,57 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
183183
interface AuthenticationExtensionsClientInputs {
184184
appid?: string;
185185
credProps?: boolean;
186+
credentialProtectionPolicy?: string;
187+
enforceCredentialProtectionPolicy?: boolean;
186188
hmacCreateSecret?: boolean;
189+
largeBlob?: AuthenticationExtensionsLargeBlobInputs;
187190
minPinLength?: boolean;
188191
prf?: AuthenticationExtensionsPRFInputs;
189192
}
190193

191194
interface AuthenticationExtensionsClientInputsJSON {
195+
appid?: string;
196+
credProps?: boolean;
197+
largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
198+
prf?: AuthenticationExtensionsPRFInputsJSON;
192199
}
193200

194201
interface AuthenticationExtensionsClientOutputs {
195202
appid?: boolean;
196203
credProps?: CredentialPropertiesOutput;
197204
hmacCreateSecret?: boolean;
205+
largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
198206
prf?: AuthenticationExtensionsPRFOutputs;
199207
}
200208

209+
interface AuthenticationExtensionsLargeBlobInputs {
210+
read?: boolean;
211+
support?: string;
212+
write?: BufferSource;
213+
}
214+
215+
interface AuthenticationExtensionsLargeBlobInputsJSON {
216+
read?: boolean;
217+
support?: string;
218+
write?: Base64URLString;
219+
}
220+
221+
interface AuthenticationExtensionsLargeBlobOutputs {
222+
blob?: ArrayBuffer;
223+
supported?: boolean;
224+
written?: boolean;
225+
}
226+
201227
interface AuthenticationExtensionsPRFInputs {
202228
eval?: AuthenticationExtensionsPRFValues;
203229
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
204230
}
205231

232+
interface AuthenticationExtensionsPRFInputsJSON {
233+
eval?: AuthenticationExtensionsPRFValuesJSON;
234+
evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;
235+
}
236+
206237
interface AuthenticationExtensionsPRFOutputs {
207238
enabled?: boolean;
208239
results?: AuthenticationExtensionsPRFValues;
@@ -213,6 +244,11 @@ interface AuthenticationExtensionsPRFValues {
213244
second?: BufferSource;
214245
}
215246

247+
interface AuthenticationExtensionsPRFValuesJSON {
248+
first: Base64URLString;
249+
second?: Base64URLString;
250+
}
251+
216252
interface AuthenticatorSelectionCriteria {
217253
authenticatorAttachment?: AuthenticatorAttachment;
218254
requireResidentKey?: boolean;
@@ -23634,7 +23670,7 @@ interface ServiceWorkerRegistration extends EventTarget {
2363423670
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
2363523671
unregister(): Promise<boolean>;
2363623672
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
23637-
update(): Promise<void>;
23673+
update(): Promise<ServiceWorkerRegistration>;
2363823674
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2363923675
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2364023676
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/ts5.6/serviceworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5439,7 +5439,7 @@ interface ServiceWorkerRegistration extends EventTarget {
54395439
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
54405440
unregister(): Promise<boolean>;
54415441
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
5442-
update(): Promise<void>;
5442+
update(): Promise<ServiceWorkerRegistration>;
54435443
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
54445444
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
54455445
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/ts5.6/sharedworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5123,7 +5123,7 @@ interface ServiceWorkerRegistration extends EventTarget {
51235123
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
51245124
unregister(): Promise<boolean>;
51255125
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
5126-
update(): Promise<void>;
5126+
update(): Promise<ServiceWorkerRegistration>;
51275127
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
51285128
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
51295129
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/ts5.6/webworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6190,7 +6190,7 @@ interface ServiceWorkerRegistration extends EventTarget {
61906190
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
61916191
unregister(): Promise<boolean>;
61926192
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
6193-
update(): Promise<void>;
6193+
update(): Promise<ServiceWorkerRegistration>;
61946194
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
61956195
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
61966196
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/webworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6190,7 +6190,7 @@ interface ServiceWorkerRegistration extends EventTarget {
61906190
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
61916191
unregister(): Promise<boolean>;
61926192
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
6193-
update(): Promise<void>;
6193+
update(): Promise<ServiceWorkerRegistration>;
61946194
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
61956195
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
61966196
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

inputfiles/addedTypes.jsonc

+13
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,19 @@
11491149
}
11501150
}
11511151
},
1152+
"LargestContentfulPaint": {
1153+
"properties": {
1154+
"property": {
1155+
// Removed by https://github.com/w3c/largest-contentful-paint/pull/126, but browsers still have it
1156+
"renderTime": {
1157+
"name": "renderTime",
1158+
"type": "DOMHighResTimeStamp",
1159+
"readonly": true,
1160+
"mdnUrl": "https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime"
1161+
}
1162+
}
1163+
}
1164+
},
11521165
"LinkError": {
11531166
"name": "LinkError",
11541167
"extends": "Error",

inputfiles/mdn

Submodule mdn updated 60 files

0 commit comments

Comments
 (0)