From 02ebf94b7dd2fb9b880969c69b96b58f4b13cb96 Mon Sep 17 00:00:00 2001 From: orta <49038+orta@users.noreply.github.com> Date: Sat, 15 Feb 2025 08:10:18 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A4=96=20Update=20core=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- baselines/dom.generated.d.ts | 4 ++++ baselines/ts5.5/dom.generated.d.ts | 4 ++++ package-lock.json | 18 +++++++++--------- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 8c124ade6..a82dc22b4 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -272,6 +272,7 @@ interface CacheQueryOptions { interface CanvasRenderingContext2DSettings { alpha?: boolean; colorSpace?: PredefinedColorSpace; + colorType?: CanvasColorType; desynchronized?: boolean; willReadFrequently?: boolean; } @@ -2016,6 +2017,7 @@ interface SVGBoundingBoxOptions { interface ScrollIntoViewOptions extends ScrollOptions { block?: ScrollLogicalPosition; + container?: ScrollIntoViewContainer; inline?: ScrollLogicalPosition; } @@ -29644,6 +29646,7 @@ type BitrateMode = "constant" | "variable"; type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum"; type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time"; type CanPlayTypeResult = "" | "maybe" | "probably"; +type CanvasColorType = "float16" | "unorm8"; type CanvasDirection = "inherit" | "ltr" | "rtl"; type CanvasFillRule = "evenodd" | "nonzero"; type CanvasFontKerning = "auto" | "none" | "normal"; @@ -29781,6 +29784,7 @@ type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-con type ResizeQuality = "high" | "low" | "medium" | "pixelated"; type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect"; type ScrollBehavior = "auto" | "instant" | "smooth"; +type ScrollIntoViewContainer = "all" | "nearest"; type ScrollLogicalPosition = "center" | "end" | "nearest" | "start"; type ScrollRestoration = "auto" | "manual"; type ScrollSetting = "" | "up"; diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 358db8706..9ac1d090f 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -272,6 +272,7 @@ interface CacheQueryOptions { interface CanvasRenderingContext2DSettings { alpha?: boolean; colorSpace?: PredefinedColorSpace; + colorType?: CanvasColorType; desynchronized?: boolean; willReadFrequently?: boolean; } @@ -2016,6 +2017,7 @@ interface SVGBoundingBoxOptions { interface ScrollIntoViewOptions extends ScrollOptions { block?: ScrollLogicalPosition; + container?: ScrollIntoViewContainer; inline?: ScrollLogicalPosition; } @@ -29622,6 +29624,7 @@ type BitrateMode = "constant" | "variable"; type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum"; type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time"; type CanPlayTypeResult = "" | "maybe" | "probably"; +type CanvasColorType = "float16" | "unorm8"; type CanvasDirection = "inherit" | "ltr" | "rtl"; type CanvasFillRule = "evenodd" | "nonzero"; type CanvasFontKerning = "auto" | "none" | "normal"; @@ -29759,6 +29762,7 @@ type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-con type ResizeQuality = "high" | "low" | "medium" | "pixelated"; type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect"; type ScrollBehavior = "auto" | "instant" | "smooth"; +type ScrollIntoViewContainer = "all" | "nearest"; type ScrollLogicalPosition = "center" | "end" | "nearest" | "start"; type ScrollRestoration = "auto" | "manual"; type ScrollSetting = "" | "up"; diff --git a/package-lock.json b/package-lock.json index 79e0f6491..4d6bcaa9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -338,9 +338,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "5.6.37", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.6.37.tgz", - "integrity": "sha512-rzlUUSgxSc4mjfNDzVXg7vxjacefyoM/LkvbAL5MLgEDL7CMa/Fu+rASR1v2JqiZtDcPBBbQxnk0BqgOKQfAPQ==", + "version": "5.6.39", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.6.39.tgz", + "integrity": "sha512-I1hQdh954CCzYdu45u/UzO8feeOxqSGFj8BQkQzVN7amWiIy8byg3xXPY3DjNjiMMtsxz1y+HhcKlLUTfoJ/kA==", "dev": true, "license": "CC0-1.0" }, @@ -841,9 +841,9 @@ } }, "node_modules/@webref/css": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.19.1.tgz", - "integrity": "sha512-7wnBV0V2DCxsw4AS0GBIOw1jwViJ7BZ89NZaQsJ2i2b4y6Vv5BKo/oI9Fiqomakt33rR7ug/SnRv1vL/FlZFOQ==", + "version": "6.20.1", + "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.20.1.tgz", + "integrity": "sha512-LnoHHumaI5Yy4dghJzwpDESiwwpDd7Ue7ystdlzTnVTZo9FLxMqN+inlwussx+fIRV7q+LA1PN2rDTywAL7omg==", "dev": true, "license": "MIT", "peerDependencies": { @@ -865,9 +865,9 @@ "license": "MIT" }, "node_modules/@webref/idl": { - "version": "3.59.3", - "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.59.3.tgz", - "integrity": "sha512-h64zhGlsoF06pETZHvwr+nOsFL1s4U+OJKu82bYdoIw2mW6bV0KvfNPIyYDvdui+EZjSTLmKqCbjqgcZ2vUMdg==", + "version": "3.59.4", + "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.59.4.tgz", + "integrity": "sha512-ErC+apyJw0AwbgefsqI1MAU5za/gImxVztzGVzDafl1mIGpEBJEu9XMOge5tG9xMZfUUPfRiphohV2VroWXvHQ==", "dev": true, "license": "MIT", "peerDependencies": { From 1b4955e84877bd19593133af656a88d052a7edb4 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Sat, 15 Feb 2025 16:21:04 +0100 Subject: [PATCH 2/2] remove unsupported types --- baselines/dom.generated.d.ts | 5 +---- baselines/ts5.5/dom.generated.d.ts | 5 +---- inputfiles/removedTypes.jsonc | 11 +++++++++-- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index a82dc22b4..5f5714d1c 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -272,7 +272,6 @@ interface CacheQueryOptions { interface CanvasRenderingContext2DSettings { alpha?: boolean; colorSpace?: PredefinedColorSpace; - colorType?: CanvasColorType; desynchronized?: boolean; willReadFrequently?: boolean; } @@ -2017,7 +2016,6 @@ interface SVGBoundingBoxOptions { interface ScrollIntoViewOptions extends ScrollOptions { block?: ScrollLogicalPosition; - container?: ScrollIntoViewContainer; inline?: ScrollLogicalPosition; } @@ -2046,6 +2044,7 @@ interface SecurityPolicyViolationEventInit extends EventInit { } interface ShadowRootInit { + clonable?: boolean; delegatesFocus?: boolean; mode: ShadowRootMode; serializable?: boolean; @@ -29646,7 +29645,6 @@ type BitrateMode = "constant" | "variable"; type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum"; type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time"; type CanPlayTypeResult = "" | "maybe" | "probably"; -type CanvasColorType = "float16" | "unorm8"; type CanvasDirection = "inherit" | "ltr" | "rtl"; type CanvasFillRule = "evenodd" | "nonzero"; type CanvasFontKerning = "auto" | "none" | "normal"; @@ -29784,7 +29782,6 @@ type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-con type ResizeQuality = "high" | "low" | "medium" | "pixelated"; type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect"; type ScrollBehavior = "auto" | "instant" | "smooth"; -type ScrollIntoViewContainer = "all" | "nearest"; type ScrollLogicalPosition = "center" | "end" | "nearest" | "start"; type ScrollRestoration = "auto" | "manual"; type ScrollSetting = "" | "up"; diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 9ac1d090f..5bebf9b5c 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -272,7 +272,6 @@ interface CacheQueryOptions { interface CanvasRenderingContext2DSettings { alpha?: boolean; colorSpace?: PredefinedColorSpace; - colorType?: CanvasColorType; desynchronized?: boolean; willReadFrequently?: boolean; } @@ -2017,7 +2016,6 @@ interface SVGBoundingBoxOptions { interface ScrollIntoViewOptions extends ScrollOptions { block?: ScrollLogicalPosition; - container?: ScrollIntoViewContainer; inline?: ScrollLogicalPosition; } @@ -2046,6 +2044,7 @@ interface SecurityPolicyViolationEventInit extends EventInit { } interface ShadowRootInit { + clonable?: boolean; delegatesFocus?: boolean; mode: ShadowRootMode; serializable?: boolean; @@ -29624,7 +29623,6 @@ type BitrateMode = "constant" | "variable"; type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum"; type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time"; type CanPlayTypeResult = "" | "maybe" | "probably"; -type CanvasColorType = "float16" | "unorm8"; type CanvasDirection = "inherit" | "ltr" | "rtl"; type CanvasFillRule = "evenodd" | "nonzero"; type CanvasFontKerning = "auto" | "none" | "normal"; @@ -29762,7 +29760,6 @@ type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-con type ResizeQuality = "high" | "low" | "medium" | "pixelated"; type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect"; type ScrollBehavior = "auto" | "instant" | "smooth"; -type ScrollIntoViewContainer = "all" | "nearest"; type ScrollLogicalPosition = "center" | "end" | "nearest" | "start"; type ScrollRestoration = "auto" | "manual"; type ScrollSetting = "" | "up"; diff --git a/inputfiles/removedTypes.jsonc b/inputfiles/removedTypes.jsonc index 951067278..41315b5fa 100644 --- a/inputfiles/removedTypes.jsonc +++ b/inputfiles/removedTypes.jsonc @@ -284,6 +284,13 @@ } } }, + "CanvasRenderingContext2DSettings": { + "members": { + "member": { + "colorType": null // No implementation as of 2025-02 + } + } + }, "CredentialCreationOptions": { "members": { "member": { @@ -757,10 +764,10 @@ } } }, - "ShadowRootInit": { + "ScrollIntoViewOptions": { "members": { "member": { - "clonable": null // WebKit only as of 2023-11 + "container": null // No implementation as of 2025-02 } } },