]> git.codecow.com Git - nano-pow.git/commitdiff
Migrate from WebGPU working group types to built-in DOM types.
authorChris Duncan <chris@codecow.com>
Thu, 16 Jul 2026 04:02:18 +0000 (21:02 -0700)
committerChris Duncan <chris@codecow.com>
Thu, 16 Jul 2026 04:02:18 +0000 (21:02 -0700)
package-lock.json
package.json
tsconfig.json

index 9d916f4b393a8352677ae28ad6dab7f89804f390..770d81297e39c951352118c9455d345051d8bc1f 100644 (file)
                        },
                        "devDependencies": {
                                "@types/node": "^26.1.1",
-                               "@webgpu/types": "^0.1.71",
+                               "@typescript/lib-dom": "npm:@types/web@^0.0.352",
                                "assemblyscript": "^0.28.19",
                                "esbuild": "^0.28.1",
                                "esbuild-plugin-glsl": "^1.4.2",
-                               "typescript": "5.x"
+                               "typescript": "^7.0.2"
                        },
                        "funding": {
                                "type": "nano",
                                "undici-types": "~8.3.0"
                        }
                },
-               "node_modules/@webgpu/types": {
-                       "version": "0.1.71",
-                       "resolved": "https://registry.npmjs.org/@webgpu/types/-/types-0.1.71.tgz",
-                       "integrity": "sha512-mMy8/ODcKhab808co15eW+yN+HgXoQxRQHTiBV9Mrvl1r0ufnid7YOcI+gi4eUWSWl9ezD6TW2KXccrL8HCh2A==",
+               "node_modules/@typescript/lib-dom": {
+                       "name": "@types/web",
+                       "version": "0.0.352",
+                       "resolved": "https://registry.npmjs.org/@types/web/-/web-0.0.352.tgz",
+                       "integrity": "sha512-UOZDC0FwpYm4zgRK/98jFGXgRirawQYN2TIkhpFbTW4dbQie/GNHJ9uMwJ/BkFxPIhgAEdkIF3AE6qNVaJn1NA==",
                        "dev": true,
-                       "license": "BSD-3-Clause"
+                       "license": "Apache-2.0"
+               },
+               "node_modules/@typescript/typescript-aix-ppc64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-aix-ppc64/-/typescript-aix-ppc64-7.0.2.tgz",
+                       "integrity": "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==",
+                       "cpu": [
+                               "ppc64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "aix"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-darwin-arm64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-arm64/-/typescript-darwin-arm64-7.0.2.tgz",
+                       "integrity": "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==",
+                       "cpu": [
+                               "arm64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "darwin"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-darwin-x64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-x64/-/typescript-darwin-x64-7.0.2.tgz",
+                       "integrity": "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==",
+                       "cpu": [
+                               "x64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "darwin"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-freebsd-arm64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-arm64/-/typescript-freebsd-arm64-7.0.2.tgz",
+                       "integrity": "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==",
+                       "cpu": [
+                               "arm64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "freebsd"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-freebsd-x64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-x64/-/typescript-freebsd-x64-7.0.2.tgz",
+                       "integrity": "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==",
+                       "cpu": [
+                               "x64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "freebsd"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-linux-arm": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm/-/typescript-linux-arm-7.0.2.tgz",
+                       "integrity": "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==",
+                       "cpu": [
+                               "arm"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "linux"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-linux-arm64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm64/-/typescript-linux-arm64-7.0.2.tgz",
+                       "integrity": "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==",
+                       "cpu": [
+                               "arm64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "linux"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-linux-loong64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-loong64/-/typescript-linux-loong64-7.0.2.tgz",
+                       "integrity": "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==",
+                       "cpu": [
+                               "loong64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "linux"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-linux-mips64el": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-mips64el/-/typescript-linux-mips64el-7.0.2.tgz",
+                       "integrity": "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==",
+                       "cpu": [
+                               "mips64el"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "linux"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-linux-ppc64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-ppc64/-/typescript-linux-ppc64-7.0.2.tgz",
+                       "integrity": "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==",
+                       "cpu": [
+                               "ppc64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "linux"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-linux-riscv64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-riscv64/-/typescript-linux-riscv64-7.0.2.tgz",
+                       "integrity": "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==",
+                       "cpu": [
+                               "riscv64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "linux"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-linux-s390x": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-s390x/-/typescript-linux-s390x-7.0.2.tgz",
+                       "integrity": "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==",
+                       "cpu": [
+                               "s390x"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "linux"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-linux-x64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-x64/-/typescript-linux-x64-7.0.2.tgz",
+                       "integrity": "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==",
+                       "cpu": [
+                               "x64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "linux"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-netbsd-arm64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-arm64/-/typescript-netbsd-arm64-7.0.2.tgz",
+                       "integrity": "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==",
+                       "cpu": [
+                               "arm64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "netbsd"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-netbsd-x64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-x64/-/typescript-netbsd-x64-7.0.2.tgz",
+                       "integrity": "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==",
+                       "cpu": [
+                               "x64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "netbsd"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-openbsd-arm64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-arm64/-/typescript-openbsd-arm64-7.0.2.tgz",
+                       "integrity": "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==",
+                       "cpu": [
+                               "arm64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "openbsd"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-openbsd-x64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-x64/-/typescript-openbsd-x64-7.0.2.tgz",
+                       "integrity": "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==",
+                       "cpu": [
+                               "x64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "openbsd"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-sunos-x64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-sunos-x64/-/typescript-sunos-x64-7.0.2.tgz",
+                       "integrity": "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==",
+                       "cpu": [
+                               "x64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "sunos"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-win32-arm64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-arm64/-/typescript-win32-arm64-7.0.2.tgz",
+                       "integrity": "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==",
+                       "cpu": [
+                               "arm64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "win32"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
+               },
+               "node_modules/@typescript/typescript-win32-x64": {
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-x64/-/typescript-win32-x64-7.0.2.tgz",
+                       "integrity": "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==",
+                       "cpu": [
+                               "x64"
+                       ],
+                       "dev": true,
+                       "license": "Apache-2.0",
+                       "optional": true,
+                       "os": [
+                               "win32"
+                       ],
+                       "engines": {
+                               "node": ">=16.20.0"
+                       }
                },
                "node_modules/ansi-regex": {
                        "version": "6.2.2",
                        "optional": true
                },
                "node_modules/typescript": {
-                       "version": "5.9.3",
-                       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
-                       "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+                       "version": "7.0.2",
+                       "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz",
+                       "integrity": "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==",
                        "dev": true,
                        "license": "Apache-2.0",
                        "bin": {
-                               "tsc": "bin/tsc",
-                               "tsserver": "bin/tsserver"
+                               "tsc": "bin/tsc"
                        },
                        "engines": {
-                               "node": ">=14.17"
+                               "node": ">=16.20.0"
+                       },
+                       "optionalDependencies": {
+                               "@typescript/typescript-aix-ppc64": "7.0.2",
+                               "@typescript/typescript-darwin-arm64": "7.0.2",
+                               "@typescript/typescript-darwin-x64": "7.0.2",
+                               "@typescript/typescript-freebsd-arm64": "7.0.2",
+                               "@typescript/typescript-freebsd-x64": "7.0.2",
+                               "@typescript/typescript-linux-arm": "7.0.2",
+                               "@typescript/typescript-linux-arm64": "7.0.2",
+                               "@typescript/typescript-linux-loong64": "7.0.2",
+                               "@typescript/typescript-linux-mips64el": "7.0.2",
+                               "@typescript/typescript-linux-ppc64": "7.0.2",
+                               "@typescript/typescript-linux-riscv64": "7.0.2",
+                               "@typescript/typescript-linux-s390x": "7.0.2",
+                               "@typescript/typescript-linux-x64": "7.0.2",
+                               "@typescript/typescript-netbsd-arm64": "7.0.2",
+                               "@typescript/typescript-netbsd-x64": "7.0.2",
+                               "@typescript/typescript-openbsd-arm64": "7.0.2",
+                               "@typescript/typescript-openbsd-x64": "7.0.2",
+                               "@typescript/typescript-sunos-x64": "7.0.2",
+                               "@typescript/typescript-win32-arm64": "7.0.2",
+                               "@typescript/typescript-win32-x64": "7.0.2"
                        }
                },
                "node_modules/undici-types": {
                        }
                },
                "node_modules/ws": {
-                       "version": "8.21.0",
-                       "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
-                       "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+                       "version": "8.21.1",
+                       "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.1.tgz",
+                       "integrity": "sha512-+0NTnW77fFN/DjQi6k/Sq/Yvk4Sgajw7urW8V+asjXnRgDs9gyGkdb7EzgfhA4goXsRIZKE28fzIXBHEzhuiWw==",
                        "license": "MIT",
                        "optional": true,
                        "engines": {
index 4b659549e79511be593f047ee36311c09759d587..21eff476eb4caf252c780a78011c0780ad27bc83 100644 (file)
        },
        "devDependencies": {
                "@types/node": "^26.1.1",
-               "@webgpu/types": "^0.1.71",
+               "@typescript/lib-dom": "npm:@types/web@^0.0.352",
                "assemblyscript": "^0.28.19",
                "esbuild": "^0.28.1",
                "esbuild-plugin-glsl": "^1.4.2",
-               "typescript": "5.x"
+               "typescript": "^7.0.2"
        },
        "optionalDependencies": {
                "puppeteer": "^25.3.0"
index 2a30a033a8376d8c43d52aae39308637be5f0903..cdf9413aac923a0fc92abba61bf799e866cdd66c 100644 (file)
@@ -22,9 +22,9 @@
                        ]
                },
                "types": [
-                       "node",
-                       "@webgpu/types"
-               ]
+                       "node"
+               ],
+               "libReplacement": true
        },
        "include": [
                "src/index.ts",