From fdbfc469d40fdc9979efa2b18ec2717826c23715 Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Tue, 12 Mar 2024 10:05:13 -0400 Subject: [PATCH] update to v20 node, upgrade firebase-functions --- functions/package-lock.json | 18 +++++++++--------- functions/package.json | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/functions/package-lock.json b/functions/package-lock.json index 0b4b7e1..638d881 100644 --- a/functions/package-lock.json +++ b/functions/package-lock.json @@ -10,7 +10,7 @@ "csv-string": "^4.1.1", "express": "^4.18.2", "firebase-admin": "^11.9.0", - "firebase-functions": "^4.4.0", + "firebase-functions": "^4.8.0", "is-base64": "^1.1.0", "joi": "^17.7.0", "node-fetch": "^3.2.10" @@ -19,7 +19,7 @@ "firebase-functions-test": "^3.0.0" }, "engines": { - "node": "16" + "node": "20" } }, "node_modules/@ampproject/remapping": { @@ -2900,9 +2900,9 @@ } }, "node_modules/firebase-functions": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-4.4.0.tgz", - "integrity": "sha512-Vdkr9/y/UKQez//cPm2Iu/9CeayqQ2tQF6o3KXozDDBokK9AOlAalVHImCpKo6nWptT/ncZ8djJFk5cR8l+E+A==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-4.8.0.tgz", + "integrity": "sha512-8+Tgofl/w7reVVzJ1CSVPYwSRwmOMV8fACDdUkytoEP//wKb9olloMptKg2GahUbs6jHAIbT+B/jeMch4ouHQQ==", "dependencies": { "@types/cors": "^2.8.5", "@types/express": "4.17.3", @@ -2918,7 +2918,7 @@ "node": ">=14.10.0" }, "peerDependencies": { - "firebase-admin": "^10.0.0 || ^11.0.0" + "firebase-admin": "^10.0.0 || ^11.0.0 || ^12.0.0" } }, "node_modules/firebase-functions-test": { @@ -8585,9 +8585,9 @@ } }, "firebase-functions": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-4.4.0.tgz", - "integrity": "sha512-Vdkr9/y/UKQez//cPm2Iu/9CeayqQ2tQF6o3KXozDDBokK9AOlAalVHImCpKo6nWptT/ncZ8djJFk5cR8l+E+A==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-4.8.0.tgz", + "integrity": "sha512-8+Tgofl/w7reVVzJ1CSVPYwSRwmOMV8fACDdUkytoEP//wKb9olloMptKg2GahUbs6jHAIbT+B/jeMch4ouHQQ==", "requires": { "@types/cors": "^2.8.5", "@types/express": "4.17.3", diff --git a/functions/package.json b/functions/package.json index 6270636..6bbc9a2 100644 --- a/functions/package.json +++ b/functions/package.json @@ -9,7 +9,7 @@ "logs": "firebase functions:log" }, "engines": { - "node": "16" + "node": "20" }, "main": "index.js", "type": "module", @@ -18,7 +18,7 @@ "csv-string": "^4.1.1", "express": "^4.18.2", "firebase-admin": "^11.9.0", - "firebase-functions": "^4.4.0", + "firebase-functions": "^4.8.0", "is-base64": "^1.1.0", "joi": "^17.7.0", "node-fetch": "^3.2.10"