Skip to content

Commit 790bc8b

Browse files
authored
chore: update uuid (#114)
update UUID addressing linting issue.
1 parent 4b1912b commit 790bc8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

secret-manager/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"c8": "^7.0.0",
2121
"chai": "^4.2.0",
2222
"mocha": "^7.0.0",
23-
"uuid": "^3.3.3"
23+
"uuid": "^8.0.0"
2424
}
2525
}

secret-manager/test/secretmanager.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616

1717
const {assert} = require('chai');
1818
const cp = require('child_process');
19-
const uuidv4 = require('uuid/v4');
19+
const {v4} = require('uuid');
2020

2121
const {SecretManagerServiceClient} = require('@google-cloud/secret-manager');
2222
const client = new SecretManagerServiceClient();
2323

2424
const projectId = process.env.GCLOUD_PROJECT;
25-
const secretId = uuidv4();
25+
const secretId = v4();
2626
const payload = 'my super secret data';
2727
const iamUser = 'user:[email protected]';
2828

0 commit comments

Comments
 (0)