From 479b3952cf2497cddce3c4a1f78842bbf7fe14ef Mon Sep 17 00:00:00 2001 From: alexcibotari Date: Tue, 24 Sep 2024 10:45:32 +0200 Subject: [PATCH] update cloudbuild --- cloudbuild.yaml | 2 +- functions/package-lock.json | 32 ++++++++++++++++---------------- functions/package.json | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index dbbb4fd8..e11628e8 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -26,7 +26,7 @@ steps: # deploy to firebase - name: gcr.io/$PROJECT_ID/firebase id: 'firebase-deploy' - args: ['deploy', '--project=$PROJECT_ID', '--only=hosting,functions,storage,firestore', '--force'] + args: ['deploy', '--project=$PROJECT_ID', '--only=hosting,functions,storage,firestore', '--force', '--binary-authorization=default'] - name: 'gcr.io/cloud-builders/gsutil' id: 'gsutil-cors' args: ['cors', 'set', 'cors.json', 'gs://${_LOCALESS_FIREBASE_STORAGE_BUCKET}'] diff --git a/functions/package-lock.json b/functions/package-lock.json index 6c14b88d..148f7cc0 100644 --- a/functions/package-lock.json +++ b/functions/package-lock.json @@ -13,7 +13,7 @@ "cors": "^2.8.5", "express": "^4.21.0", "firebase-admin": "^12.5.0", - "firebase-functions": "^5.1.1", + "firebase-functions": "^6.0.1", "sharp": "^0.33.5", "stripe": "^16.12.0", "uuid": "^10.0.0", @@ -815,9 +815,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", "dev": true, "license": "MIT", "engines": { @@ -1069,14 +1069,14 @@ } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", "deprecated": "Use @eslint/config-array instead", "dev": true, "license": "Apache-2.0", "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", + "@humanwhocodes/object-schema": "^2.0.3", "debug": "^4.3.1", "minimatch": "^3.0.5" }, @@ -4096,17 +4096,17 @@ } }, "node_modules/eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -4851,9 +4851,9 @@ } }, "node_modules/firebase-functions": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-5.1.1.tgz", - "integrity": "sha512-KkyKZE98Leg/C73oRyuUYox04PQeeBThdygMfeX+7t1cmKWYKa/ZieYa89U8GHgED+0mF7m7wfNZOfbURYxIKg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-6.0.1.tgz", + "integrity": "sha512-0rIpTU6dnLRvP3IK+okn1FDjoqjzShm0/S+i4OMY7JFu/HJoyJ1JNkrT4KjECy1/mCHK49KsmH8iYE0rzrglHg==", "license": "MIT", "dependencies": { "@types/cors": "^2.8.5", diff --git a/functions/package.json b/functions/package.json index 0e5c756d..44a38025 100644 --- a/functions/package.json +++ b/functions/package.json @@ -24,7 +24,7 @@ "cors": "^2.8.5", "express": "^4.21.0", "firebase-admin": "^12.5.0", - "firebase-functions": "^5.1.1", + "firebase-functions": "^6.0.1", "sharp": "^0.33.5", "stripe": "^16.12.0", "uuid": "^10.0.0",