From 137ca35de039d421a1e2dbabe50c80d579d7e33c Mon Sep 17 00:00:00 2001 From: "pattishin@google.com" Date: Fri, 8 Mar 2024 14:21:19 -0800 Subject: [PATCH] refactor: updating samples to all use node v20 --- ai-platform/snippets/package.json | 2 +- appengine/hello-world/flexible/package.json | 2 +- appengine/hello-world/standard/package.json | 2 +- appengine/storage/flexible/package.json | 2 +- appengine/storage/standard/package.json | 2 +- appengine/websockets/package.json | 2 +- asset/snippets/package.json | 2 +- auth/package.json | 2 +- automl/package.json | 2 +- batch/package.json | 2 +- cloud-language/package.json | 4 ++-- cloud-sql/mysql/mysql/package.json | 2 +- cloud-sql/mysql/mysql2/package.json | 2 +- cloud-sql/postgres/knex/package.json | 2 +- cloud-sql/sqlserver/mssql/package.json | 2 +- cloud-sql/sqlserver/tedious/package.json | 2 +- cloud-tasks/snippets/package.json | 2 +- cloud-tasks/tutorial-gcf/app/package.json | 2 +- cloud-tasks/tutorial-gcf/function/package.json | 2 +- cloudbuild/package.json | 2 +- composer/functions/composer-storage-trigger/package.json | 2 +- composer/package.json | 2 +- compute/package.json | 2 +- contact-center-insights/package.json | 2 +- container-analysis/snippets/package.json | 2 +- container/package.json | 2 +- datacatalog/cloud-client/package.json | 2 +- datacatalog/quickstart/package.json | 2 +- datacatalog/snippets/package.json | 2 +- datalabeling/package.json | 2 +- dataproc/package.json | 2 +- datastore/functions/package.json | 2 +- dialogflow-cx/package.json | 2 +- dialogflow/package.json | 2 +- discoveryengine/package.json | 2 +- dlp/package.json | 2 +- document-ai/package.json | 2 +- endpoints/getting-started-grpc/package.json | 2 +- endpoints/getting-started/package.json | 2 +- error-reporting/package.json | 2 +- eventarc/audit-storage/package.json | 2 +- eventarc/generic/package.json | 2 +- eventarc/pubsub/package.json | 2 +- functions/billing/package.json | 2 +- functions/concepts/afterResponse/package.json | 2 +- functions/concepts/afterTimeout/package.json | 2 +- functions/concepts/backgroundTermination/package.json | 2 +- functions/concepts/filesystem/package.json | 2 +- functions/concepts/httpTermination/package.json | 2 +- functions/concepts/package.json | 2 +- functions/concepts/requests/package.json | 2 +- functions/concepts/stateless/package.json | 2 +- functions/env_vars/package.json | 2 +- functions/firebase/helloAnalytics/package.json | 2 +- functions/firebase/helloAuth/package.json | 2 +- functions/firebase/helloFirestore/package.json | 2 +- functions/firebase/helloRTDB/package.json | 2 +- functions/firebase/helloRemoteConfig/package.json | 2 +- functions/firebase/makeUpperCase/package.json | 2 +- functions/firebase/package.json | 2 +- functions/helloworld/helloError/package.json | 2 +- functions/helloworld/helloGCS/package.json | 2 +- functions/helloworld/helloPubSub/package.json | 2 +- functions/helloworld/helloworldGet/package.json | 2 +- functions/helloworld/helloworldHttp/package.json | 2 +- functions/helloworld/package.json | 2 +- functions/http/corsEnabledFunction/package.json | 2 +- functions/http/corsEnabledFunctionAuth/package.json | 2 +- functions/http/httpContent/package.json | 2 +- functions/http/httpMethods/package.json | 2 +- functions/http/package.json | 2 +- functions/http/parseXML/package.json | 2 +- functions/http/uploadFile/package.json | 2 +- functions/imagemagick/package.json | 2 +- functions/log/helloWorld/package.json | 2 +- functions/log/package.json | 2 +- functions/log/processEntry/package.json | 2 +- functions/memorystore/redis/package.json | 2 +- functions/ocr/app/package.json | 2 +- functions/pubsub/package.json | 2 +- functions/pubsub/publish/package.json | 2 +- functions/pubsub/subscribe/package.json | 2 +- functions/scheduleinstance/package.json | 2 +- functions/security/package.json | 2 +- functions/slack/package.json | 2 +- functions/spanner/package.json | 2 +- functions/speech-to-speech/functions/package.json | 2 +- functions/tips/avoidInfiniteRetries/package.json | 2 +- functions/tips/connectionPools/package.json | 2 +- functions/tips/gcpApiCall/package.json | 2 +- functions/tips/lazyGlobals/package.json | 2 +- functions/tips/package.json | 2 +- functions/tips/retry/package.json | 2 +- functions/tips/scopeDemo/package.json | 2 +- functions/v2/autoLabelInstance/package.json | 2 +- functions/v2/cloudEventLogging/package.json | 2 +- functions/v2/firebase/firestore/helloFirestore/package.json | 2 +- functions/v2/firebase/firestore/makeUpperCase/package.json | 2 +- .../firebase/remote-config/helloRemoteConfig/package.json | 2 +- functions/v2/firebase/rtdb/helloRTDB/package.json | 2 +- functions/v2/helloAuditLog/package.json | 2 +- functions/v2/helloBigQuery/package.json | 2 +- functions/v2/helloGCS/package.json | 2 +- functions/v2/helloPubSub/package.json | 2 +- functions/v2/httpLogging/package.json | 2 +- functions/v2/imagemagick/package.json | 2 +- functions/v2/log/processEntry/package.json | 2 +- functions/v2/ocr/app/package.json | 2 +- functions/v2/responseStreaming/package.json | 2 +- functions/v2/tips/avoidInfiniteRetries/package.json | 2 +- functions/v2/tips/retry/package.json | 2 +- game-servers/snippets/package.json | 2 +- generative-ai/snippets/package.json | 2 +- healthcare/consent/package.json | 2 +- healthcare/datasets/package.json | 2 +- healthcare/dicom/package.json | 2 +- healthcare/fhir/package.json | 2 +- healthcare/hl7v2/package.json | 2 +- iam/deny/package.json | 2 +- kms/package.json | 2 +- media/livestream/package.json | 2 +- media/transcoder/package.json | 2 +- mediatranslation/package.json | 2 +- memorystore/redis/package.json | 2 +- monitoring/snippets/package.json | 2 +- opencensus/package.json | 2 +- package.json | 6 +++--- recaptcha_enterprise/demosite/app/package.json | 2 +- recaptcha_enterprise/snippets/package.json | 2 +- retail/package.json | 4 ++-- run/filesystem/package.json | 2 +- run/hello-broken/package.json | 2 +- run/helloworld/package.docs.json | 2 +- run/helloworld/package.json | 2 +- run/idp-sql/package.json | 2 +- run/image-processing/package.json | 2 +- run/jobs/package.docs.json | 2 +- run/jobs/package.json | 2 +- run/logging-manual/package.json | 2 +- run/markdown-preview/editor/package.json | 2 +- run/markdown-preview/renderer/package.json | 2 +- run/pubsub/package.json | 2 +- run/system-package/package.json | 2 +- run/websockets/package.json | 2 +- scheduler/package.json | 2 +- secret-manager/package.json | 2 +- security-center/snippets/package.json | 2 +- service-directory/snippets/package.json | 2 +- speech/package.json | 2 +- storagetransfer/package.json | 2 +- talent/package.json | 2 +- texttospeech/package.json | 2 +- translate/package.json | 2 +- video-intelligence/package.json | 2 +- vision/package.json | 2 +- workflows/invoke-private-endpoint/package.json | 2 +- workflows/package.json | 2 +- workflows/quickstart/package.json | 2 +- 158 files changed, 162 insertions(+), 162 deletions(-) diff --git a/ai-platform/snippets/package.json b/ai-platform/snippets/package.json index 2de402a81b..6525721591 100644 --- a/ai-platform/snippets/package.json +++ b/ai-platform/snippets/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/appengine/hello-world/flexible/package.json b/appengine/hello-world/flexible/package.json index 909281a801..275a6cafe3 100644 --- a/appengine/hello-world/flexible/package.json +++ b/appengine/hello-world/flexible/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node app.js", diff --git a/appengine/hello-world/standard/package.json b/appengine/hello-world/standard/package.json index 2d1ae03a7d..954bf9f7d5 100644 --- a/appengine/hello-world/standard/package.json +++ b/appengine/hello-world/standard/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node app.js", diff --git a/appengine/storage/flexible/package.json b/appengine/storage/flexible/package.json index c0ba549465..4edffb73a1 100644 --- a/appengine/storage/flexible/package.json +++ b/appengine/storage/flexible/package.json @@ -6,7 +6,7 @@ "test": "c8 mocha -p -j 2 system-test/*.test.js --exit --timeout=30000" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/storage": "^7.0.0", diff --git a/appengine/storage/standard/package.json b/appengine/storage/standard/package.json index c0ba549465..4edffb73a1 100644 --- a/appengine/storage/standard/package.json +++ b/appengine/storage/standard/package.json @@ -6,7 +6,7 @@ "test": "c8 mocha -p -j 2 system-test/*.test.js --exit --timeout=30000" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/storage": "^7.0.0", diff --git a/appengine/websockets/package.json b/appengine/websockets/package.json index 9680e31a4d..6b6da6fbf5 100644 --- a/appengine/websockets/package.json +++ b/appengine/websockets/package.json @@ -6,7 +6,7 @@ "license": "Apache Version 2.0", "author": "Google Inc.", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "deploy": "gcloud app deploy", diff --git a/asset/snippets/package.json b/asset/snippets/package.json index e1587d3bc4..d2d61440e4 100644 --- a/asset/snippets/package.json +++ b/asset/snippets/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/auth/package.json b/auth/package.json index b073143919..8c8afe2757 100644 --- a/auth/package.json +++ b/auth/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test:auth": "c8 mocha -p -j 2 system-test/auth.test.js --timeout=30000", diff --git a/automl/package.json b/automl/package.json index 5016d57849..208eda2e4e 100644 --- a/automl/package.json +++ b/automl/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "repository": "googleapis/nodejs-automl", "private": true, diff --git a/batch/package.json b/batch/package.json index bdce56777b..18c98eeae6 100644 --- a/batch/package.json +++ b/batch/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/cloud-language/package.json b/cloud-language/package.json index 20d1cb2089..654497728c 100644 --- a/cloud-language/package.json +++ b/cloud-language/package.json @@ -3,7 +3,7 @@ "license": "Apache-2.0", "author": "Google Inc.", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "repository": "googleapis/nodejs-language", "private": true, @@ -17,7 +17,7 @@ "dependencies": { "@google-cloud/language": "^6.1.0", "@google-cloud/storage": "^7.0.0", - "mathjs": "^11.0.0", + "mathjs": "^12.0.0", "yargs": "^17.0.0" }, "devDependencies": { diff --git a/cloud-sql/mysql/mysql/package.json b/cloud-sql/mysql/mysql/package.json index f00336729b..7c6027df2d 100644 --- a/cloud-sql/mysql/mysql/package.json +++ b/cloud-sql/mysql/mysql/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node server/server.js", diff --git a/cloud-sql/mysql/mysql2/package.json b/cloud-sql/mysql/mysql2/package.json index c0986f3200..9cb031a823 100644 --- a/cloud-sql/mysql/mysql2/package.json +++ b/cloud-sql/mysql/mysql2/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node server/server.js", diff --git a/cloud-sql/postgres/knex/package.json b/cloud-sql/postgres/knex/package.json index 3225ab39c8..bf97dd5b0f 100644 --- a/cloud-sql/postgres/knex/package.json +++ b/cloud-sql/postgres/knex/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node server/server.js", diff --git a/cloud-sql/sqlserver/mssql/package.json b/cloud-sql/sqlserver/mssql/package.json index 6797c372c6..d6dbe8000a 100644 --- a/cloud-sql/sqlserver/mssql/package.json +++ b/cloud-sql/sqlserver/mssql/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node server/server.js", diff --git a/cloud-sql/sqlserver/tedious/package.json b/cloud-sql/sqlserver/tedious/package.json index 610ee2a518..ffa9e5a149 100644 --- a/cloud-sql/sqlserver/tedious/package.json +++ b/cloud-sql/sqlserver/tedious/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node server/server.js", diff --git a/cloud-tasks/snippets/package.json b/cloud-tasks/snippets/package.json index 4830971b98..61a94538ef 100644 --- a/cloud-tasks/snippets/package.json +++ b/cloud-tasks/snippets/package.json @@ -5,7 +5,7 @@ "author": "Google Inc.", "private": true, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/cloud-tasks/tutorial-gcf/app/package.json b/cloud-tasks/tutorial-gcf/app/package.json index 04a7e0cf51..20dc237a7e 100644 --- a/cloud-tasks/tutorial-gcf/app/package.json +++ b/cloud-tasks/tutorial-gcf/app/package.json @@ -4,7 +4,7 @@ "main": "index.js", "private": true, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node index.js", diff --git a/cloud-tasks/tutorial-gcf/function/package.json b/cloud-tasks/tutorial-gcf/function/package.json index 313ee38078..147287dc0a 100644 --- a/cloud-tasks/tutorial-gcf/function/package.json +++ b/cloud-tasks/tutorial-gcf/function/package.json @@ -4,7 +4,7 @@ "main": "index.js", "private": true, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/cloudbuild/package.json b/cloudbuild/package.json index bdfce23df8..fa676f5050 100644 --- a/cloudbuild/package.json +++ b/cloudbuild/package.json @@ -9,7 +9,7 @@ "author": "Google Inc.", "repository": "googleapis/nodejs-cloudbuild", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test --timeout=800000" diff --git a/composer/functions/composer-storage-trigger/package.json b/composer/functions/composer-storage-trigger/package.json index 49db5ebf41..8dad6b9668 100644 --- a/composer/functions/composer-storage-trigger/package.json +++ b/composer/functions/composer-storage-trigger/package.json @@ -6,7 +6,7 @@ "node-fetch": "^2.2.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "private": true, "license": "Apache-2.0", diff --git a/composer/package.json b/composer/package.json index 4dcb594a26..f3193bc170 100644 --- a/composer/package.json +++ b/composer/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 --exit test/*.test.js" diff --git a/compute/package.json b/compute/package.json index 92c249244a..37de544e99 100644 --- a/compute/package.json +++ b/compute/package.json @@ -3,7 +3,7 @@ "license": "Apache-2.0", "author": "Google Inc.", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "repository": "googleapis/nodejs-compute", "private": true, diff --git a/contact-center-insights/package.json b/contact-center-insights/package.json index cf435d7c85..9924d922ea 100644 --- a/contact-center-insights/package.json +++ b/contact-center-insights/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/container-analysis/snippets/package.json b/container-analysis/snippets/package.json index 7adb065f4d..7f3403f503 100644 --- a/container-analysis/snippets/package.json +++ b/container-analysis/snippets/package.json @@ -8,7 +8,7 @@ "*.js" ], "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 --timeout 100000 test/**.test.js" diff --git a/container/package.json b/container/package.json index 8e12f3fdb0..f6b6fac4cc 100644 --- a/container/package.json +++ b/container/package.json @@ -3,7 +3,7 @@ "license": "Apache-2.0", "author": "Google Inc.", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "repository": "googleapis/nodejs-cloud-container", "private": true, diff --git a/datacatalog/cloud-client/package.json b/datacatalog/cloud-client/package.json index fb24750695..c397365568 100644 --- a/datacatalog/cloud-client/package.json +++ b/datacatalog/cloud-client/package.json @@ -7,7 +7,7 @@ "author": "Google LLC", "repository": "GoogleCloudPlatform/nodejs-docs-samples", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000" diff --git a/datacatalog/quickstart/package.json b/datacatalog/quickstart/package.json index b31ea6f640..df2fad0251 100644 --- a/datacatalog/quickstart/package.json +++ b/datacatalog/quickstart/package.json @@ -7,7 +7,7 @@ "author": "Google LLC", "repository": "GoogleCloudPlatform/nodejs-docs-samples", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000" diff --git a/datacatalog/snippets/package.json b/datacatalog/snippets/package.json index 100600a2a1..be3a98cd49 100644 --- a/datacatalog/snippets/package.json +++ b/datacatalog/snippets/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "repository": "googleapis/nodejs-datacatalog", "private": true, diff --git a/datalabeling/package.json b/datalabeling/package.json index 9b0698a5a7..ccbd89de1c 100644 --- a/datalabeling/package.json +++ b/datalabeling/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js", diff --git a/dataproc/package.json b/dataproc/package.json index 4952718d55..7598bea10d 100644 --- a/dataproc/package.json +++ b/dataproc/package.json @@ -6,7 +6,7 @@ "*.js" ], "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "repository": "googleapis/nodejs-dataproc", "private": true, diff --git a/datastore/functions/package.json b/datastore/functions/package.json index e0025807c9..4298ed631f 100644 --- a/datastore/functions/package.json +++ b/datastore/functions/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=5000" diff --git a/dialogflow-cx/package.json b/dialogflow-cx/package.json index da7dec9a65..6eee7623db 100644 --- a/dialogflow-cx/package.json +++ b/dialogflow-cx/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/dialogflow/package.json b/dialogflow/package.json index 372b15eb5a..1212a03b30 100644 --- a/dialogflow/package.json +++ b/dialogflow/package.json @@ -9,7 +9,7 @@ "resources" ], "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test --timeout=600000" diff --git a/discoveryengine/package.json b/discoveryengine/package.json index 0945bec249..9e717fdfdc 100644 --- a/discoveryengine/package.json +++ b/discoveryengine/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/dlp/package.json b/dlp/package.json index 381e3d6946..2c0f43c988 100644 --- a/dlp/package.json +++ b/dlp/package.json @@ -9,7 +9,7 @@ "*.js" ], "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=600000" diff --git a/document-ai/package.json b/document-ai/package.json index ac17f1f7bc..e2ab4dfce8 100644 --- a/document-ai/package.json +++ b/document-ai/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/endpoints/getting-started-grpc/package.json b/endpoints/getting-started-grpc/package.json index 7cd70e066a..ffdbbf2283 100644 --- a/endpoints/getting-started-grpc/package.json +++ b/endpoints/getting-started-grpc/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node server.js", diff --git a/endpoints/getting-started/package.json b/endpoints/getting-started/package.json index 10d79813fb..f5916288a7 100644 --- a/endpoints/getting-started/package.json +++ b/endpoints/getting-started/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node app.js", diff --git a/error-reporting/package.json b/error-reporting/package.json index 7dff5c22f8..b501bf0d75 100644 --- a/error-reporting/package.json +++ b/error-reporting/package.json @@ -9,7 +9,7 @@ "!test/" ], "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 --timeout=600000" diff --git a/eventarc/audit-storage/package.json b/eventarc/audit-storage/package.json index d3d902cb0c..72421a8bc6 100644 --- a/eventarc/audit-storage/package.json +++ b/eventarc/audit-storage/package.json @@ -11,7 +11,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">= 12.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node index.js", diff --git a/eventarc/generic/package.json b/eventarc/generic/package.json index 0ab7f1c547..9ec4b917ca 100644 --- a/eventarc/generic/package.json +++ b/eventarc/generic/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">= 12.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node index.js", diff --git a/eventarc/pubsub/package.json b/eventarc/pubsub/package.json index 648ffd1cb4..515fd22377 100644 --- a/eventarc/pubsub/package.json +++ b/eventarc/pubsub/package.json @@ -11,7 +11,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">= 12.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node index.js", diff --git a/functions/billing/package.json b/functions/billing/package.json index c20108aff9..1fd6b86cf8 100644 --- a/functions/billing/package.json +++ b/functions/billing/package.json @@ -5,7 +5,7 @@ "description": "Examples of integrating Cloud Functions with billing", "main": "index.js", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "compute-test": "c8 mocha -p -j 2 test/periodic.test.js --timeout=600000", diff --git a/functions/concepts/afterResponse/package.json b/functions/concepts/afterResponse/package.json index 6b32f840e4..1044ca9b7e 100644 --- a/functions/concepts/afterResponse/package.json +++ b/functions/concepts/afterResponse/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3" diff --git a/functions/concepts/afterTimeout/package.json b/functions/concepts/afterTimeout/package.json index e512261c8d..185b901f64 100644 --- a/functions/concepts/afterTimeout/package.json +++ b/functions/concepts/afterTimeout/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3" diff --git a/functions/concepts/backgroundTermination/package.json b/functions/concepts/backgroundTermination/package.json index 73869e1ac6..41fd3affda 100644 --- a/functions/concepts/backgroundTermination/package.json +++ b/functions/concepts/backgroundTermination/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "echo \"No tests exist for this sample.\"" diff --git a/functions/concepts/filesystem/package.json b/functions/concepts/filesystem/package.json index 92331e35ce..764750aa63 100644 --- a/functions/concepts/filesystem/package.json +++ b/functions/concepts/filesystem/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.2" diff --git a/functions/concepts/httpTermination/package.json b/functions/concepts/httpTermination/package.json index a21f066cb6..917aecb9a2 100644 --- a/functions/concepts/httpTermination/package.json +++ b/functions/concepts/httpTermination/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3" diff --git a/functions/concepts/package.json b/functions/concepts/package.json index 640e5c1212..26539c2b88 100644 --- a/functions/concepts/package.json +++ b/functions/concepts/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "node-fetch": "^2.6.0" diff --git a/functions/concepts/requests/package.json b/functions/concepts/requests/package.json index 9b3f539c07..5441af9e2b 100644 --- a/functions/concepts/requests/package.json +++ b/functions/concepts/requests/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3", diff --git a/functions/concepts/stateless/package.json b/functions/concepts/stateless/package.json index 4ac626ea93..0d17f1e3e4 100644 --- a/functions/concepts/stateless/package.json +++ b/functions/concepts/stateless/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3" diff --git a/functions/env_vars/package.json b/functions/env_vars/package.json index 19fb3875c9..62f17082e1 100644 --- a/functions/env_vars/package.json +++ b/functions/env_vars/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000" diff --git a/functions/firebase/helloAnalytics/package.json b/functions/firebase/helloAnalytics/package.json index 11e870e68e..1f488b5842 100644 --- a/functions/firebase/helloAnalytics/package.json +++ b/functions/firebase/helloAnalytics/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 -T 30s test/*.test.js" diff --git a/functions/firebase/helloAuth/package.json b/functions/firebase/helloAuth/package.json index bd468c94e5..f26aa51b0d 100644 --- a/functions/firebase/helloAuth/package.json +++ b/functions/firebase/helloAuth/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 -T 30s test/*.test.js" diff --git a/functions/firebase/helloFirestore/package.json b/functions/firebase/helloFirestore/package.json index 6ab292de2e..9cf8a1b9fb 100644 --- a/functions/firebase/helloFirestore/package.json +++ b/functions/firebase/helloFirestore/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 -T 30s test/*.test.js" diff --git a/functions/firebase/helloRTDB/package.json b/functions/firebase/helloRTDB/package.json index fe7c0f2da8..d1b23d6c60 100644 --- a/functions/firebase/helloRTDB/package.json +++ b/functions/firebase/helloRTDB/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 -T 30s test/*.test.js" diff --git a/functions/firebase/helloRemoteConfig/package.json b/functions/firebase/helloRemoteConfig/package.json index 37869adf92..fdb8609a47 100644 --- a/functions/firebase/helloRemoteConfig/package.json +++ b/functions/firebase/helloRemoteConfig/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 -T 30s test/*.test.js" diff --git a/functions/firebase/makeUpperCase/package.json b/functions/firebase/makeUpperCase/package.json index 0ebd3236b7..9aab01d78e 100644 --- a/functions/firebase/makeUpperCase/package.json +++ b/functions/firebase/makeUpperCase/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 -T 30s test/*.test.js" diff --git a/functions/firebase/package.json b/functions/firebase/package.json index f54056f73b..a17dc36e06 100644 --- a/functions/firebase/package.json +++ b/functions/firebase/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "devDependencies": { "mocha": "^10.0.0", diff --git a/functions/helloworld/helloError/package.json b/functions/helloworld/helloError/package.json index b318d623c7..a7b43604b0 100644 --- a/functions/helloworld/helloError/package.json +++ b/functions/helloworld/helloError/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --exit" diff --git a/functions/helloworld/helloGCS/package.json b/functions/helloworld/helloGCS/package.json index f1b73cc63a..add8792236 100644 --- a/functions/helloworld/helloGCS/package.json +++ b/functions/helloworld/helloGCS/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "unit-test": "c8 mocha -p -j 2 test/*unit*test.js test/*integration*test.js --timeout=6000 --exit", diff --git a/functions/helloworld/helloPubSub/package.json b/functions/helloworld/helloPubSub/package.json index a70dd04de9..b5c340ab80 100644 --- a/functions/helloworld/helloPubSub/package.json +++ b/functions/helloworld/helloPubSub/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "unit-test": "c8 mocha -p -j 2 test/*unit*test.js test/*integration*test.js --timeout=6000 --exit", diff --git a/functions/helloworld/helloworldGet/package.json b/functions/helloworld/helloworldGet/package.json index 5795e9d114..34d1599870 100644 --- a/functions/helloworld/helloworldGet/package.json +++ b/functions/helloworld/helloworldGet/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=6000 --exit" diff --git a/functions/helloworld/helloworldHttp/package.json b/functions/helloworld/helloworldHttp/package.json index 593df631b8..eedabefbcf 100644 --- a/functions/helloworld/helloworldHttp/package.json +++ b/functions/helloworld/helloworldHttp/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "unit-test": "c8 mocha -p -j 2 test/index.test.js test/*unit*test.js test/*integration*test.js --timeout=6000 --exit", diff --git a/functions/helloworld/package.json b/functions/helloworld/package.json index 891a44c757..27a96fd9c8 100644 --- a/functions/helloworld/package.json +++ b/functions/helloworld/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/debug-agent": "^8.0.0", diff --git a/functions/http/corsEnabledFunction/package.json b/functions/http/corsEnabledFunction/package.json index 95e715be8c..e17a06f186 100644 --- a/functions/http/corsEnabledFunction/package.json +++ b/functions/http/corsEnabledFunction/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/functions/http/corsEnabledFunctionAuth/package.json b/functions/http/corsEnabledFunctionAuth/package.json index 663e2048d1..77a62cf559 100644 --- a/functions/http/corsEnabledFunctionAuth/package.json +++ b/functions/http/corsEnabledFunctionAuth/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/functions/http/httpContent/package.json b/functions/http/httpContent/package.json index 7e8a2e744d..1609fb9b90 100644 --- a/functions/http/httpContent/package.json +++ b/functions/http/httpContent/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/functions/http/httpMethods/package.json b/functions/http/httpMethods/package.json index 9f99172cdd..cd3af7564e 100644 --- a/functions/http/httpMethods/package.json +++ b/functions/http/httpMethods/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/functions/http/package.json b/functions/http/package.json index d474344aa9..c01658f300 100644 --- a/functions/http/package.json +++ b/functions/http/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "devDependencies": { "mocha": "^10.0.0", diff --git a/functions/http/parseXML/package.json b/functions/http/parseXML/package.json index c2f3368625..98a1eb89e6 100644 --- a/functions/http/parseXML/package.json +++ b/functions/http/parseXML/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=6000 --exit" diff --git a/functions/http/uploadFile/package.json b/functions/http/uploadFile/package.json index c58b7362e3..834441778d 100644 --- a/functions/http/uploadFile/package.json +++ b/functions/http/uploadFile/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3", diff --git a/functions/imagemagick/package.json b/functions/imagemagick/package.json index 265285c63b..7ce5b71dc0 100644 --- a/functions/imagemagick/package.json +++ b/functions/imagemagick/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000 --exit" diff --git a/functions/log/helloWorld/package.json b/functions/log/helloWorld/package.json index f4290eb36b..23e1ac1373 100644 --- a/functions/log/helloWorld/package.json +++ b/functions/log/helloWorld/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000" diff --git a/functions/log/package.json b/functions/log/package.json index 71b6388d66..0639ceb106 100644 --- a/functions/log/package.json +++ b/functions/log/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "devDependencies": { "mocha": "^10.0.0", diff --git a/functions/log/processEntry/package.json b/functions/log/processEntry/package.json index b803e55d19..c6420d3902 100644 --- a/functions/log/processEntry/package.json +++ b/functions/log/processEntry/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000" diff --git a/functions/memorystore/redis/package.json b/functions/memorystore/redis/package.json index a83267f2bd..6523f4a2b7 100644 --- a/functions/memorystore/redis/package.json +++ b/functions/memorystore/redis/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "main": "index.js", "scripts": { diff --git a/functions/ocr/app/package.json b/functions/ocr/app/package.json index a495d220f0..7b0b4987b3 100644 --- a/functions/ocr/app/package.json +++ b/functions/ocr/app/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000" diff --git a/functions/pubsub/package.json b/functions/pubsub/package.json index ce7bcc4f45..ddb89b603b 100644 --- a/functions/pubsub/package.json +++ b/functions/pubsub/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/pubsub": "^4.0.0" diff --git a/functions/pubsub/publish/package.json b/functions/pubsub/publish/package.json index 4a893189c3..e8ef7f2e24 100644 --- a/functions/pubsub/publish/package.json +++ b/functions/pubsub/publish/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000 --exit" diff --git a/functions/pubsub/subscribe/package.json b/functions/pubsub/subscribe/package.json index 2a69470130..a0954e9690 100644 --- a/functions/pubsub/subscribe/package.json +++ b/functions/pubsub/subscribe/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000 --exit" diff --git a/functions/scheduleinstance/package.json b/functions/scheduleinstance/package.json index 0fc7b8c996..5be68317f9 100644 --- a/functions/scheduleinstance/package.json +++ b/functions/scheduleinstance/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000" diff --git a/functions/security/package.json b/functions/security/package.json index b068ee915b..be8f50a899 100644 --- a/functions/security/package.json +++ b/functions/security/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js" diff --git a/functions/slack/package.json b/functions/slack/package.json index 0e5c4db3c7..6532cb8778 100644 --- a/functions/slack/package.json +++ b/functions/slack/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000 --exit" diff --git a/functions/spanner/package.json b/functions/spanner/package.json index 8bc7173b33..0822495d3b 100644 --- a/functions/spanner/package.json +++ b/functions/spanner/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000" diff --git a/functions/speech-to-speech/functions/package.json b/functions/speech-to-speech/functions/package.json index 2fd246f567..2b5971bb29 100644 --- a/functions/speech-to-speech/functions/package.json +++ b/functions/speech-to-speech/functions/package.json @@ -6,7 +6,7 @@ "author": "Google LLC", "private": true, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "repository": { "type": "git", diff --git a/functions/tips/avoidInfiniteRetries/package.json b/functions/tips/avoidInfiniteRetries/package.json index 126464fabc..411ce197bc 100644 --- a/functions/tips/avoidInfiniteRetries/package.json +++ b/functions/tips/avoidInfiniteRetries/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "echo \"No tests exist for this sample.\"" diff --git a/functions/tips/connectionPools/package.json b/functions/tips/connectionPools/package.json index aa200d834c..4a18db8c88 100644 --- a/functions/tips/connectionPools/package.json +++ b/functions/tips/connectionPools/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.2", diff --git a/functions/tips/gcpApiCall/package.json b/functions/tips/gcpApiCall/package.json index 35d5d45d51..6e9cf308f5 100644 --- a/functions/tips/gcpApiCall/package.json +++ b/functions/tips/gcpApiCall/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000 --exit" diff --git a/functions/tips/lazyGlobals/package.json b/functions/tips/lazyGlobals/package.json index d74ec1d561..6403026269 100644 --- a/functions/tips/lazyGlobals/package.json +++ b/functions/tips/lazyGlobals/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3" diff --git a/functions/tips/package.json b/functions/tips/package.json index 6ce83ede89..02196d9818 100644 --- a/functions/tips/package.json +++ b/functions/tips/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "echo \"Notice: tests moved into topic sub-directories\" && exit 0" diff --git a/functions/tips/retry/package.json b/functions/tips/retry/package.json index 9b7c9df3b7..8a0ea4234e 100644 --- a/functions/tips/retry/package.json +++ b/functions/tips/retry/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000 --exit" diff --git a/functions/tips/scopeDemo/package.json b/functions/tips/scopeDemo/package.json index 905b998426..58f12030bd 100644 --- a/functions/tips/scopeDemo/package.json +++ b/functions/tips/scopeDemo/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/functions/v2/autoLabelInstance/package.json b/functions/v2/autoLabelInstance/package.json index 38875c86d3..a303f526ca 100644 --- a/functions/v2/autoLabelInstance/package.json +++ b/functions/v2/autoLabelInstance/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/index.test.js", diff --git a/functions/v2/cloudEventLogging/package.json b/functions/v2/cloudEventLogging/package.json index ac11b21624..2866fc8883 100644 --- a/functions/v2/cloudEventLogging/package.json +++ b/functions/v2/cloudEventLogging/package.json @@ -6,7 +6,7 @@ "author": "Google LLC", "main": "index.js", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js" diff --git a/functions/v2/firebase/firestore/helloFirestore/package.json b/functions/v2/firebase/firestore/helloFirestore/package.json index cac37108a9..c9e5caa690 100644 --- a/functions/v2/firebase/firestore/helloFirestore/package.json +++ b/functions/v2/firebase/firestore/helloFirestore/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 -T 30s test/*.test.js" diff --git a/functions/v2/firebase/firestore/makeUpperCase/package.json b/functions/v2/firebase/firestore/makeUpperCase/package.json index e6b2cc65c9..1249a53717 100644 --- a/functions/v2/firebase/firestore/makeUpperCase/package.json +++ b/functions/v2/firebase/firestore/makeUpperCase/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 -T 30s test/*.test.js" diff --git a/functions/v2/firebase/remote-config/helloRemoteConfig/package.json b/functions/v2/firebase/remote-config/helloRemoteConfig/package.json index f0f426be52..ca0817a043 100644 --- a/functions/v2/firebase/remote-config/helloRemoteConfig/package.json +++ b/functions/v2/firebase/remote-config/helloRemoteConfig/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 -T 30s test/*.test.js" diff --git a/functions/v2/firebase/rtdb/helloRTDB/package.json b/functions/v2/firebase/rtdb/helloRTDB/package.json index 6003c1159b..7797d1e8d0 100644 --- a/functions/v2/firebase/rtdb/helloRTDB/package.json +++ b/functions/v2/firebase/rtdb/helloRTDB/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 -T 30s test/*.test.js" diff --git a/functions/v2/helloAuditLog/package.json b/functions/v2/helloAuditLog/package.json index ac73117243..92e0955af1 100644 --- a/functions/v2/helloAuditLog/package.json +++ b/functions/v2/helloAuditLog/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/functions/v2/helloBigQuery/package.json b/functions/v2/helloBigQuery/package.json index 415f8d4b80..b51b356aaf 100644 --- a/functions/v2/helloBigQuery/package.json +++ b/functions/v2/helloBigQuery/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000 --exit" diff --git a/functions/v2/helloGCS/package.json b/functions/v2/helloGCS/package.json index 0dc0eabb16..707e5df3ff 100644 --- a/functions/v2/helloGCS/package.json +++ b/functions/v2/helloGCS/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/functions/v2/helloPubSub/package.json b/functions/v2/helloPubSub/package.json index 179c1e21d7..b8c85b1fac 100644 --- a/functions/v2/helloPubSub/package.json +++ b/functions/v2/helloPubSub/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/functions/v2/httpLogging/package.json b/functions/v2/httpLogging/package.json index 2cc32e73cc..c2ca54a123 100644 --- a/functions/v2/httpLogging/package.json +++ b/functions/v2/httpLogging/package.json @@ -6,7 +6,7 @@ "author": "Google LLC", "main": "index.js", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js", diff --git a/functions/v2/imagemagick/package.json b/functions/v2/imagemagick/package.json index b176abec63..85ee94f99b 100644 --- a/functions/v2/imagemagick/package.json +++ b/functions/v2/imagemagick/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000 --exit" diff --git a/functions/v2/log/processEntry/package.json b/functions/v2/log/processEntry/package.json index 0dcee7f3fc..08eadae604 100644 --- a/functions/v2/log/processEntry/package.json +++ b/functions/v2/log/processEntry/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000" diff --git a/functions/v2/ocr/app/package.json b/functions/v2/ocr/app/package.json index bb0a459973..71d36e1c85 100644 --- a/functions/v2/ocr/app/package.json +++ b/functions/v2/ocr/app/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000" diff --git a/functions/v2/responseStreaming/package.json b/functions/v2/responseStreaming/package.json index f05f8f829d..be9e66bc8c 100644 --- a/functions/v2/responseStreaming/package.json +++ b/functions/v2/responseStreaming/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000" diff --git a/functions/v2/tips/avoidInfiniteRetries/package.json b/functions/v2/tips/avoidInfiniteRetries/package.json index 06687e6d98..411ca8f85b 100644 --- a/functions/v2/tips/avoidInfiniteRetries/package.json +++ b/functions/v2/tips/avoidInfiniteRetries/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/functions/v2/tips/retry/package.json b/functions/v2/tips/retry/package.json index 9fe7eb5641..46f799de9c 100644 --- a/functions/v2/tips/retry/package.json +++ b/functions/v2/tips/retry/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000 --exit" diff --git a/game-servers/snippets/package.json b/game-servers/snippets/package.json index 7a29802842..95ca6c53bb 100644 --- a/game-servers/snippets/package.json +++ b/game-servers/snippets/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/generative-ai/snippets/package.json b/generative-ai/snippets/package.json index 59bb0948c1..1158ddbdb1 100644 --- a/generative-ai/snippets/package.json +++ b/generative-ai/snippets/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/healthcare/consent/package.json b/healthcare/consent/package.json index c73a22c3c2..738f2c1d2e 100644 --- a/healthcare/consent/package.json +++ b/healthcare/consent/package.json @@ -6,7 +6,7 @@ "author": "Google LLC", "repository": "GoogleCloudPlatform/nodejs-docs-samples", "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000" diff --git a/healthcare/datasets/package.json b/healthcare/datasets/package.json index c73a22c3c2..738f2c1d2e 100644 --- a/healthcare/datasets/package.json +++ b/healthcare/datasets/package.json @@ -6,7 +6,7 @@ "author": "Google LLC", "repository": "GoogleCloudPlatform/nodejs-docs-samples", "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000" diff --git a/healthcare/dicom/package.json b/healthcare/dicom/package.json index 1e94ab51e6..8dc3cdcbf3 100644 --- a/healthcare/dicom/package.json +++ b/healthcare/dicom/package.json @@ -6,7 +6,7 @@ "author": "Google LLC", "repository": "GoogleCloudPlatform/nodejs-docs-samples", "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000" diff --git a/healthcare/fhir/package.json b/healthcare/fhir/package.json index 49fd676295..f34c2d79e2 100644 --- a/healthcare/fhir/package.json +++ b/healthcare/fhir/package.json @@ -6,7 +6,7 @@ "author": "Google LLC", "repository": "GoogleCloudPlatform/nodejs-docs-samples", "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000" diff --git a/healthcare/hl7v2/package.json b/healthcare/hl7v2/package.json index 2671163895..b19153e2ce 100644 --- a/healthcare/hl7v2/package.json +++ b/healthcare/hl7v2/package.json @@ -6,7 +6,7 @@ "author": "Google LLC", "repository": "GoogleCloudPlatform/nodejs-docs-samples", "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000" diff --git a/iam/deny/package.json b/iam/deny/package.json index 38d71e23a3..98eb4c5c13 100644 --- a/iam/deny/package.json +++ b/iam/deny/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/kms/package.json b/kms/package.json index cbc0134d4b..23ba16ba68 100644 --- a/kms/package.json +++ b/kms/package.json @@ -8,7 +8,7 @@ "author": "Google LLC", "repository": "googleapis/nodejs-kms", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 --recursive test/ --timeout=800000" diff --git a/media/livestream/package.json b/media/livestream/package.json index 512b3b8cdb..165be36129 100644 --- a/media/livestream/package.json +++ b/media/livestream/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=12.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/media/transcoder/package.json b/media/transcoder/package.json index 95207763b6..2ba556c700 100644 --- a/media/transcoder/package.json +++ b/media/transcoder/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js", diff --git a/mediatranslation/package.json b/mediatranslation/package.json index 0da088c25d..3148a7a80a 100644 --- a/mediatranslation/package.json +++ b/mediatranslation/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/memorystore/redis/package.json b/memorystore/redis/package.json index fa63678aca..07af72288e 100644 --- a/memorystore/redis/package.json +++ b/memorystore/redis/package.json @@ -6,7 +6,7 @@ "license": "Apache Version 2.0", "author": "Google Inc.", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "redis": "^4.0.0" diff --git a/monitoring/snippets/package.json b/monitoring/snippets/package.json index 3218125e80..488ff34b4f 100644 --- a/monitoring/snippets/package.json +++ b/monitoring/snippets/package.json @@ -8,7 +8,7 @@ "*.js" ], "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 --timeout 600000" diff --git a/opencensus/package.json b/opencensus/package.json index 754797598d..d6f1bc9973 100644 --- a/opencensus/package.json +++ b/opencensus/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node metrics-quickstart.js", diff --git a/package.json b/package.json index 650ce33f60..f0447bdab5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google Inc.", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "repository": { "type": "git", @@ -18,8 +18,8 @@ "generate-ci": "node .github/workflows/utils/generate.js" }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "^6.0.0", - "@typescript-eslint/parser": "^6.0.0", + "@typescript-eslint/eslint-plugin": "^7.0.0", + "@typescript-eslint/parser": "^7.0.0", "c8": "^8.0.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-node": "^11.1.0", diff --git a/recaptcha_enterprise/demosite/app/package.json b/recaptcha_enterprise/demosite/app/package.json index 0dbbfa8866..6f65a7b681 100644 --- a/recaptcha_enterprise/demosite/app/package.json +++ b/recaptcha_enterprise/demosite/app/package.json @@ -8,7 +8,7 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "repository": { "type": "git", diff --git a/recaptcha_enterprise/snippets/package.json b/recaptcha_enterprise/snippets/package.json index e220b647bb..71aa41f3bd 100644 --- a/recaptcha_enterprise/snippets/package.json +++ b/recaptcha_enterprise/snippets/package.json @@ -5,7 +5,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js", diff --git a/retail/package.json b/retail/package.json index 9be839bf8c..608686c308 100644 --- a/retail/package.json +++ b/retail/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" @@ -13,7 +13,7 @@ "test": "c8 mocha -p -j 2" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@google-cloud/bigquery": "^7.0.0", diff --git a/run/filesystem/package.json b/run/filesystem/package.json index 48417bae97..ad3e536083 100644 --- a/run/filesystem/package.json +++ b/run/filesystem/package.json @@ -9,7 +9,7 @@ "system-test": "c8 mocha -p -j 2 test/system.test.js --timeout=360000 --exit" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "author": "Google LLC", "license": "Apache-2.0", diff --git a/run/hello-broken/package.json b/run/hello-broken/package.json index 6046428d22..38f16affea 100644 --- a/run/hello-broken/package.json +++ b/run/hello-broken/package.json @@ -10,7 +10,7 @@ "system-test": "NAME=Cloud c8 mocha -p -j 2 test/system.test.js --timeout=360000 --exit" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "author": "Google LLC", "license": "Apache-2.0", diff --git a/run/helloworld/package.docs.json b/run/helloworld/package.docs.json index 8661600a08..b5093028f6 100644 --- a/run/helloworld/package.docs.json +++ b/run/helloworld/package.docs.json @@ -9,7 +9,7 @@ "start": "node index.js" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "author": "Google LLC", "license": "Apache-2.0", diff --git a/run/helloworld/package.json b/run/helloworld/package.json index e13550241d..4b23aedc8c 100644 --- a/run/helloworld/package.json +++ b/run/helloworld/package.json @@ -11,7 +11,7 @@ }, "type": "module", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "author": "Google LLC", "license": "Apache-2.0", diff --git a/run/idp-sql/package.json b/run/idp-sql/package.json index 949eed60a5..24c8c3e681 100644 --- a/run/idp-sql/package.json +++ b/run/idp-sql/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node index.js", diff --git a/run/image-processing/package.json b/run/image-processing/package.json index 67aea23ca3..2ef9e2a147 100644 --- a/run/image-processing/package.json +++ b/run/image-processing/package.json @@ -11,7 +11,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node index.js", diff --git a/run/jobs/package.docs.json b/run/jobs/package.docs.json index eeb31f8edc..b4b14a3c3a 100644 --- a/run/jobs/package.docs.json +++ b/run/jobs/package.docs.json @@ -7,7 +7,7 @@ "start": "node index.js" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "author": "Google LLC", "license": "Apache-2.0" diff --git a/run/jobs/package.json b/run/jobs/package.json index 578a774a84..34108942d1 100644 --- a/run/jobs/package.json +++ b/run/jobs/package.json @@ -9,7 +9,7 @@ "system-test": "c8 mocha -p -j 2 test/system.test.js --timeout=600000 --exit" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "author": "Google LLC", "license": "Apache-2.0", diff --git a/run/logging-manual/package.json b/run/logging-manual/package.json index 05b40dd30d..28f3268ca8 100644 --- a/run/logging-manual/package.json +++ b/run/logging-manual/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node index.js", diff --git a/run/markdown-preview/editor/package.json b/run/markdown-preview/editor/package.json index 09a8682d5d..6dc8b870b6 100644 --- a/run/markdown-preview/editor/package.json +++ b/run/markdown-preview/editor/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "main": "main.js", "scripts": { diff --git a/run/markdown-preview/renderer/package.json b/run/markdown-preview/renderer/package.json index e8c67c56f9..ae998cd3f0 100644 --- a/run/markdown-preview/renderer/package.json +++ b/run/markdown-preview/renderer/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "main": "index.js", "scripts": { diff --git a/run/pubsub/package.json b/run/pubsub/package.json index 10cfed622e..b38ba56d3b 100644 --- a/run/pubsub/package.json +++ b/run/pubsub/package.json @@ -11,7 +11,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node index.js", diff --git a/run/system-package/package.json b/run/system-package/package.json index 0bb91d303c..b423846b85 100644 --- a/run/system-package/package.json +++ b/run/system-package/package.json @@ -10,7 +10,7 @@ "system-test": "c8 mocha -p -j 2 test/system.test.js --timeout=360000 --exit" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "express": "^4.17.1" diff --git a/run/websockets/package.json b/run/websockets/package.json index 20ac8bcfda..11f0e2e62b 100644 --- a/run/websockets/package.json +++ b/run/websockets/package.json @@ -11,7 +11,7 @@ "system-test": "c8 mocha -p -j 2 test/system.test.js --timeout=420000 --exit" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "dependencies": { "@socket.io/redis-adapter": "^8.1.0", diff --git a/scheduler/package.json b/scheduler/package.json index 7fccd3140a..a4409c0d0a 100644 --- a/scheduler/package.json +++ b/scheduler/package.json @@ -3,7 +3,7 @@ "private": true, "main": "quickstart.js", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js", diff --git a/secret-manager/package.json b/secret-manager/package.json index 3c28ece01e..61d6adba7b 100644 --- a/secret-manager/package.json +++ b/secret-manager/package.json @@ -8,7 +8,7 @@ "author": "Google LLC", "repository": "googleapis/nodejs-secret-manager", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 --recursive test/ --timeout=800000" diff --git a/security-center/snippets/package.json b/security-center/snippets/package.json index 6bbaf91ce7..34863e8d29 100644 --- a/security-center/snippets/package.json +++ b/security-center/snippets/package.json @@ -6,7 +6,7 @@ "!system-test/" ], "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test/ --recursive --timeout 6000000" diff --git a/service-directory/snippets/package.json b/service-directory/snippets/package.json index 6aab4a325a..74ed2c631e 100644 --- a/service-directory/snippets/package.json +++ b/service-directory/snippets/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/speech/package.json b/speech/package.json index ef7cc46c38..51ce5f112b 100644 --- a/speech/package.json +++ b/speech/package.json @@ -5,7 +5,7 @@ "author": "Google LLC", "repository": "googleapis/nodejs-speech", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js", diff --git a/storagetransfer/package.json b/storagetransfer/package.json index 62a9e686bd..f2118fd032 100644 --- a/storagetransfer/package.json +++ b/storagetransfer/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/talent/package.json b/talent/package.json index de8dae75ef..7e0670934d 100644 --- a/talent/package.json +++ b/talent/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "repository": "googleapis/nodejs-talent", "private": true, diff --git a/texttospeech/package.json b/texttospeech/package.json index 1e6489be73..0b6887c7d6 100644 --- a/texttospeech/package.json +++ b/texttospeech/package.json @@ -8,7 +8,7 @@ "*.js" ], "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 --timeout=60000" diff --git a/translate/package.json b/translate/package.json index 67db4e79d2..6f25d4b365 100644 --- a/translate/package.json +++ b/translate/package.json @@ -8,7 +8,7 @@ "!test/" ], "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 --recursive --timeout 240000" diff --git a/video-intelligence/package.json b/video-intelligence/package.json index ed2f6cc78b..e3e614b6eb 100644 --- a/video-intelligence/package.json +++ b/video-intelligence/package.json @@ -9,7 +9,7 @@ "author": "Google Inc.", "repository": "googleapis/nodejs-video-intelligence", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 system-test --timeout=800000" diff --git a/vision/package.json b/vision/package.json index 12691d4713..13fec589ac 100644 --- a/vision/package.json +++ b/vision/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "files": [ "*.js" diff --git a/workflows/invoke-private-endpoint/package.json b/workflows/invoke-private-endpoint/package.json index 78f08ec6f5..2d8efd9e1c 100644 --- a/workflows/invoke-private-endpoint/package.json +++ b/workflows/invoke-private-endpoint/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node app.js", diff --git a/workflows/package.json b/workflows/package.json index 7dc1e547a8..be73133591 100644 --- a/workflows/package.json +++ b/workflows/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "build": "tsc -p .", diff --git a/workflows/quickstart/package.json b/workflows/quickstart/package.json index 1007a9690b..7ab8f9f071 100644 --- a/workflows/quickstart/package.json +++ b/workflows/quickstart/package.json @@ -4,7 +4,7 @@ "main": "index.ts", "private": true, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "scripts": { "start": "node index.js",