From: Chris Duncan Date: Thu, 2 Apr 2026 08:03:57 +0000 (-0700) Subject: Grab changelog from 4.1.8 and fix testing webpage. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=f7c1a7eddafefe55954f353014dffd3f24f90340;p=nano-pow.git Grab changelog from 4.1.8 and fix testing webpage. --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 91690e9..b12ee5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -226,6 +226,14 @@ Improved type checking and removed unnecessary type exports. Reorganized project structure. +## v4.1.8 + +### Notable Changes + +Pin published package versions from CDNs on testing page. + +Update domain name. + ## v4.1.7 ### Notable Changes diff --git a/test/index.html b/test/index.html index 98d48c0..be4d16e 100644 --- a/test/index.html +++ b/test/index.html @@ -29,8 +29,8 @@ SPDX-License-Identifier: GPL-3.0-or-later const glSize = (canvas => { const gl = canvas.getContext('webgl2') const MAX_VIEWPORT_DIMS = gl.getParameter(gl.MAX_VIEWPORT_DIMS) - canvas.height = MAX_VIEWPORT_DIMS[0] - canvas.width = MAX_VIEWPORT_DIMS[1] + canvas.height = MAX_VIEWPORT_DIMS?.[0] ?? 0x1000 + canvas.width = MAX_VIEWPORT_DIMS?.[1] ?? 0x1000 return Math.min(gl.drawingBufferHeight, gl.drawingBufferWidth) })(new OffscreenCanvas(0, 0))