From c758bb9d9ee5e52b4d167a47629c6dd6e4a84e5e Mon Sep 17 00:00:00 2001 From: Ib Green Date: Sun, 23 Jul 2023 12:28:42 -0400 Subject: [PATCH] chore: Upgrade typescript and WebGPU typings (#1768) --- docs/tutorials/README.mdx | 4 +- .../api-v8/program-management/package.json | 2 +- examples-wip/api-v8/stress-test/package.json | 2 +- examples-wip/notready/dof/package.json | 2 +- examples-wip/notready/geospatial/package.json | 2 +- examples-wip/notready/gltf/package.json | 2 +- .../notready/instanced-transform/package.json | 2 +- .../notready/transform-feedback/package.json | 2 +- examples-wip/notready/wandering/package.json | 2 +- .../webgl/external-webgl-context/package.json | 2 +- .../webgl/hello-instancing-webgl/package.json | 2 +- .../webgl/shader-modules-webgl/package.json | 2 +- examples/api/animation/package.json | 2 +- examples/api/cubemap/package.json | 2 +- examples/api/texture-3d/package.json | 2 +- .../getting-started/hello-cube/package.json | 2 +- .../hello-instancing/package.json | 2 +- .../hello-triangle/package.json | 2 +- .../getting-started/lighting/package.json | 2 +- .../getting-started/shader-hooks/package.json | 2 +- .../shader-modules/package.json | 2 +- examples/showcase/instancing/package.json | 2 +- examples/showcase/persistence/package.json | 2 +- examples/webgpu/computeboids/package.json | 2 +- examples/webgpu/hello-triangle/package.json | 2 +- examples/webgpu/instanced-cubes/package.json | 2 +- examples/webgpu/rotating-cube/package.json | 2 +- examples/webgpu/textured-cube/package.json | 2 +- examples/webgpu/two-cubes/package.json | 2 +- .../context/context/create-browser-context.ts | 67 ++++++++++--------- modules/webgpu/package.json | 2 +- modules/webgpu/src/adapter/webgpu-device.ts | 3 +- modules/webgpu/tsconfig.json | 1 + package.json | 1 + yarn.lock | 18 ++--- 35 files changed, 81 insertions(+), 71 deletions(-) diff --git a/docs/tutorials/README.mdx b/docs/tutorials/README.mdx index e984cca66e..8bafb66284 100644 --- a/docs/tutorials/README.mdx +++ b/docs/tutorials/README.mdx @@ -43,7 +43,7 @@ Open the file `package.json` (created when we initialized npm), and add the foll "@luma.gl/webgl": "^9.0.0", }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^2.6.4" } } @@ -69,7 +69,7 @@ The full contents of the `package.json` should be the following (dependency vers "@luma.gl/webgl": "^9.0.0", }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^2.6.4" } } diff --git a/examples-wip/api-v8/program-management/package.json b/examples-wip/api-v8/program-management/package.json index dfe832c6c1..b00c432c8e 100644 --- a/examples-wip/api-v8/program-management/package.json +++ b/examples-wip/api-v8/program-management/package.json @@ -15,7 +15,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples-wip/api-v8/stress-test/package.json b/examples-wip/api-v8/stress-test/package.json index 74c36bea68..750c6caa36 100644 --- a/examples-wip/api-v8/stress-test/package.json +++ b/examples-wip/api-v8/stress-test/package.json @@ -20,7 +20,7 @@ "@probe.gl/stats-widget": "^4.0.0" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples-wip/notready/dof/package.json b/examples-wip/notready/dof/package.json index c7f5379c07..93823691c2 100644 --- a/examples-wip/notready/dof/package.json +++ b/examples-wip/notready/dof/package.json @@ -20,7 +20,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples-wip/notready/geospatial/package.json b/examples-wip/notready/geospatial/package.json index e9ec024157..4dafb674f4 100644 --- a/examples-wip/notready/geospatial/package.json +++ b/examples-wip/notready/geospatial/package.json @@ -14,7 +14,7 @@ "mapbox-gl": "^1.2.1" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples-wip/notready/gltf/package.json b/examples-wip/notready/gltf/package.json index 1db1340555..1f7b234f7b 100644 --- a/examples-wip/notready/gltf/package.json +++ b/examples-wip/notready/gltf/package.json @@ -23,7 +23,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples-wip/notready/instanced-transform/package.json b/examples-wip/notready/instanced-transform/package.json index 4b85b88757..086418b56e 100644 --- a/examples-wip/notready/instanced-transform/package.json +++ b/examples-wip/notready/instanced-transform/package.json @@ -15,7 +15,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples-wip/notready/transform-feedback/package.json b/examples-wip/notready/transform-feedback/package.json index c3fdced77a..a476d7212a 100644 --- a/examples-wip/notready/transform-feedback/package.json +++ b/examples-wip/notready/transform-feedback/package.json @@ -13,7 +13,7 @@ "@luma.gl/webgl-legacy": "9.0.0-alpha.21" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples-wip/notready/wandering/package.json b/examples-wip/notready/wandering/package.json index 044e74da85..df9c93d045 100644 --- a/examples-wip/notready/wandering/package.json +++ b/examples-wip/notready/wandering/package.json @@ -15,7 +15,7 @@ "@probe.gl/log": "^4.0.0" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples-wip/webgl/external-webgl-context/package.json b/examples-wip/webgl/external-webgl-context/package.json index 9c2bd3679e..213b6de449 100644 --- a/examples-wip/webgl/external-webgl-context/package.json +++ b/examples-wip/webgl/external-webgl-context/package.json @@ -12,7 +12,7 @@ "@luma.gl/webgl": "9.0.0-alpha.21" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples-wip/webgl/hello-instancing-webgl/package.json b/examples-wip/webgl/hello-instancing-webgl/package.json index 998ded1128..c519ffc338 100644 --- a/examples-wip/webgl/hello-instancing-webgl/package.json +++ b/examples-wip/webgl/hello-instancing-webgl/package.json @@ -12,7 +12,7 @@ "@luma.gl/webgl": "9.0.0-alpha.21" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples-wip/webgl/shader-modules-webgl/package.json b/examples-wip/webgl/shader-modules-webgl/package.json index fbc85f990d..06f1747034 100644 --- a/examples-wip/webgl/shader-modules-webgl/package.json +++ b/examples-wip/webgl/shader-modules-webgl/package.json @@ -13,7 +13,7 @@ "@luma.gl/webgl": "9.0.0-alpha.21" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/api/animation/package.json b/examples/api/animation/package.json index d4898ada57..74b6107010 100644 --- a/examples/api/animation/package.json +++ b/examples/api/animation/package.json @@ -14,7 +14,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/api/cubemap/package.json b/examples/api/cubemap/package.json index c8a385c39a..e7ee82d20d 100644 --- a/examples/api/cubemap/package.json +++ b/examples/api/cubemap/package.json @@ -15,7 +15,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/api/texture-3d/package.json b/examples/api/texture-3d/package.json index df40416298..9ccde86225 100644 --- a/examples/api/texture-3d/package.json +++ b/examples/api/texture-3d/package.json @@ -13,7 +13,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/getting-started/hello-cube/package.json b/examples/getting-started/hello-cube/package.json index 8061600039..39e4264cea 100644 --- a/examples/getting-started/hello-cube/package.json +++ b/examples/getting-started/hello-cube/package.json @@ -14,7 +14,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/getting-started/hello-instancing/package.json b/examples/getting-started/hello-instancing/package.json index d91ff1ab4a..91a14973df 100644 --- a/examples/getting-started/hello-instancing/package.json +++ b/examples/getting-started/hello-instancing/package.json @@ -12,7 +12,7 @@ "@luma.gl/webgl": "9.0.0-alpha.21" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/getting-started/hello-triangle/package.json b/examples/getting-started/hello-triangle/package.json index e888f18e76..471afdd632 100644 --- a/examples/getting-started/hello-triangle/package.json +++ b/examples/getting-started/hello-triangle/package.json @@ -13,7 +13,7 @@ "@luma.gl/webgl-legacy": "9.0.0-alpha.21" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/getting-started/lighting/package.json b/examples/getting-started/lighting/package.json index a7885cd917..4724f54149 100644 --- a/examples/getting-started/lighting/package.json +++ b/examples/getting-started/lighting/package.json @@ -15,7 +15,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/getting-started/shader-hooks/package.json b/examples/getting-started/shader-hooks/package.json index c666afb44b..38e4549366 100644 --- a/examples/getting-started/shader-hooks/package.json +++ b/examples/getting-started/shader-hooks/package.json @@ -13,7 +13,7 @@ "@luma.gl/webgl": "9.0.0-alpha.21" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/getting-started/shader-modules/package.json b/examples/getting-started/shader-modules/package.json index 765a6d537f..28348ffbd6 100644 --- a/examples/getting-started/shader-modules/package.json +++ b/examples/getting-started/shader-modules/package.json @@ -13,7 +13,7 @@ "@luma.gl/webgl-legacy": "9.0.0-alpha.21" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/showcase/instancing/package.json b/examples/showcase/instancing/package.json index e6a878a34b..1b6e468231 100644 --- a/examples/showcase/instancing/package.json +++ b/examples/showcase/instancing/package.json @@ -15,7 +15,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/showcase/persistence/package.json b/examples/showcase/persistence/package.json index 6213075580..73d2b96dcb 100644 --- a/examples/showcase/persistence/package.json +++ b/examples/showcase/persistence/package.json @@ -16,7 +16,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/webgpu/computeboids/package.json b/examples/webgpu/computeboids/package.json index 15c2d4f44a..ba056c5dbb 100644 --- a/examples/webgpu/computeboids/package.json +++ b/examples/webgpu/computeboids/package.json @@ -14,7 +14,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4", "vite-plugin-string": "^1.1.1" } diff --git a/examples/webgpu/hello-triangle/package.json b/examples/webgpu/hello-triangle/package.json index 5036ef0b61..574584e82b 100644 --- a/examples/webgpu/hello-triangle/package.json +++ b/examples/webgpu/hello-triangle/package.json @@ -14,7 +14,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/webgpu/instanced-cubes/package.json b/examples/webgpu/instanced-cubes/package.json index d3f24ca407..eb6610e049 100644 --- a/examples/webgpu/instanced-cubes/package.json +++ b/examples/webgpu/instanced-cubes/package.json @@ -14,7 +14,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/webgpu/rotating-cube/package.json b/examples/webgpu/rotating-cube/package.json index 3e7ed66aa5..5329e487d3 100644 --- a/examples/webgpu/rotating-cube/package.json +++ b/examples/webgpu/rotating-cube/package.json @@ -14,7 +14,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/webgpu/textured-cube/package.json b/examples/webgpu/textured-cube/package.json index 1d69c819f7..e7cf0683d4 100644 --- a/examples/webgpu/textured-cube/package.json +++ b/examples/webgpu/textured-cube/package.json @@ -14,7 +14,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/examples/webgpu/two-cubes/package.json b/examples/webgpu/two-cubes/package.json index 96239675dd..46c1e496d1 100644 --- a/examples/webgpu/two-cubes/package.json +++ b/examples/webgpu/two-cubes/package.json @@ -13,7 +13,7 @@ "@math.gl/core": "4.0.0-alpha.4" }, "devDependencies": { - "typescript": "^4.3.2", + "typescript": "^5.1.6", "vite": "^3.2.4" } } diff --git a/modules/webgl/src/context/context/create-browser-context.ts b/modules/webgl/src/context/context/create-browser-context.ts index f338b46062..a47e396eea 100644 --- a/modules/webgl/src/context/context/create-browser-context.ts +++ b/modules/webgl/src/context/context/create-browser-context.ts @@ -2,21 +2,21 @@ /** * ContextProps -* @param webgl2 Set to false to not create a WebGL2 context (force webgl1) -* @param webgl1 set to false to not create a WebGL1 context (fail if webgl2 not available) -* @param onContextLost -* @param onContextRestored -* -* BROWSER CONTEXT PARAMETERS -* @param debug Instrument context (at the expense of performance). -* @param alpha Default render target has an alpha buffer. -* @param depth Default render target has a depth buffer of at least 16 bits. -* @param stencil Default render target has a stencil buffer of at least 8 bits. -* @param antialias Boolean that indicates whether or not to perform anti-aliasing. -* @param premultipliedAlpha Boolean that indicates that the page compositor will assume the drawing buffer contains colors with pre-multiplied alpha. -* @param preserveDrawingBuffer Default render target buffers will not be automatically cleared and will preserve their values until cleared or overwritten -* @param failIfMajorPerformanceCaveat Do not create if the system performance is low. -*/ + * @param webgl2 Set to false to not create a WebGL2 context (force webgl1) + * @param webgl1 set to false to not create a WebGL1 context (fail if webgl2 not available) + * @param onContextLost + * @param onContextRestored + * + * BROWSER CONTEXT PARAMETERS + * @param debug Instrument context (at the expense of performance). + * @param alpha Default render target has an alpha buffer. + * @param depth Default render target has a depth buffer of at least 16 bits. + * @param stencil Default render target has a stencil buffer of at least 8 bits. + * @param antialias Boolean that indicates whether or not to perform anti-aliasing. + * @param premultipliedAlpha Boolean that indicates that the page compositor will assume the drawing buffer contains colors with pre-multiplied alpha. + * @param preserveDrawingBuffer Default render target buffers will not be automatically cleared and will preserve their values until cleared or overwritten + * @param failIfMajorPerformanceCaveat Do not create if the system performance is low. + */ type ContextProps = { type?: 'webgl' | 'webgl1' | 'webgl2' | string; webgl1?: boolean; @@ -27,10 +27,10 @@ type ContextProps = { desynchronized?: boolean; // hints the user agent to reduce the latency by desynchronizing the canvas paint cycle from the event loop antialias?: boolean; // indicates whether or not to perform anti-aliasing. depth?: boolean; // indicates that the drawing buffer has a depth buffer of at least 16 bits. - failIfMajorPerformanceCaveat?: boolean, // indicates if a context will be created if the system performance is low or if no hardware GPU is available. - powerPreference?: 'default' | 'high-performance' | 'low-power', - premultipliedAlpha?: boolean, // page compositor will assume the drawing buffer contains colors with pre-multiplied alpha. - preserveDrawingBuffer?: boolean // buffers will not be cleared and will preserve their values until cleared or overwritten by the author. + failIfMajorPerformanceCaveat?: boolean; // indicates if a context will be created if the system performance is low or if no hardware GPU is available. + powerPreference?: 'default' | 'high-performance' | 'low-power'; + premultipliedAlpha?: boolean; // page compositor will assume the drawing buffer contains colors with pre-multiplied alpha. + preserveDrawingBuffer?: boolean; // buffers will not be cleared and will preserve their values until cleared or overwritten by the author. }; const DEFAULT_CONTEXT_PROPS: ContextProps = { @@ -40,24 +40,27 @@ const DEFAULT_CONTEXT_PROPS: ContextProps = { // eslint-disable-next-line no-console onContextLost: () => console.error('WebGL context lost'), // eslint-disable-next-line no-console - onContextRestored: () => console.info('WebGL context restored'), + onContextRestored: () => console.info('WebGL context restored') }; /** * Create a WebGL context for a canvas * Note calling this multiple time on the same canvas does return the same context -* @param canvas A canvas element or offscreen canvas + * @param canvas A canvas element or offscreen canvas */ -export function createBrowserContext(canvas: HTMLCanvasElement | OffscreenCanvas, props: ContextProps): WebGLRenderingContext { +export function createBrowserContext( + canvas: HTMLCanvasElement | OffscreenCanvas, + props: ContextProps +): WebGLRenderingContext { props = {...DEFAULT_CONTEXT_PROPS, ...props}; // Try to extract any extra information about why context creation failed let errorMessage = null; - const onCreateError = (error) => (errorMessage = error.statusMessage || errorMessage); + const onCreateError = error => (errorMessage = error.statusMessage || errorMessage); canvas.addEventListener('webglcontextcreationerror', onCreateError, false); // Create the desired context - let gl: WebGLRenderingContext | null = null; + let gl: WebGLRenderingContext | WebGL2RenderingContext | null = null; if (props.type === 'webgl2') { props = {...props, webgl1: false}; @@ -67,11 +70,11 @@ export function createBrowserContext(canvas: HTMLCanvasElement | OffscreenCanvas } // Prefer webgl2 over webgl1 if both are acceptable - if (props.webgl2) { - gl = gl || canvas.getContext('webgl2', props) ; + if (!gl && props.webgl2) { + gl = canvas.getContext('webgl2', props) as WebGL2RenderingContext; } - if (props.webgl1) { - gl = gl || canvas.getContext('webgl', props) ; + if (!gl && props.webgl1) { + gl = canvas.getContext('webgl', props) as WebGLRenderingContext; } // TODO are we removing this listener before giving it a chance to fire? @@ -88,12 +91,16 @@ export function createBrowserContext(canvas: HTMLCanvasElement | OffscreenCanvas if (props.onContextLost) { // Carefully extract and wrap callbacks to prevent addEventListener from rebinding them. const {onContextLost} = props; - canvas.addEventListener('webglcontextlost',(event: Event) => onContextLost(event), false); + canvas.addEventListener('webglcontextlost', (event: Event) => onContextLost(event), false); } if (props.onContextRestored) { // Carefully extract and wrap callbacks to prevent addEventListener from rebinding them. const {onContextRestored} = props; - canvas.addEventListener('webglcontextrestored', (event: Event) => onContextRestored(event), false); + canvas.addEventListener( + 'webglcontextrestored', + (event: Event) => onContextRestored(event), + false + ); } return gl; diff --git a/modules/webgpu/package.json b/modules/webgpu/package.json index 1e4ef3608f..294f524ec5 100644 --- a/modules/webgpu/package.json +++ b/modules/webgpu/package.json @@ -39,7 +39,7 @@ "@babel/runtime": "^7.0.0", "@luma.gl/api": "9.0.0-alpha.23", "@probe.gl/env": "^4.0.2", - "@webgpu/types": "^0.1.31" + "@webgpu/types": "^0.1.34" }, "gitHead": "c636c34b8f1581eed163e94543a8eb1f4382ba8e" } diff --git a/modules/webgpu/src/adapter/webgpu-device.ts b/modules/webgpu/src/adapter/webgpu-device.ts index 09b3dad61f..c5288fce5a 100644 --- a/modules/webgpu/src/adapter/webgpu-device.ts +++ b/modules/webgpu/src/adapter/webgpu-device.ts @@ -72,7 +72,8 @@ export class WebGPUDevice extends Device { throw new Error('Failed to request WebGPU adapter'); } - log.probe(1, 'Adapter available')(); + const adapterInfo = await adapter.requestAdapterInfo(); + log.probe(1, 'Adapter available', adapterInfo)(); const gpuDevice = await adapter.requestDevice({ requiredFeatures: adapter.features as ReadonlySet diff --git a/modules/webgpu/tsconfig.json b/modules/webgpu/tsconfig.json index dee1844eaf..269df9dc7a 100644 --- a/modules/webgpu/tsconfig.json +++ b/modules/webgpu/tsconfig.json @@ -3,6 +3,7 @@ "include": ["src/**/*"], "exclude": ["node_modules"], "compilerOptions": { + "typeRoots": ["../../node_modules/@webgpu/types"], "noImplicitAny": false, "strictNullChecks": false, "composite": true, diff --git a/package.json b/package.json index 6317b4941c..5c3b06fb26 100644 --- a/package.json +++ b/package.json @@ -67,6 +67,7 @@ "escaper": "v2 has an invalid main field in package.json, breaks esbuild during browser test" }, "resolutions": { + "typescript": "^5.1.6", "escaper": "3.0.6" }, "pre-commit": [ diff --git a/yarn.lock b/yarn.lock index 1e6a63616d..ddd9cb3e91 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2819,10 +2819,10 @@ "@typescript-eslint/types" "4.33.0" eslint-visitor-keys "^2.0.0" -"@webgpu/types@^0.1.31": - version "0.1.31" - resolved "https://registry.yarnpkg.com/@webgpu/types/-/types-0.1.31.tgz#b0c1074083735ad206d1798c9609a237096acfef" - integrity sha512-ozP2mEPjnJvtE7Q8Fz0/FnW00gcM0ySV+hi/Q+ddLX/hQk4xoaRT1NtQQVSS3mbEUWkVC5pizEkwS40qe0GK+g== +"@webgpu/types@^0.1.34": + version "0.1.34" + resolved "https://registry.yarnpkg.com/@webgpu/types/-/types-0.1.34.tgz#4537c9cae874a63ef79d7afdc2c36a792581d4ad" + integrity sha512-9mXtH+CC8q+Ku7Z+1XazNIte81FvfdXwR2lLRO7Ykzjd/hh1J1krJa0gtnkF1kvP11psUmKEPKo7iMTeEcUpNA== "@xmldom/xmldom@^0.7.5": version "0.7.10" @@ -4903,7 +4903,7 @@ eslint-plugin-jsx-a11y@^6.1.2: semver "^6.3.0" "eslint-plugin-luma-gl-custom-rules@file:./dev-modules/eslint-plugin-luma-gl-custom-rules": - version "9.0.0-alpha.21" + version "9.0.0-alpha.23" eslint-plugin-markdown@^2.2.0: version "2.2.1" @@ -10266,10 +10266,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@~4.6.0: - version "4.6.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" - integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== +typescript@^5.1.6, typescript@~4.6.0: + version "5.1.6" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274" + integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA== uglify-js@^3.1.4: version "3.17.4"