From cab3c2dedec51425febc79850af98a0fa62df98f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 03:09:33 +0000 Subject: [PATCH 1/2] chore(deps-dev): Bump typescript from 5.9.3 to 6.0.3 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v6.0.3) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 ++++-- package.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0d9e91b..362cfb7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "pngjs": "^7.0.0", "prettier": "^3.8.1", "tsx": "^4.0.0", - "typescript": "^5.8.0", + "typescript": "^6.0.3", "vitest": "^4.0.18" } }, @@ -6372,7 +6372,9 @@ } }, "node_modules/typescript": { - "version": "5.9.3", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index adf0c46..ae68553 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "pngjs": "^7.0.0", "prettier": "^3.8.1", "tsx": "^4.0.0", - "typescript": "^5.8.0", + "typescript": "^6.0.3", "vitest": "^4.0.18" } } From 4628fefaf7407dd08f00e74b9e72d9f8587cff66 Mon Sep 17 00:00:00 2001 From: Simon Davies Date: Mon, 1 Jun 2026 10:35:57 +0100 Subject: [PATCH 2/2] fix(build): TypeScript 6.0 compat for module/plugin tsconfigs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - builtin-modules: drop deprecated `baseUrl` (TS5101 under TS6; paths are already relative so resolution is unaffected) - plugins: add explicit `types: ["node"]` — TS6 no longer auto-includes @types/node for the bundler-resolution plugin build, which broke node:* imports, Buffer, NodeJS namespace and setTimeout().unref() Signed-off-by: Simon Davies --- builtin-modules/tsconfig.json | 1 - plugins/tsconfig.json | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin-modules/tsconfig.json b/builtin-modules/tsconfig.json index 1f0b5fc..e76c23d 100644 --- a/builtin-modules/tsconfig.json +++ b/builtin-modules/tsconfig.json @@ -13,7 +13,6 @@ "noEmitOnError": true, "skipLibCheck": true, "typeRoots": ["src/types"], - "baseUrl": ".", "paths": { "ha:doc-core": ["./src/doc-core.ts"], "ha:ooxml-core": ["./src/ooxml-core.ts"], diff --git a/plugins/tsconfig.json b/plugins/tsconfig.json index 53326a9..7380e5f 100644 --- a/plugins/tsconfig.json +++ b/plugins/tsconfig.json @@ -13,6 +13,7 @@ "noEmitOnError": true, "skipLibCheck": true, "esModuleInterop": true, + "types": ["node"], "paths": { "../../src/plugin-system/schema-types.js": ["../plugin-schema-types.ts"] }