From be49f8a198b102af35a9488c815a0cc881b7f6a2 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Fri, 30 Aug 2024 10:24:03 +0200 Subject: [PATCH] Manually update to idl@3.53.0 --- baselines/dom.generated.d.ts | 10 +++++----- baselines/ts5.5/dom.generated.d.ts | 10 +++++----- inputfiles/overridingTypes.jsonc | 2 +- inputfiles/removedTypes.jsonc | 3 ++- package-lock.json | 12 ++++++------ 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 96632be8a..3857f2171 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -7610,7 +7610,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */ requestStorageAccess(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */ - startViewTransition(callbackOptions?: UpdateCallback): ViewTransition; + startViewTransition(callbackOptions?: ViewTransitionUpdateCallback): ViewTransition; /** * Writes one or more HTML expressions to a document in the specified window. * @param content Specifies the text and HTML tags to write. @@ -27116,10 +27116,6 @@ interface UnderlyingSourceStartCallback { (controller: ReadableStreamController): any; } -interface UpdateCallback { - (): any; -} - interface VideoFrameOutputCallback { (output: VideoFrame): void; } @@ -27128,6 +27124,10 @@ interface VideoFrameRequestCallback { (now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void; } +interface ViewTransitionUpdateCallback { + (): any; +} + interface VoidFunction { (): void; } diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 96632be8a..3857f2171 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -7610,7 +7610,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */ requestStorageAccess(): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */ - startViewTransition(callbackOptions?: UpdateCallback): ViewTransition; + startViewTransition(callbackOptions?: ViewTransitionUpdateCallback): ViewTransition; /** * Writes one or more HTML expressions to a document in the specified window. * @param content Specifies the text and HTML tags to write. @@ -27116,10 +27116,6 @@ interface UnderlyingSourceStartCallback { (controller: ReadableStreamController): any; } -interface UpdateCallback { - (): any; -} - interface VideoFrameOutputCallback { (output: VideoFrame): void; } @@ -27128,6 +27124,10 @@ interface VideoFrameRequestCallback { (now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void; } +interface ViewTransitionUpdateCallback { + (): any; +} + interface VoidFunction { (): void; } diff --git a/inputfiles/overridingTypes.jsonc b/inputfiles/overridingTypes.jsonc index 52db42d53..d2bf25e86 100644 --- a/inputfiles/overridingTypes.jsonc +++ b/inputfiles/overridingTypes.jsonc @@ -737,7 +737,7 @@ // StartViewTransitionOptions is not implemented as of 2024-06 { "name": "callbackOptions", - "type": "UpdateCallback" + "type": "ViewTransitionUpdateCallback" } ], } diff --git a/inputfiles/removedTypes.jsonc b/inputfiles/removedTypes.jsonc index 892209e5c..97dc587db 100644 --- a/inputfiles/removedTypes.jsonc +++ b/inputfiles/removedTypes.jsonc @@ -677,7 +677,8 @@ "RTCRtpEncodingParameters": { "members": { "member": { - "scalabilityMode": null // Blink only as of 2022-09 + "codec": null, // Blink only as of 2024-08 + "scalabilityMode": null // Blink only as of 2024-08 } } }, diff --git a/package-lock.json b/package-lock.json index 0141fdbd3..0ab321914 100644 --- a/package-lock.json +++ b/package-lock.json @@ -819,9 +819,9 @@ } }, "node_modules/@webref/css": { - "version": "6.14.2", - "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.14.2.tgz", - "integrity": "sha512-iHItMjpRQb8kyw7GXInvUt3tnsO234Q40SKNAjMnKHLDwg0SnZgxgFX74oNBIIGoNesEZDReUFrGOLN2K9SW+w==", + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.15.0.tgz", + "integrity": "sha512-//ZqWI0EzygKAZkymT1nS47nI0fTEJ62dZuqIraQHapB4eivwglo2eZUbxTj4eLELAQMJJqvwB1v3gxKuWk+0g==", "dev": true, "license": "MIT", "peerDependencies": { @@ -835,9 +835,9 @@ "dev": true }, "node_modules/@webref/idl": { - "version": "3.52.2", - "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.52.2.tgz", - "integrity": "sha512-jZtnPi+tabsnFlBF5m/wVA1Chi/E/U6YIt+gD5wdhj955VccAbahEEWR1aqWVy8hWcr1XryBtw0XAye+0f+fTw==", + "version": "3.53.0", + "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.53.0.tgz", + "integrity": "sha512-aMNQsDIr1GMoV32n47bJH2CXSJXkGigzWJlfZNJf+QoQury2GSwPKjYk3qyiuXi0pHqKjsNSkWbE5lZ2ZlV9Kg==", "dev": true, "license": "MIT", "peerDependencies": {