From f25e486d9929805705da8f19843d306cf9114ef2 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Thu, 16 Apr 2026 21:15:02 -0700 Subject: [PATCH] Bump TypeScript to 6.0 and update devDependencies Updates @types/node to ^25.6.0, prettier to ^3.8.2, and typescript to ^6.0.2. TypeScript 6 no longer auto-includes @types packages, so tsconfig.json now sets "types": ["node", "jest"] explicitly. Co-Authored-By: Claude Opus 4.7 (1M context) --- package-lock.json | 38 +++++++++++++++++--------------------- package.json | 6 +++--- tsconfig.json | 3 ++- 3 files changed, 22 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index e3a0f1e..07287a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@types/jest": "^30.0.0", - "@types/node": "^25.5.2", + "@types/node": "^25.6.0", "@typescript-eslint/eslint-plugin": "^8.58.1", "@typescript-eslint/parser": "^8.58.1", "esbuild": "^0.28.0", @@ -22,9 +22,9 @@ "jest": "^30.3.0", "jest-circus": "^30.3.0", "js-yaml": "^4.1.1", - "prettier": "^3.8.1", + "prettier": "^3.8.2", "ts-jest": "^29.4.9", - "typescript": "^5.9.3" + "typescript": "^6.0.2" } }, "node_modules/@actions/core": { @@ -1908,13 +1908,12 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "25.5.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-25.5.2.tgz", - "integrity": "sha512-tO4ZIRKNC+MDWV4qKVZe3Ql/woTnmHDr5JD8UI5hn2pwBrHEwOEMZK7WlNb5RKB6EoJ02gwmQS9OrjuFnZYdpg==", + "version": "25.6.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz", + "integrity": "sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ==", "dev": true, - "license": "MIT", "dependencies": { - "undici-types": "~7.18.0" + "undici-types": "~7.19.0" } }, "node_modules/@types/stack-utils": { @@ -5119,11 +5118,10 @@ } }, "node_modules/prettier": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", - "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.3.tgz", + "integrity": "sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==", "dev": true, - "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, @@ -5766,11 +5764,10 @@ } }, "node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "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": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -5803,11 +5800,10 @@ } }, "node_modules/undici-types": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz", - "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==", - "dev": true, - "license": "MIT" + "version": "7.19.2", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.19.2.tgz", + "integrity": "sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg==", + "dev": true }, "node_modules/unrs-resolver": { "version": "1.11.1", diff --git a/package.json b/package.json index 66d1f43..a1c7b2e 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "devDependencies": { "@types/jest": "^30.0.0", - "@types/node": "^25.5.2", + "@types/node": "^25.6.0", "@typescript-eslint/eslint-plugin": "^8.58.1", "@typescript-eslint/parser": "^8.58.1", "esbuild": "^0.28.0", @@ -38,8 +38,8 @@ "jest": "^30.3.0", "jest-circus": "^30.3.0", "js-yaml": "^4.1.1", - "prettier": "^3.8.1", + "prettier": "^3.8.2", "ts-jest": "^29.4.9", - "typescript": "^5.9.3" + "typescript": "^6.0.2" } } diff --git a/tsconfig.json b/tsconfig.json index 8cc30c5..d19722e 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,8 @@ "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ "strict": true, /* Enable all strict type-checking options. */ "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "types": ["node", "jest"] }, "exclude": ["node_modules", "**/*.test.ts"] }