Skip to content

Commit d5fc0b1

Browse files
authored
Manually update to @webref/[email protected] (#1285)
* Manually update to @webref/[email protected] * major version bump, let's update package.json * update deps
1 parent 611e529 commit d5fc0b1

8 files changed

+538
-797
lines changed

baselines/audioworklet.generated.d.ts

+336
Large diffs are not rendered by default.

baselines/audioworklet.iterable.generated.d.ts

+10
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,13 @@ interface MessageEvent<T = any> {
66
/** @deprecated */
77
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
88
}
9+
10+
interface URLSearchParams {
11+
[Symbol.iterator](): IterableIterator<[string, string]>;
12+
/** Returns an array of key, value pairs for every entry in the search params. */
13+
entries(): IterableIterator<[string, string]>;
14+
/** Returns a list of keys in the search params. */
15+
keys(): IterableIterator<string>;
16+
/** Returns a list of values in the search params. */
17+
values(): IterableIterator<string>;
18+
}

inputfiles/addedTypes.jsonc

+22
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,28 @@
311311
"color",
312312
"luminosity"
313313
]
314+
},
315+
"PermissionName": {
316+
"name": "PermissionName",
317+
// This is a subset of the permissions defined in the spec:
318+
// https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features
319+
// Please add a feature only when it's supported by multiple engines.
320+
"value": [
321+
// https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#browser_compatibility
322+
"geolocation",
323+
// https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API#browser_compatibility
324+
"notifications",
325+
// https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#browser_compatibility
326+
"persistent-storage",
327+
// https://developer.mozilla.org/en-US/docs/Web/API/Push_API#browser_compatibility
328+
"push",
329+
// Wake Lock is actually Blink-only, but for now let's keep it here for backward compatibility.
330+
// https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API#browser_compatibility
331+
"screen-wake-lock",
332+
// WebXR is also actually Blink-only
333+
// https://developer.mozilla.org/en-US/docs/Web/API/WebXR_Device_API#browser_compatibility
334+
"xr-spatial-tracking"
335+
]
314336
}
315337
}
316338
},

inputfiles/overridingTypes.jsonc

+9
Original file line numberDiff line numberDiff line change
@@ -2952,6 +2952,15 @@
29522952
"[property: string]: string | number | null | undefined"
29532953
]
29542954
},
2955+
"PermissionDescriptor": {
2956+
"members": {
2957+
"member": {
2958+
"name": {
2959+
"type": "PermissionName"
2960+
}
2961+
}
2962+
}
2963+
},
29552964
"PublicKeyCredentialCreationOptions": {
29562965
"members": {
29572966
"member": {

inputfiles/removedTypes.jsonc

+18-33
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,6 @@
1919
"CredentialMediationRequirement": {
2020
"value": ["conditional"] // tied to Credential#isConditionalMediationAvailable
2121
},
22-
"PermissionName": {
23-
"value": [
24-
"midi",
25-
"camera",
26-
"microphone",
27-
"speaker-selection",
28-
"device-info",
29-
"background-fetch",
30-
"background-sync",
31-
"bluetooth",
32-
"ambient-light-sensor",
33-
"accelerometer",
34-
"gyroscope",
35-
"magnetometer",
36-
"clipboard-read",
37-
"clipboard-write",
38-
"display-capture",
39-
"nfc"
40-
]
41-
},
4222
"ReadableStreamReaderMode": null,
4323
"ReadableStreamType": null,
4424
"RTCStatsType": {
@@ -104,11 +84,6 @@
10484
]
10585
},
10686
"NetworkInformation": {
107-
"properties": {
108-
"property": {
109-
"effectiveType": null
110-
}
111-
},
11287
"implements": ["NetworkInformationSaveData"]
11388
},
11489
"ReadableStream": {
@@ -303,8 +278,7 @@
303278
"pan": null,
304279
"tilt": null,
305280
"zoom": null,
306-
"torch": null,
307-
"videoKind": null
281+
"torch": null
308282
}
309283
}
310284
},
@@ -332,8 +306,7 @@
332306
"pan": null,
333307
"tilt": null,
334308
"zoom": null,
335-
"torch": null,
336-
"videoKind": null
309+
"torch": null
337310
}
338311
}
339312
},
@@ -362,8 +335,7 @@
362335
"pan": null,
363336
"tilt": null,
364337
"zoom": null,
365-
"torch": null,
366-
"videoKind": null
338+
"torch": null
367339
}
368340
}
369341
},
@@ -393,8 +365,7 @@
393365
"pan": null,
394366
"tilt": null,
395367
"zoom": null,
396-
"torch": null,
397-
"videoKind": null
368+
"torch": null
398369
}
399370
}
400371
},
@@ -424,6 +395,20 @@
424395
}
425396
}
426397
},
398+
"RTCEncodedAudioFrameMetadata": {
399+
"members": {
400+
"member": {
401+
"payloadType": null
402+
}
403+
}
404+
},
405+
"RTCEncodedVideoFrameMetadata": {
406+
"members": {
407+
"member": {
408+
"payloadType": null
409+
}
410+
}
411+
},
427412
"RTCConfiguration": {
428413
"members": {
429414
"member": {

0 commit comments

Comments
 (0)