diff --git a/functions-templates/typescript/database-drizzle/package-lock.json b/functions-templates/typescript/database-drizzle/package-lock.json index 64a2366d52d..19184659b15 100644 --- a/functions-templates/typescript/database-drizzle/package-lock.json +++ b/functions-templates/typescript/database-drizzle/package-lock.json @@ -13,7 +13,7 @@ "@netlify/functions": "^5.2.0", "@types/node": "^22.0.0", "drizzle-orm": "beta", - "typescript": "^4.5.5" + "typescript": "^6.0.0" } }, "node_modules/@neondatabase/serverless": { @@ -380,16 +380,16 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/undici-types": { diff --git a/functions-templates/typescript/database-drizzle/package.json b/functions-templates/typescript/database-drizzle/package.json index 98541d95f67..45d414b5763 100644 --- a/functions-templates/typescript/database-drizzle/package.json +++ b/functions-templates/typescript/database-drizzle/package.json @@ -20,6 +20,6 @@ "@netlify/functions": "^5.2.0", "@types/node": "^22.0.0", "drizzle-orm": "beta", - "typescript": "^4.5.5" + "typescript": "^6.0.0" } } diff --git a/functions-templates/typescript/database/package-lock.json b/functions-templates/typescript/database/package-lock.json index cfaee629d28..27f97f2e92f 100644 --- a/functions-templates/typescript/database/package-lock.json +++ b/functions-templates/typescript/database/package-lock.json @@ -12,7 +12,7 @@ "@netlify/database": "latest", "@netlify/functions": "^5.2.0", "@types/node": "^22.0.0", - "typescript": "^4.5.5" + "typescript": "^6.0.0" } }, "node_modules/@neondatabase/serverless": { @@ -217,16 +217,16 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/undici-types": { diff --git a/functions-templates/typescript/database/package.json b/functions-templates/typescript/database/package.json index 9ddd3d70681..79f545ef2fa 100644 --- a/functions-templates/typescript/database/package.json +++ b/functions-templates/typescript/database/package.json @@ -18,6 +18,6 @@ "@netlify/database": "latest", "@netlify/functions": "^5.2.0", "@types/node": "^22.0.0", - "typescript": "^4.5.5" + "typescript": "^6.0.0" } } diff --git a/functions-templates/typescript/hello-world/package-lock.json b/functions-templates/typescript/hello-world/package-lock.json index b99c8052d49..66dd8ecc9d4 100644 --- a/functions-templates/typescript/hello-world/package-lock.json +++ b/functions-templates/typescript/hello-world/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@netlify/functions": "^5.2.0", "@types/node": "^22.0.0", - "typescript": "^4.0.0" + "typescript": "^6.0.0" } }, "node_modules/@netlify/functions": { @@ -44,15 +44,16 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/undici-types": { @@ -84,9 +85,9 @@ } }, "typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==" + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==" }, "undici-types": { "version": "6.21.0", diff --git a/functions-templates/typescript/hello-world/package.json b/functions-templates/typescript/hello-world/package.json index d6bc0c64355..d3e9898bfd8 100644 --- a/functions-templates/typescript/hello-world/package.json +++ b/functions-templates/typescript/hello-world/package.json @@ -16,6 +16,6 @@ "dependencies": { "@netlify/functions": "^5.2.0", "@types/node": "^22.0.0", - "typescript": "^4.0.0" + "typescript": "^6.0.0" } } diff --git a/functions-templates/typescript/scheduled-function/package.json b/functions-templates/typescript/scheduled-function/package.json index f0aa0a428a9..b5430269661 100644 --- a/functions-templates/typescript/scheduled-function/package.json +++ b/functions-templates/typescript/scheduled-function/package.json @@ -17,6 +17,6 @@ "dependencies": { "@netlify/functions": "^5.2.0", "@types/node": "^22.0.0", - "typescript": "^4.5.5" + "typescript": "^6.0.0" } } diff --git a/package.json b/package.json index 4493be22780..86049daf661 100644 --- a/package.json +++ b/package.json @@ -214,7 +214,7 @@ "tmp-promise": "^3.0.3", "tree-kill": "^1.2.2", "tsx": "^4.20.6", - "typescript": "~5.8.3", + "typescript": "~6.0.0", "typescript-eslint": "~8.45.0", "verdaccio": "^6.3.2", "vitest": "^3.2.4"