diff --git a/functions/imagemagick/package.json b/functions/imagemagick/package.json index 10a5af2232b..d53e6549d3c 100644 --- a/functions/imagemagick/package.json +++ b/functions/imagemagick/package.json @@ -9,20 +9,20 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=18.17.0" + "node": ">=20.0.0" }, "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=30000 --exit" }, "dependencies": { - "@google-cloud/storage": "^7.0.0", - "@google-cloud/vision": "^4.0.0", + "@google-cloud/storage": "^8.0.0", + "@google-cloud/vision": "^5.0.0", "sharp": "^0.35.3" }, "devDependencies": { - "@google-cloud/functions-framework": "^3.0.0", - "c8": "^10.0.0", - "gaxios": "^6.0.0", + "@google-cloud/functions-framework": "^4.0.0", + "c8": "^12.0.0", + "gaxios": "^7.0.0", "mocha": "^10.0.0", "proxyquire": "^2.1.0", "sinon": "^18.0.0", diff --git a/functions/log/helloWorld/package.json b/functions/log/helloWorld/package.json index b68e4d64227..4f3bb6291da 100644 --- a/functions/log/helloWorld/package.json +++ b/functions/log/helloWorld/package.json @@ -9,17 +9,17 @@ "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" }, "devDependencies": { - "c8": "^10.0.0", + "c8": "^12.0.0", "mocha": "^10.0.0", "sinon": "^18.0.0" }, "dependencies": { - "@google-cloud/functions-framework": "^3.1.3" + "@google-cloud/functions-framework": "^4.0.0" } } diff --git a/functions/log/package.json b/functions/log/package.json index feb865c7ad8..a9d84c76734 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 33ba16e8050..c4653ed18d8 100644 --- a/functions/log/processEntry/package.json +++ b/functions/log/processEntry/package.json @@ -9,13 +9,13 @@ "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" }, "devDependencies": { - "c8": "^10.0.0", + "c8": "^12.0.0", "mocha": "^10.0.0", "proxyquire": "^2.1.0", "sinon": "^18.0.0" diff --git a/functions/memorystore/redis/package.json b/functions/memorystore/redis/package.json index d3e29814a63..48fa924018c 100644 --- a/functions/memorystore/redis/package.json +++ b/functions/memorystore/redis/package.json @@ -9,18 +9,18 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" }, "main": "index.js", "scripts": { "test": "c8 mocha -p -j 2 test/*.test.js --timeout=20000 --exit" }, "dependencies": { - "@google-cloud/functions-framework": "^3.1.2", + "@google-cloud/functions-framework": "^4.0.0", "redis": "^4.0.0" }, "devDependencies": { - "c8": "^10.0.0", + "c8": "^12.0.0", "mocha": "^10.0.0", "sinon": "^18.0.0" } diff --git a/functions/ocr/app/package.json b/functions/ocr/app/package.json index a54096f90a9..dbbae2307f5 100644 --- a/functions/ocr/app/package.json +++ b/functions/ocr/app/package.json @@ -9,19 +9,19 @@ "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" }, "dependencies": { - "@google-cloud/pubsub": "^4.0.0", - "@google-cloud/storage": "^7.0.0", - "@google-cloud/translate": "^8.0.0", - "@google-cloud/vision": "^4.0.0" + "@google-cloud/pubsub": "^5.0.0", + "@google-cloud/storage": "^8.0.0", + "@google-cloud/translate": "^9.0.0", + "@google-cloud/vision": "^5.0.0" }, "devDependencies": { - "c8": "^10.0.0", + "c8": "^12.0.0", "mocha": "^10.0.0", "sinon": "^18.0.0" } diff --git a/functions/pubsub/package.json b/functions/pubsub/package.json index 12e8a55e2ef..d6a152981c9 100644 --- a/functions/pubsub/package.json +++ b/functions/pubsub/package.json @@ -9,14 +9,14 @@ "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" + "@google-cloud/pubsub": "^5.0.0" }, "devDependencies": { - "@google-cloud/functions-framework": "^3.0.0", - "gaxios": "^6.0.0", + "@google-cloud/functions-framework": "^4.0.0", + "gaxios": "^7.0.0", "mocha": "^10.0.0", "sinon": "^18.0.0", "wait-port": "^1.0.4" diff --git a/functions/pubsub/publish/package.json b/functions/pubsub/publish/package.json index cc101b93eff..7138e26ceb4 100644 --- a/functions/pubsub/publish/package.json +++ b/functions/pubsub/publish/package.json @@ -9,18 +9,18 @@ "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" }, "dependencies": { - "@google-cloud/pubsub": "^4.0.0" + "@google-cloud/pubsub": "^5.0.0" }, "devDependencies": { - "@google-cloud/functions-framework": "^3.0.0", - "c8": "^10.0.0", - "gaxios": "^6.0.0", + "@google-cloud/functions-framework": "^5.0.0", + "c8": "^12.0.0", + "gaxios": "^7.0.0", "mocha": "^10.0.0", "sinon": "^18.0.0", "wait-port": "^1.0.4" diff --git a/functions/pubsub/subscribe/package.json b/functions/pubsub/subscribe/package.json index e03880537af..acdd477f85d 100644 --- a/functions/pubsub/subscribe/package.json +++ b/functions/pubsub/subscribe/package.json @@ -9,13 +9,13 @@ "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" }, "devDependencies": { - "c8": "^10.0.0", + "c8": "^12.0.0", "mocha": "^10.0.0", "sinon": "^18.0.0" } diff --git a/functions/scheduleinstance/package.json b/functions/scheduleinstance/package.json index be46d624a11..c69d348e0f6 100644 --- a/functions/scheduleinstance/package.json +++ b/functions/scheduleinstance/package.json @@ -9,19 +9,19 @@ "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" }, "devDependencies": { - "c8": "^10.0.0", + "c8": "^12.0.0", "mocha": "^10.0.0", "proxyquire": "^2.0.0", "sinon": "^18.0.0" }, "dependencies": { - "@google-cloud/functions-framework": "^3.0.0", + "@google-cloud/functions-framework": "^4.0.0", "@google-cloud/sql": "^0.20.1" } } diff --git a/functions/security/package.json b/functions/security/package.json index cce668cb473..21ebcea43dc 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" @@ -18,7 +18,7 @@ "node-fetch": "^3.0.0" }, "devDependencies": { - "c8": "^10.0.0", + "c8": "^12.0.0", "mocha": "^10.0.0", "proxyquire": "^2.1.3", "sinon": "^18.0.0" diff --git a/functions/slack/package.json b/functions/slack/package.json index d38714e8d9a..4448a1b409e 100644 --- a/functions/slack/package.json +++ b/functions/slack/package.json @@ -9,17 +9,17 @@ "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" }, "dependencies": { - "@google-cloud/functions-framework": "^3.1.0", - "@googleapis/kgsearch": "^1.0.0" + "@google-cloud/functions-framework": "^4.0.0", + "@googleapis/kgsearch": "^4.0.0" }, "devDependencies": { - "c8": "^10.0.0", + "c8": "^12.0.0", "mocha": "^10.0.0", "nock": "^13.5.6", "proxyquire": "^2.1.0", diff --git a/functions/spanner/package.json b/functions/spanner/package.json index 774867f929c..b8858d97ecf 100644 --- a/functions/spanner/package.json +++ b/functions/spanner/package.json @@ -9,17 +9,17 @@ "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" }, "dependencies": { - "@google-cloud/functions-framework": "^3.2.0", - "@google-cloud/spanner": "^7.0.0" + "@google-cloud/functions-framework": "^4.0.0", + "@google-cloud/spanner": "^8.0.0" }, "devDependencies": { - "c8": "^10.0.0", + "c8": "^12.0.0", "mocha": "^10.0.0", "proxyquire": "^2.1.0", "sinon": "^18.0.0"