diff --git a/package-lock.json b/package-lock.json index 15e4a80..9a4588d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "eslint": "^10.9.1", "globals": "^17.11.0", "prettier": "3.9.6", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "engines": { "node": ">=20" @@ -406,6 +406,7 @@ "version": "13.0.3", "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-13.0.3.tgz", "integrity": "sha512-RbOBxmLBG8uvFUc15X9+9SFemKcQ0WBuISBVkpuiaUB2qblC8UWlHEjdWVoZ8AdhSwmoEgsiXKfopX0CQxaACQ==", + "hasInstallScript": true, "license": "MIT", "dependencies": { "node-addon-api": "^8.0.0" @@ -2653,9 +2654,9 @@ } }, "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": { diff --git a/package.json b/package.json index 538360a..f87d803 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,6 @@ "eslint": "^10.9.1", "globals": "^17.11.0", "prettier": "3.9.6", - "typescript": "^5.9.3" + "typescript": "^6.0.3" } } diff --git a/tsconfig.json b/tsconfig.json index e98c2d8..425463e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,6 +12,9 @@ "moduleResolution": "bundler", "module": "preserve", "skipLibCheck": true, + // TS 6 turns strictness on by default; this checkJs gate was written + // non-strict on TS 5 — keep that contract explicit rather than implicit. + "strict": false, "types": ["node"] }, "include": ["server.js", "lib/**/*.js", "public/**/*.js", "scripts/**/*.mjs"],