Skip to content

Commit a6824a4

Browse files
author
Benjamin E. Coe
authored
chore: update uuid dependency (#744)
1 parent 05f56bc commit a6824a4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

handwritten/logging/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"@types/sinon": "^7.0.8",
8484
"@types/through2": "^2.0.34",
8585
"@types/tmp": "^0.1.0",
86-
"@types/uuid": "^3.4.4",
86+
"@types/uuid": "^7.0.0",
8787
"assert-rejects": "^1.0.0",
8888
"bignumber.js": "^9.0.0",
8989
"c8": "^7.0.0",
@@ -107,6 +107,6 @@
107107
"proxyquire": "^2.1.0",
108108
"sinon": "^9.0.0",
109109
"typescript": "3.6.4",
110-
"uuid": "^3.3.2"
110+
"uuid": "^7.0.2"
111111
}
112112
}

handwritten/logging/system-test/logging.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {describe, it} from 'mocha';
2222
import {HOST_ADDRESS} from 'gcp-metadata';
2323
import * as nock from 'nock';
2424
import {Duplex} from 'stream';
25-
import * as uuid from 'uuid';
25+
import {v4} from 'uuid';
2626
const http2spy = require('http2spy');
2727
import {Logging, Sink, Log, Entry} from '../src';
2828

@@ -656,7 +656,7 @@ describe('Logging', async () => {
656656
});
657657

658658
function generateName() {
659-
return `${TESTS_PREFIX}-${Date.now()}-${uuid()
659+
return `${TESTS_PREFIX}-${Date.now()}-${v4()
660660
.split('-')
661661
.pop()}`;
662662
}

0 commit comments

Comments
 (0)