From cd6ae51ab3921e5cf93a7faf64138a1d24566d1a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 24 Feb 2020 13:28:17 +0000 Subject: [PATCH 1/2] chore(deps): update dependency uuid to v7 --- appengine/pubsub/package.json | 2 +- datacatalog/cloud-client/package.json | 2 +- datacatalog/quickstart/package.json | 2 +- datastore/functions/package.json | 2 +- functions/firebase/package.json | 2 +- functions/helloworld/package.json | 2 +- functions/http/package.json | 2 +- functions/node8/package.json | 2 +- functions/sendgrid/package.json | 2 +- functions/speech-to-speech/functions/package.json | 2 +- healthcare/datasets/package.json | 2 +- healthcare/dicom/package.json | 2 +- healthcare/fhir/package.json | 2 +- healthcare/hl7v2/package.json | 2 +- iot/http_example/package.json | 2 +- iot/manager/package.json | 2 +- iot/mqtt_example/package.json | 2 +- jobs/v3/package.json | 2 +- run/pubsub/package.json | 2 +- storage-transfer/package.json | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/appengine/pubsub/package.json b/appengine/pubsub/package.json index 8b59c089a1..e024f7043a 100644 --- a/appengine/pubsub/package.json +++ b/appengine/pubsub/package.json @@ -24,7 +24,7 @@ "jsonwebtoken": "^8.5.1", "mocha": "^7.0.0", "sinon": "^9.0.0", - "uuid": "^3.3.2" + "uuid": "^7.0.0" }, "cloud-repo-tools": { "requiresProjectId": true, diff --git a/datacatalog/cloud-client/package.json b/datacatalog/cloud-client/package.json index a51a50f9b1..33dcb66a93 100644 --- a/datacatalog/cloud-client/package.json +++ b/datacatalog/cloud-client/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "mocha": "^7.0.0", - "uuid": "^3.1.0" + "uuid": "^7.0.0" }, "dependencies": { "@google-cloud/datacatalog": "^1.3.0" diff --git a/datacatalog/quickstart/package.json b/datacatalog/quickstart/package.json index c06cdaa088..835d5e789e 100644 --- a/datacatalog/quickstart/package.json +++ b/datacatalog/quickstart/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "mocha": "^7.0.0", - "uuid": "^3.1.0" + "uuid": "^7.0.0" }, "dependencies": { "@google-cloud/datacatalog": "^1.7.0" diff --git a/datastore/functions/package.json b/datastore/functions/package.json index a69d759567..cf59d0a612 100644 --- a/datastore/functions/package.json +++ b/datastore/functions/package.json @@ -26,6 +26,6 @@ "request": "^2.88.0", "requestretry": "^4.0.0", "sinon": "^9.0.0", - "uuid": "^3.3.2" + "uuid": "^7.0.0" } } diff --git a/functions/firebase/package.json b/functions/firebase/package.json index e655d339e0..2e6aef1433 100644 --- a/functions/firebase/package.json +++ b/functions/firebase/package.json @@ -20,7 +20,7 @@ "proxyquire": "^2.1.0", "sinon": "^9.0.0", "supertest": "^4.0.0", - "uuid": "^3.1.0" + "uuid": "^7.0.0" }, "dependencies": { "@google-cloud/firestore": "^3.0.0" diff --git a/functions/helloworld/package.json b/functions/helloworld/package.json index becdc7dc77..cc7e955230 100644 --- a/functions/helloworld/package.json +++ b/functions/helloworld/package.json @@ -36,7 +36,7 @@ "request": "^2.88.0", "requestretry": "^4.0.0", "sinon": "^9.0.0", - "uuid": "^3.1.0", + "uuid": "^7.0.0", "yargs": "^15.0.0" }, "cloud-repo-tools": { diff --git a/functions/http/package.json b/functions/http/package.json index e91ec35f96..75f7915bdf 100644 --- a/functions/http/package.json +++ b/functions/http/package.json @@ -19,7 +19,7 @@ "mocha": "^7.0.0", "proxyquire": "^2.1.0", "sinon": "^9.0.0", - "uuid": "^3.3.2" + "uuid": "^7.0.0" }, "dependencies": { "@google-cloud/storage": "^4.0.0", diff --git a/functions/node8/package.json b/functions/node8/package.json index 9ef1665428..a96e64f2e0 100644 --- a/functions/node8/package.json +++ b/functions/node8/package.json @@ -22,7 +22,7 @@ "mocha": "^7.0.0", "proxyquire": "^2.1.0", "sinon": "^9.0.0", - "uuid": "^3.3.2" + "uuid": "^7.0.0" }, "dependencies": { "@google-cloud/firestore": "^3.0.0", diff --git a/functions/sendgrid/package.json b/functions/sendgrid/package.json index 6ba54c50e0..a6892b26e3 100644 --- a/functions/sendgrid/package.json +++ b/functions/sendgrid/package.json @@ -18,7 +18,7 @@ "@google-cloud/bigquery": "^4.0.0", "@google-cloud/storage": "^4.0.0", "sendgrid": "^5.2.3", - "uuid": "^3.3.2" + "uuid": "^7.0.0" }, "devDependencies": { "@google-cloud/nodejs-repo-tools": "^3.3.0", diff --git a/functions/speech-to-speech/functions/package.json b/functions/speech-to-speech/functions/package.json index 635bd93594..737a9e8eeb 100644 --- a/functions/speech-to-speech/functions/package.json +++ b/functions/speech-to-speech/functions/package.json @@ -37,7 +37,7 @@ "@google-cloud/storage": "^4.0.0", "@google-cloud/text-to-speech": "^2.0.0", "@google-cloud/translate": "^5.0.0", - "uuid": "^3.3.2", + "uuid": "^7.0.0", "firebase-admin": "^8.0.0", "firebase-functions": "^3.0.0" }, diff --git a/healthcare/datasets/package.json b/healthcare/datasets/package.json index 0e8bb678b5..f6b70639ed 100644 --- a/healthcare/datasets/package.json +++ b/healthcare/datasets/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "googleapis": "^47.0.0", - "uuid": "^3.3.2", + "uuid": "^7.0.0", "yargs": "^15.0.0" }, "cloud-repo-tools": { diff --git a/healthcare/dicom/package.json b/healthcare/dicom/package.json index d510c6efe0..4afa145dc0 100644 --- a/healthcare/dicom/package.json +++ b/healthcare/dicom/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "googleapis": "^47.0.0", - "uuid": "^3.3.2", + "uuid": "^7.0.0", "yargs": "^15.0.0", "gtoken": "^4.0.0", "request": "^2.87.0", diff --git a/healthcare/fhir/package.json b/healthcare/fhir/package.json index b933c268dd..3b53c12961 100644 --- a/healthcare/fhir/package.json +++ b/healthcare/fhir/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "googleapis": "^47.0.0", - "uuid": "^3.3.2", + "uuid": "^7.0.0", "yargs": "^15.0.0", "gtoken": "^4.0.0", "request": "^2.87.0", diff --git a/healthcare/hl7v2/package.json b/healthcare/hl7v2/package.json index 17ea55dc62..f115ac7fa2 100644 --- a/healthcare/hl7v2/package.json +++ b/healthcare/hl7v2/package.json @@ -18,7 +18,7 @@ }, "dependencies": { "googleapis": "^47.0.0", - "uuid": "^3.3.2", + "uuid": "^7.0.0", "yargs": "^15.0.0" }, "cloud-repo-tools": { diff --git a/iot/http_example/package.json b/iot/http_example/package.json index df70d08dbf..80271debd1 100644 --- a/iot/http_example/package.json +++ b/iot/http_example/package.json @@ -27,6 +27,6 @@ "@google-cloud/pubsub": "^1.0.0", "googleapis": "^47.0.0", "mocha": "^7.0.0", - "uuid": "^3.3.2" + "uuid": "^7.0.0" } } diff --git a/iot/manager/package.json b/iot/manager/package.json index 22ecef3ffd..a8d6c462a6 100644 --- a/iot/manager/package.json +++ b/iot/manager/package.json @@ -25,7 +25,7 @@ "devDependencies": { "@google-cloud/nodejs-repo-tools": "^3.3.0", "mocha": "^7.0.0", - "uuid": "^3.3.2" + "uuid": "^7.0.0" }, "cloud-repo-tools": { "requiresKeyFile": true, diff --git a/iot/mqtt_example/package.json b/iot/mqtt_example/package.json index 03e8eeddf5..f0b78f4482 100644 --- a/iot/mqtt_example/package.json +++ b/iot/mqtt_example/package.json @@ -26,6 +26,6 @@ "@google-cloud/nodejs-repo-tools": "^3.3.0", "@google-cloud/pubsub": "^1.0.0", "mocha": "^7.0.0", - "uuid": "^3.3.2" + "uuid": "^7.0.0" } } diff --git a/jobs/v3/package.json b/jobs/v3/package.json index f5725c339d..c0997ba6e2 100644 --- a/jobs/v3/package.json +++ b/jobs/v3/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "googleapis": "^47.0.0", - "uuid": "^3.3.2", + "uuid": "^7.0.0", "yargs": "^15.0.0" }, "devDependencies": { diff --git a/run/pubsub/package.json b/run/pubsub/package.json index b4c8cb5af9..8c596d2ece 100644 --- a/run/pubsub/package.json +++ b/run/pubsub/package.json @@ -25,6 +25,6 @@ "mocha": "^7.0.0", "sinon": "^9.0.0", "supertest": "^4.0.2", - "uuid": "^3.3.2" + "uuid": "^7.0.0" } } diff --git a/storage-transfer/package.json b/storage-transfer/package.json index 326f07e682..769714b0d7 100644 --- a/storage-transfer/package.json +++ b/storage-transfer/package.json @@ -27,6 +27,6 @@ "mocha": "^7.0.0", "proxyquire": "^2.1.0", "sinon": "^9.0.0", - "uuid": "^3.3.2" + "uuid": "^7.0.0" } } From d5da1e1b29695fcabef26fa85db5620ac6de69f5 Mon Sep 17 00:00:00 2001 From: ace-n Date: Mon, 24 Feb 2020 10:38:50 -0800 Subject: [PATCH 2/2] Upgrade functions to uuid v7 --- functions/http/test/index.test.js | 2 +- functions/speech-to-speech/functions/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/http/test/index.test.js b/functions/http/test/index.test.js index 2b404064a5..f7187f50ef 100644 --- a/functions/http/test/index.test.js +++ b/functions/http/test/index.test.js @@ -249,7 +249,7 @@ describe('functions_http_signed_url', () => { method: 'POST', body: { bucket: 'nodejs-docs-samples', - filename: `gcf-gcs-url-${uuid.v4}`, + filename: `gcf-gcs-url-${uuid.v4()}`, contentType: 'application/octet-stream', }, }; diff --git a/functions/speech-to-speech/functions/index.js b/functions/speech-to-speech/functions/index.js index a7f51870c6..a6c357d654 100644 --- a/functions/speech-to-speech/functions/index.js +++ b/functions/speech-to-speech/functions/index.js @@ -15,7 +15,7 @@ 'use strict'; // This sample uses the UUID library to generate the output filename. -const uuid = require('uuid/v4'); +const uuid = require('uuid'); const functions = require('firebase-functions'); const googleCloudProject = process.env.GOOGLE_CLOUD_PROJECT; @@ -80,7 +80,7 @@ exports.speechTranslate = functions.https.onRequest( const translation = {languageCode: languageCode}; const outputFilename = request.body.outputFilename || - `${uuid()}.${outputAudioEncoding.toLowerCase()}`; + `${uuid.v4()}.${outputAudioEncoding.toLowerCase()}`; try { const [textTranslation] = await callTextTranslation(