From ebf6987891e74a3875b2c74249a5a282a09706c5 Mon Sep 17 00:00:00 2001 From: Tony Pujals Date: Thu, 5 Dec 2024 07:53:52 -0800 Subject: [PATCH] build: set node engine to 22.x --- ai-platform/snippets/package.json | 2 +- appengine/analytics/package.json | 2 +- appengine/building-an-app/build/package.json | 2 +- appengine/building-an-app/update/package.json | 2 +- appengine/datastore/package.json | 2 +- appengine/endpoints/package.json | 2 +- appengine/hello-world/flexible/package.json | 2 +- .../hello-world/flexible_nodejs16_and_earlier/package.json | 2 +- appengine/hello-world/standard/package.json | 2 +- appengine/memcached/package.json | 2 +- appengine/metadata/flexible/package.json | 2 +- appengine/metadata/flexible_nodejs16_and_earlier/package.json | 2 +- appengine/metadata/standard/package.json | 2 +- appengine/pubsub/package.json | 2 +- appengine/static-files/package.json | 2 +- appengine/storage/flexible/package.json | 2 +- appengine/storage/flexible_nodejs16_and_earlier/package.json | 2 +- appengine/storage/standard/package.json | 2 +- appengine/typescript/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 | 2 +- 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 +- .../v2/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 +- 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 +- media/video-stitcher/package.json | 2 +- mediatranslation/package.json | 2 +- memorystore/redis/package.json | 2 +- monitoring/snippets/package.json | 2 +- opencensus/package.json | 2 +- package.json | 2 +- recaptcha_enterprise/demosite/app/package.json | 2 +- recaptcha_enterprise/snippets/package.json | 2 +- renovate.json | 2 +- retail/package.json | 4 ++-- routeoptimization/snippets/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 +- tpu/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 +- 174 files changed, 175 insertions(+), 175 deletions(-) diff --git a/ai-platform/snippets/package.json b/ai-platform/snippets/package.json index c31da3d140..b62fb56cf7 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": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/appengine/analytics/package.json b/appengine/analytics/package.json index 32fe6d1a12..11f2f6f4ed 100644 --- a/appengine/analytics/package.json +++ b/appengine/analytics/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node app.js", diff --git a/appengine/building-an-app/build/package.json b/appengine/building-an-app/build/package.json index ae96145433..693eb4596a 100644 --- a/appengine/building-an-app/build/package.json +++ b/appengine/building-an-app/build/package.json @@ -14,7 +14,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "author": "Google Inc.", "license": "Apache-2.0", diff --git a/appengine/building-an-app/update/package.json b/appengine/building-an-app/update/package.json index ef38da078a..114bd30629 100644 --- a/appengine/building-an-app/update/package.json +++ b/appengine/building-an-app/update/package.json @@ -14,7 +14,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "author": "Google Inc.", "license": "Apache-2.0", diff --git a/appengine/datastore/package.json b/appengine/datastore/package.json index 51ea96b7df..81b10a2e0b 100644 --- a/appengine/datastore/package.json +++ b/appengine/datastore/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node app.js", diff --git a/appengine/endpoints/package.json b/appengine/endpoints/package.json index 56ed13c485..92cbe3f02a 100644 --- a/appengine/endpoints/package.json +++ b/appengine/endpoints/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "deploy": "gcloud app deploy", diff --git a/appengine/hello-world/flexible/package.json b/appengine/hello-world/flexible/package.json index 516980081e..e25815b783 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node app.js", diff --git a/appengine/hello-world/flexible_nodejs16_and_earlier/package.json b/appengine/hello-world/flexible_nodejs16_and_earlier/package.json index b16bd03b6b..920a0487fe 100644 --- a/appengine/hello-world/flexible_nodejs16_and_earlier/package.json +++ b/appengine/hello-world/flexible_nodejs16_and_earlier/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node app.js", diff --git a/appengine/hello-world/standard/package.json b/appengine/hello-world/standard/package.json index 7f8ce3a12c..c6d2dcd220 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node app.js", diff --git a/appengine/memcached/package.json b/appengine/memcached/package.json index 9e3f3d9572..2ecc28ad52 100644 --- a/appengine/memcached/package.json +++ b/appengine/memcached/package.json @@ -6,7 +6,7 @@ "license": "Apache Version 2.0", "author": "Google Inc.", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node app.js", diff --git a/appengine/metadata/flexible/package.json b/appengine/metadata/flexible/package.json index 3fa6a1088c..ab464d5c82 100644 --- a/appengine/metadata/flexible/package.json +++ b/appengine/metadata/flexible/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "system-test": "c8 mocha -p -j 2 --exit test/*.test.js", diff --git a/appengine/metadata/flexible_nodejs16_and_earlier/package.json b/appengine/metadata/flexible_nodejs16_and_earlier/package.json index a3a803f0c5..acea49dfd8 100644 --- a/appengine/metadata/flexible_nodejs16_and_earlier/package.json +++ b/appengine/metadata/flexible_nodejs16_and_earlier/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "system-test": "c8 mocha -p -j 2 --exit test/*.test.js", diff --git a/appengine/metadata/standard/package.json b/appengine/metadata/standard/package.json index c06938bc01..129701d191 100644 --- a/appengine/metadata/standard/package.json +++ b/appengine/metadata/standard/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "system-test": "c8 mocha -p -j 2 --exit test/*.test.js", diff --git a/appengine/pubsub/package.json b/appengine/pubsub/package.json index 532bcf6099..b8f382a2db 100644 --- a/appengine/pubsub/package.json +++ b/appengine/pubsub/package.json @@ -6,7 +6,7 @@ "license": "Apache Version 2.0", "author": "Google Inc.", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node app.js", diff --git a/appengine/static-files/package.json b/appengine/static-files/package.json index 540064cf7d..2441010525 100644 --- a/appengine/static-files/package.json +++ b/appengine/static-files/package.json @@ -6,7 +6,7 @@ "license": "Apache Version 2.0", "author": "Google Inc.", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node app.js", diff --git a/appengine/storage/flexible/package.json b/appengine/storage/flexible/package.json index df0cf4b2a6..b1f7f96b4e 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/storage": "^7.0.0", diff --git a/appengine/storage/flexible_nodejs16_and_earlier/package.json b/appengine/storage/flexible_nodejs16_and_earlier/package.json index 94b2e804db..32fbe1496d 100644 --- a/appengine/storage/flexible_nodejs16_and_earlier/package.json +++ b/appengine/storage/flexible_nodejs16_and_earlier/package.json @@ -6,7 +6,7 @@ "test": "c8 mocha -p -j 2 system-test/*.test.js --exit --timeout=30000" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/storage": "^7.0.0", diff --git a/appengine/storage/standard/package.json b/appengine/storage/standard/package.json index df0cf4b2a6..b1f7f96b4e 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/storage": "^7.0.0", diff --git a/appengine/typescript/package.json b/appengine/typescript/package.json index 7f14ff838d..b09133d51f 100644 --- a/appengine/typescript/package.json +++ b/appengine/typescript/package.json @@ -6,7 +6,7 @@ "license": "Apache Version 2.0", "author": "Google Inc.", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "prepare": "npm run gcp-build", diff --git a/appengine/websockets/package.json b/appengine/websockets/package.json index 22e29c044e..dd79202559 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "deploy": "gcloud app deploy", diff --git a/asset/snippets/package.json b/asset/snippets/package.json index dc215ea2cd..05042cd682 100644 --- a/asset/snippets/package.json +++ b/asset/snippets/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/auth/package.json b/auth/package.json index c80b6cfac1..01d86c1dcc 100644 --- a/auth/package.json +++ b/auth/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "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 2aad02040a..b3c72de6ba 100644 --- a/automl/package.json +++ b/automl/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "repository": "googleapis/nodejs-automl", "private": true, diff --git a/batch/package.json b/batch/package.json index ce9332b439..a53549f485 100644 --- a/batch/package.json +++ b/batch/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/cloud-language/package.json b/cloud-language/package.json index e3be6ead36..909b9181b1 100644 --- a/cloud-language/package.json +++ b/cloud-language/package.json @@ -3,7 +3,7 @@ "license": "Apache-2.0", "author": "Google Inc.", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "repository": "googleapis/nodejs-language", "private": true, diff --git a/cloud-sql/mysql/mysql/package.json b/cloud-sql/mysql/mysql/package.json index 7ed70ddcbc..9d8d7e6348 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node server/server.js", diff --git a/cloud-sql/mysql/mysql2/package.json b/cloud-sql/mysql/mysql2/package.json index 0f52208102..4a5400aa5b 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node server/server.js", diff --git a/cloud-sql/postgres/knex/package.json b/cloud-sql/postgres/knex/package.json index f96ce208be..b3b22cbff6 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node server/server.js", diff --git a/cloud-sql/sqlserver/mssql/package.json b/cloud-sql/sqlserver/mssql/package.json index fb709bd2bc..e87dcc4c5e 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node server/server.js", diff --git a/cloud-sql/sqlserver/tedious/package.json b/cloud-sql/sqlserver/tedious/package.json index 6395cb1c47..f2e85c588e 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node server/server.js", diff --git a/cloud-tasks/snippets/package.json b/cloud-tasks/snippets/package.json index 5777c98465..cdaf63ad72 100644 --- a/cloud-tasks/snippets/package.json +++ b/cloud-tasks/snippets/package.json @@ -5,7 +5,7 @@ "author": "Google Inc.", "private": true, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/cloud-tasks/tutorial-gcf/app/package.json b/cloud-tasks/tutorial-gcf/app/package.json index 652362fbb8..6caca78567 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node index.js", diff --git a/cloud-tasks/tutorial-gcf/function/package.json b/cloud-tasks/tutorial-gcf/function/package.json index 04325ae26e..18435f373f 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/cloudbuild/package.json b/cloudbuild/package.json index 746be9024f..66ff169e86 100644 --- a/cloudbuild/package.json +++ b/cloudbuild/package.json @@ -9,7 +9,7 @@ "author": "Google Inc.", "repository": "googleapis/nodejs-cloudbuild", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "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 5245081c55..226fd3cb2e 100644 --- a/composer/functions/composer-storage-trigger/package.json +++ b/composer/functions/composer-storage-trigger/package.json @@ -6,7 +6,7 @@ "node-fetch": "^2.7.0" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "private": true, "license": "Apache-2.0", diff --git a/composer/package.json b/composer/package.json index c6c20382a6..956c319d78 100644 --- a/composer/package.json +++ b/composer/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 --exit test/*.test.js" diff --git a/compute/package.json b/compute/package.json index 9b19fb140a..8255131923 100644 --- a/compute/package.json +++ b/compute/package.json @@ -3,7 +3,7 @@ "license": "Apache-2.0", "author": "Google Inc.", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "repository": "googleapis/nodejs-compute", "private": true, diff --git a/contact-center-insights/package.json b/contact-center-insights/package.json index 0d42fc9fae..143bc6faa6 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": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/container-analysis/snippets/package.json b/container-analysis/snippets/package.json index be680b6fc2..ece5d7904a 100644 --- a/container-analysis/snippets/package.json +++ b/container-analysis/snippets/package.json @@ -8,7 +8,7 @@ "*.js" ], "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 --timeout 100000 test/**.test.js" diff --git a/container/package.json b/container/package.json index f80b3b9153..891e583218 100644 --- a/container/package.json +++ b/container/package.json @@ -3,7 +3,7 @@ "license": "Apache-2.0", "author": "Google Inc.", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "repository": "googleapis/nodejs-cloud-container", "private": true, diff --git a/datacatalog/cloud-client/package.json b/datacatalog/cloud-client/package.json index 8a9a10d121..623e0ddbdd 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": ">=18.0.0" + "node": "22.x" }, "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 78c2501f4a..8be9a679d3 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": ">=18.0.0" + "node": "22.x" }, "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 d59dec5604..f98117c62d 100644 --- a/datacatalog/snippets/package.json +++ b/datacatalog/snippets/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "repository": "googleapis/nodejs-datacatalog", "private": true, diff --git a/datalabeling/package.json b/datalabeling/package.json index 66c1eddbad..ab1a876b98 100644 --- a/datalabeling/package.json +++ b/datalabeling/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js", diff --git a/dataproc/package.json b/dataproc/package.json index 139091661c..84029bc76d 100644 --- a/dataproc/package.json +++ b/dataproc/package.json @@ -6,7 +6,7 @@ "*.js" ], "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "repository": "googleapis/nodejs-dataproc", "private": true, diff --git a/datastore/functions/package.json b/datastore/functions/package.json index e551fe3d93..440dbf64d8 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": ">=18.0.0" + "node": "22.x" }, "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 4b2769bf38..79b4932187 100644 --- a/dialogflow-cx/package.json +++ b/dialogflow-cx/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/dialogflow/package.json b/dialogflow/package.json index 97a57965da..3d1bea6812 100644 --- a/dialogflow/package.json +++ b/dialogflow/package.json @@ -9,7 +9,7 @@ "resources" ], "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 system-test --timeout=600000" diff --git a/discoveryengine/package.json b/discoveryengine/package.json index d8ec47900f..c9187005bb 100644 --- a/discoveryengine/package.json +++ b/discoveryengine/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/dlp/package.json b/dlp/package.json index f8d3e8b2e0..3274ecb3af 100644 --- a/dlp/package.json +++ b/dlp/package.json @@ -9,7 +9,7 @@ "*.js" ], "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "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 e39eb1ebd8..b2dd6baf1d 100644 --- a/document-ai/package.json +++ b/document-ai/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/endpoints/getting-started-grpc/package.json b/endpoints/getting-started-grpc/package.json index 51ba5c45f3..c8a664747c 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node server.js", diff --git a/endpoints/getting-started/package.json b/endpoints/getting-started/package.json index cb4fdb7901..f18085940a 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node app.js", diff --git a/error-reporting/package.json b/error-reporting/package.json index 41b6a6b6e7..4ad7d6472f 100644 --- a/error-reporting/package.json +++ b/error-reporting/package.json @@ -9,7 +9,7 @@ "!test/" ], "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 --timeout=600000" diff --git a/eventarc/audit-storage/package.json b/eventarc/audit-storage/package.json index e35c1653e4..144a8eff69 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node index.js", diff --git a/eventarc/generic/package.json b/eventarc/generic/package.json index ca88cede6f..df46376886 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node index.js", diff --git a/eventarc/pubsub/package.json b/eventarc/pubsub/package.json index a8e0509f42..30d017ab81 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node index.js", diff --git a/functions/billing/package.json b/functions/billing/package.json index 51aed956ad..4c0c950556 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": ">=18.0.0" + "node": "22.x" }, "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 b6c4dc7b2f..0cac164270 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3" diff --git a/functions/concepts/afterTimeout/package.json b/functions/concepts/afterTimeout/package.json index de669af5f2..a27c4b4494 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3" diff --git a/functions/concepts/backgroundTermination/package.json b/functions/concepts/backgroundTermination/package.json index 05620d8489..40371bab29 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "echo \"No tests exist for this sample.\"" diff --git a/functions/concepts/filesystem/package.json b/functions/concepts/filesystem/package.json index ce4e09eb7c..81464f2ed1 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.2" diff --git a/functions/concepts/httpTermination/package.json b/functions/concepts/httpTermination/package.json index 6ce0f55702..7281a4a9b8 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3" diff --git a/functions/concepts/package.json b/functions/concepts/package.json index f4a9785dc6..3a8b7d7df2 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "node-fetch": "^2.7.0" diff --git a/functions/concepts/requests/package.json b/functions/concepts/requests/package.json index b0789344ad..ba7483c3ad 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3", diff --git a/functions/concepts/stateless/package.json b/functions/concepts/stateless/package.json index d674179490..d31ecca54b 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3" diff --git a/functions/env_vars/package.json b/functions/env_vars/package.json index cf1c372c8a..54aa9340f5 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": ">=18.0.0" + "node": "22.x" }, "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 fb704f08be..d40f2ea690 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": ">=18.0.0" + "node": "22.x" }, "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 362e68d657..a2859d9b1a 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": ">=18.0.0" + "node": "22.x" }, "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 37818e9bd7..e7f38cdc9f 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": ">=18.0.0" + "node": "22.x" }, "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 95946f1171..ec7d2723eb 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": ">=18.0.0" + "node": "22.x" }, "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 f4a648be57..02c6800f60 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": ">=18.0.0" + "node": "22.x" }, "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 98ce45966c..4be6b136c1 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": ">=18.0.0" + "node": "22.x" }, "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 e95ab88e3f..6abe3393dc 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": ">=18.0.0" + "node": "22.x" }, "devDependencies": { "mocha": "^10.0.0", diff --git a/functions/helloworld/helloError/package.json b/functions/helloworld/helloError/package.json index 4b09a0cf67..2a39f28dcd 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": ">=18.0.0" + "node": "22.x" }, "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 e22ca5a4d5..3a9a6cf81f 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": ">=18.0.0" + "node": "22.x" }, "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 cbb85c5333..bf010d9797 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": ">=18.0.0" + "node": "22.x" }, "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 3f52f81c4a..6f6a3c7c85 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": ">=18.0.0" + "node": "22.x" }, "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 0c58284ba6..cc3a9bf345 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": ">=18.0.0" + "node": "22.x" }, "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 b754aeb087..4fa690582a 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/debug-agent": "^9.0.0", diff --git a/functions/http/corsEnabledFunction/package.json b/functions/http/corsEnabledFunction/package.json index acc0c41cef..7e815f8076 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": ">=18.0.0" + "node": "22.x" }, "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 8301a32b45..73b985c164 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": ">=18.0.0" + "node": "22.x" }, "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 51400d4e5f..f3732ae582 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": ">=18.0.0" + "node": "22.x" }, "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 3ea34d1c00..a9ac6f3035 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": ">=18.0.0" + "node": "22.x" }, "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 abec42209e..2349760619 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": ">=18.0.0" + "node": "22.x" }, "devDependencies": { "mocha": "^10.0.0", diff --git a/functions/http/parseXML/package.json b/functions/http/parseXML/package.json index 97830b7005..90e30c6c6a 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": ">=18.0.0" + "node": "22.x" }, "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 1c39922b83..c384627225 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3", diff --git a/functions/imagemagick/package.json b/functions/imagemagick/package.json index d388395138..2b08b1a303 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": ">=18.0.0" + "node": "22.x" }, "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 66b488fd50..cddd0553b7 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": ">=18.0.0" + "node": "22.x" }, "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 5d5d806543..4055689ef5 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": ">=18.0.0" + "node": "22.x" }, "devDependencies": { "mocha": "^10.0.0", diff --git a/functions/log/processEntry/package.json b/functions/log/processEntry/package.json index e07be3647f..fc53c814dd 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": ">=18.0.0" + "node": "22.x" }, "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 6a32367b47..8b9f986b6a 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": ">=18.0.0" + "node": "22.x" }, "main": "index.js", "scripts": { diff --git a/functions/ocr/app/package.json b/functions/ocr/app/package.json index ef540987d9..88de02a7f8 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": ">=18.0.0" + "node": "22.x" }, "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 22ce4490c2..d20727e239 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/pubsub": "^4.0.0" diff --git a/functions/pubsub/publish/package.json b/functions/pubsub/publish/package.json index faf28dc9ae..45d4dab595 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": ">=18.0.0" + "node": "22.x" }, "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 f96d587949..7722c460c2 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": ">=18.0.0" + "node": "22.x" }, "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 fc34016531..b2a230524a 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": ">=18.0.0" + "node": "22.x" }, "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 5ab82624f9..82385d8237 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js" diff --git a/functions/slack/package.json b/functions/slack/package.json index 84ad674bec..70fcfbc66e 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": ">=18.0.0" + "node": "22.x" }, "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 79a99fb450..776b0ad325 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": ">=18.0.0" + "node": "22.x" }, "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 7b7fd58129..e3b618d243 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": ">=18.0.0" + "node": "22.x" }, "repository": { "type": "git", diff --git a/functions/tips/avoidInfiniteRetries/package.json b/functions/tips/avoidInfiniteRetries/package.json index 7e9a5801ec..0649d18db8 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "echo \"No tests exist for this sample.\"" diff --git a/functions/tips/connectionPools/package.json b/functions/tips/connectionPools/package.json index a9a12017e8..15e07e8024 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.2", diff --git a/functions/tips/gcpApiCall/package.json b/functions/tips/gcpApiCall/package.json index 5fce037e9c..c276e3af3b 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": ">=18.0.0" + "node": "22.x" }, "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 81bb65cada..2812ca665b 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/functions-framework": "^3.1.3" diff --git a/functions/tips/package.json b/functions/tips/package.json index 25fd684071..82c6ae298d 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": ">=18.0.0" + "node": "22.x" }, "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 bf14b6702c..31e4cfb40d 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": ">=18.0.0" + "node": "22.x" }, "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 3f923ee62a..dd03850ddc 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": ">=18.0.0" + "node": "22.x" }, "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 73726f0dc8..b4569f7cda 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": ">=18.0.0" + "node": "22.x" }, "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 6aca24f0eb..d20ba0d59d 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": ">=18.0.0" + "node": "22.x" }, "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 ee89d96b6f..d74710fc63 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": ">=18.0.0" + "node": "22.x" }, "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 d4ee84febf..c64e5f6bf0 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": ">=18.0.0" + "node": "22.x" }, "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 36dadba7f8..b3cbf51cbd 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": ">=18.0.0" + "node": "22.x" }, "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 ded4a7ffd8..09cfdf1873 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": ">=18.0.0" + "node": "22.x" }, "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 7ac2b9990b..1451241c90 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": ">=18.0.0" + "node": "22.x" }, "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 b7c7dc679a..e3ea258c45 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": ">=18.0.0" + "node": "22.x" }, "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 9067d540a5..5f11f4f5f9 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": ">=18.0.0" + "node": "22.x" }, "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 311e480281..cffd615d22 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": ">=18.0.0" + "node": "22.x" }, "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 eda3356a0d..532d6ad244 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": ">=18.0.0" + "node": "22.x" }, "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 9e72710044..865aac4df0 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": ">=18.0.0" + "node": "22.x" }, "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 9dc90ac6f8..5a923224a1 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": ">=18.0.0" + "node": "22.x" }, "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 3129a7b6b9..af35ab1cd8 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": ">=18.0.0" + "node": "22.x" }, "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 8a37e7c0fc..ceaae839a7 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": ">=18.0.0" + "node": "22.x" }, "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 d06e07e475..83a48ea071 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": ">=18.0.0" + "node": "22.x" }, "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 d21295f394..8cc2dbdf88 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000 --exit" diff --git a/generative-ai/snippets/package.json b/generative-ai/snippets/package.json index 090b79f635..a40ff3a8a1 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": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/healthcare/consent/package.json b/healthcare/consent/package.json index cee49d2e50..a149b9eee0 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": ">=18.0.0" + "node": "22.x" }, "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 cee49d2e50..a149b9eee0 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": ">=18.0.0" + "node": "22.x" }, "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 b77c77129a..c348337eba 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": ">=18.0.0" + "node": "22.x" }, "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 5eab0ad27e..f793f54601 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": ">=18.0.0" + "node": "22.x" }, "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 64addb5ed5..e87dc2014e 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": ">=18.0.0" + "node": "22.x" }, "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 2540c2428e..f36c2aace2 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/kms/package.json b/kms/package.json index db77831477..2c3e724217 100644 --- a/kms/package.json +++ b/kms/package.json @@ -8,7 +8,7 @@ "author": "Google LLC", "repository": "googleapis/nodejs-kms", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 --recursive test/ --timeout=800000" diff --git a/media/livestream/package.json b/media/livestream/package.json index b2f1898326..6dda1fbd92 100644 --- a/media/livestream/package.json +++ b/media/livestream/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/media/transcoder/package.json b/media/transcoder/package.json index c8fb5157b9..9847504bf1 100644 --- a/media/transcoder/package.json +++ b/media/transcoder/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js", diff --git a/media/video-stitcher/package.json b/media/video-stitcher/package.json index a64a9b732b..162c033f79 100644 --- a/media/video-stitcher/package.json +++ b/media/video-stitcher/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/mediatranslation/package.json b/mediatranslation/package.json index f65606ca04..e9f30fbeb4 100644 --- a/mediatranslation/package.json +++ b/mediatranslation/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/memorystore/redis/package.json b/memorystore/redis/package.json index 97d46f0e94..360b39e6ee 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": ">=18.0.0" + "node": "22.x" }, "dependencies": { "redis": "^4.0.0" diff --git a/monitoring/snippets/package.json b/monitoring/snippets/package.json index a2a2332be2..df3f3b3fde 100644 --- a/monitoring/snippets/package.json +++ b/monitoring/snippets/package.json @@ -8,7 +8,7 @@ "*.js" ], "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 --timeout 600000" diff --git a/opencensus/package.json b/opencensus/package.json index 69b2b69375..3f1dad3378 100644 --- a/opencensus/package.json +++ b/opencensus/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node metrics-quickstart.js", diff --git a/package.json b/package.json index e4146db1c3..0a78cdd3e3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google Inc.", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "repository": { "type": "git", diff --git a/recaptcha_enterprise/demosite/app/package.json b/recaptcha_enterprise/demosite/app/package.json index df2d1d8afa..5438d06704 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": ">=18.0.0" + "node": "22.x" }, "repository": { "type": "git", diff --git a/recaptcha_enterprise/snippets/package.json b/recaptcha_enterprise/snippets/package.json index d290201ef3..a39cdb04b3 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": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js", diff --git a/renovate.json b/renovate.json index 65b850ead9..ea03311dfe 100644 --- a/renovate.json +++ b/renovate.json @@ -21,7 +21,7 @@ ], "force": { "constraints": { - "node": ">=18.0.0" + "node": "22.x" } }, "dependencyDashboardAutoclose": true, diff --git a/retail/package.json b/retail/package.json index f802ea910f..a710ac3812 100644 --- a/retail/package.json +++ b/retail/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" @@ -13,7 +13,7 @@ "test": "c8 mocha -p -j 2" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@google-cloud/bigquery": "^7.0.0", diff --git a/routeoptimization/snippets/package.json b/routeoptimization/snippets/package.json index b56fccbd81..fd44270c67 100644 --- a/routeoptimization/snippets/package.json +++ b/routeoptimization/snippets/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000" diff --git a/run/hello-broken/package.json b/run/hello-broken/package.json index 549e72d767..5c25a0312f 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": ">=18.0.0" + "node": "22.x" }, "author": "Google LLC", "license": "Apache-2.0", diff --git a/run/helloworld/package.docs.json b/run/helloworld/package.docs.json index fa3f7f89f0..c6749059ef 100644 --- a/run/helloworld/package.docs.json +++ b/run/helloworld/package.docs.json @@ -9,7 +9,7 @@ "start": "node index.js" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "author": "Google LLC", "license": "Apache-2.0", diff --git a/run/helloworld/package.json b/run/helloworld/package.json index b5e7afbd18..fc855771a5 100644 --- a/run/helloworld/package.json +++ b/run/helloworld/package.json @@ -11,7 +11,7 @@ }, "type": "module", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "author": "Google LLC", "license": "Apache-2.0", diff --git a/run/idp-sql/package.json b/run/idp-sql/package.json index 85ccc44d59..6c5747d9dd 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node index.js", diff --git a/run/image-processing/package.json b/run/image-processing/package.json index 137306999a..64b6d04b19 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node index.js", diff --git a/run/jobs/package.docs.json b/run/jobs/package.docs.json index 2061b0edf9..7b84477299 100644 --- a/run/jobs/package.docs.json +++ b/run/jobs/package.docs.json @@ -7,7 +7,7 @@ "start": "node index.js" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "author": "Google LLC", "license": "Apache-2.0" diff --git a/run/jobs/package.json b/run/jobs/package.json index 8f911137b6..57250b32c6 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": ">=18.0.0" + "node": "22.x" }, "author": "Google LLC", "license": "Apache-2.0", diff --git a/run/logging-manual/package.json b/run/logging-manual/package.json index eb464b2d3b..54a322552a 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node index.js", diff --git a/run/markdown-preview/editor/package.json b/run/markdown-preview/editor/package.json index b531c77fca..69c4776051 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": ">=18.0.0" + "node": "22.x" }, "main": "main.js", "scripts": { diff --git a/run/markdown-preview/renderer/package.json b/run/markdown-preview/renderer/package.json index af80c6bfb2..986fdf4c90 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": ">=18.0.0" + "node": "22.x" }, "main": "index.js", "scripts": { diff --git a/run/pubsub/package.json b/run/pubsub/package.json index 5bf9989dda..21ffac5071 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node index.js", diff --git a/run/system-package/package.json b/run/system-package/package.json index 506f1ddcd1..461c866c62 100644 --- a/run/system-package/package.json +++ b/run/system-package/package.json @@ -11,7 +11,7 @@ "FIXME-system-test": "c8 mocha -p -j 2 test/system.test.js --timeout=360000 --exit" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "dependencies": { "express": "^4.17.1" diff --git a/run/websockets/package.json b/run/websockets/package.json index dd69ab15a4..38f8ed23fb 100644 --- a/run/websockets/package.json +++ b/run/websockets/package.json @@ -12,7 +12,7 @@ "system-test": "echo \"INFO: system-test temporarily disabled\"" }, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "dependencies": { "@socket.io/redis-adapter": "^8.1.0", diff --git a/scheduler/package.json b/scheduler/package.json index 55f1ceae7a..060404f7c5 100644 --- a/scheduler/package.json +++ b/scheduler/package.json @@ -3,7 +3,7 @@ "private": true, "main": "quickstart.js", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js", diff --git a/secret-manager/package.json b/secret-manager/package.json index fd9e5fe5ba..231ecf8941 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": ">=18.0.0" + "node": "22.x" }, "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 9021b4af5b..2f986ef7cf 100644 --- a/security-center/snippets/package.json +++ b/security-center/snippets/package.json @@ -6,7 +6,7 @@ "!system-test/" ], "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 --recursive --timeout 6000000 system-test/" diff --git a/service-directory/snippets/package.json b/service-directory/snippets/package.json index 71df40fa20..edc92cb623 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": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/speech/package.json b/speech/package.json index 1edc70a9a9..f864be5f40 100644 --- a/speech/package.json +++ b/speech/package.json @@ -5,7 +5,7 @@ "author": "Google LLC", "repository": "googleapis/nodejs-speech", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js", diff --git a/storagetransfer/package.json b/storagetransfer/package.json index b1088d3a60..7a18192954 100644 --- a/storagetransfer/package.json +++ b/storagetransfer/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/talent/package.json b/talent/package.json index e54608fbef..a7b9a60e0e 100644 --- a/talent/package.json +++ b/talent/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "repository": "googleapis/nodejs-talent", "private": true, diff --git a/texttospeech/package.json b/texttospeech/package.json index b5b2412730..39d37cba99 100644 --- a/texttospeech/package.json +++ b/texttospeech/package.json @@ -8,7 +8,7 @@ "*.js" ], "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 --timeout=60000", diff --git a/tpu/package.json b/tpu/package.json index f42b8d9e5b..c80cb683d8 100644 --- a/tpu/package.json +++ b/tpu/package.json @@ -3,7 +3,7 @@ "license": "Apache-2.0", "author": "Google Inc.", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "repository": "googleapis/nodejs-tpu", "private": true, diff --git a/translate/package.json b/translate/package.json index 43103c900d..32332cac2a 100644 --- a/translate/package.json +++ b/translate/package.json @@ -8,7 +8,7 @@ "!test/" ], "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 --recursive --timeout 240000" diff --git a/video-intelligence/package.json b/video-intelligence/package.json index 4957c4e037..90b6c3edf3 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "test": "c8 mocha -p -j 2 system-test --timeout=800000" diff --git a/vision/package.json b/vision/package.json index 35edc3132d..0786a3890b 100644 --- a/vision/package.json +++ b/vision/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "files": [ "*.js" diff --git a/workflows/invoke-private-endpoint/package.json b/workflows/invoke-private-endpoint/package.json index ef2f66ce2c..6656da7f64 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": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node app.js", diff --git a/workflows/package.json b/workflows/package.json index 064e774a4f..e752d7080b 100644 --- a/workflows/package.json +++ b/workflows/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "Google LLC", "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "build": "tsc -p .", diff --git a/workflows/quickstart/package.json b/workflows/quickstart/package.json index 107c05610c..f6e14b0d6d 100644 --- a/workflows/quickstart/package.json +++ b/workflows/quickstart/package.json @@ -4,7 +4,7 @@ "main": "index.ts", "private": true, "engines": { - "node": ">=18.0.0" + "node": "22.x" }, "scripts": { "start": "node index.js",