Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appengine/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion datacatalog/cloud-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"mocha": "^7.0.0",
"uuid": "^3.1.0"
"uuid": "^7.0.0"
},
"dependencies": {
"@google-cloud/datacatalog": "^1.3.0"
Expand Down
2 changes: 1 addition & 1 deletion datacatalog/quickstart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"mocha": "^7.0.0",
"uuid": "^3.1.0"
"uuid": "^7.0.0"
},
"dependencies": {
"@google-cloud/datacatalog": "^1.7.0"
Expand Down
2 changes: 1 addition & 1 deletion datastore/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"request": "^2.88.0",
"requestretry": "^4.0.0",
"sinon": "^9.0.0",
"uuid": "^3.3.2"
"uuid": "^7.0.0"
}
}
2 changes: 1 addition & 1 deletion functions/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion functions/helloworld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion functions/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion functions/http/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
};
Expand Down
2 changes: 1 addition & 1 deletion functions/node8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion functions/sendgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions functions/speech-to-speech/functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion functions/speech-to-speech/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion healthcare/datasets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"googleapis": "^47.0.0",
"uuid": "^3.3.2",
"uuid": "^7.0.0",
"yargs": "^15.0.0"
},
"cloud-repo-tools": {
Expand Down
2 changes: 1 addition & 1 deletion healthcare/dicom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion healthcare/fhir/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion healthcare/hl7v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"googleapis": "^47.0.0",
"uuid": "^3.3.2",
"uuid": "^7.0.0",
"yargs": "^15.0.0"
},
"cloud-repo-tools": {
Expand Down
2 changes: 1 addition & 1 deletion iot/http_example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion iot/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion iot/mqtt_example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion jobs/v3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"googleapis": "^47.0.0",
"uuid": "^3.3.2",
"uuid": "^7.0.0",
"yargs": "^15.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion run/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"mocha": "^7.0.0",
"sinon": "^9.0.0",
"supertest": "^4.0.2",
"uuid": "^3.3.2"
"uuid": "^7.0.0"
}
}
2 changes: 1 addition & 1 deletion storage-transfer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"mocha": "^7.0.0",
"proxyquire": "^2.1.0",
"sinon": "^9.0.0",
"uuid": "^3.3.2"
"uuid": "^7.0.0"
}
}