File tree 4 files changed +3
-6
lines changed
bazel/benchmark/driver-utilities
4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ ts_library(
14
14
"@npm//@types/selenium-webdriver" ,
15
15
"@npm//protractor" ,
16
16
"@npm//selenium-webdriver" ,
17
- "@npm//uuid" ,
18
17
],
19
18
)
20
19
Original file line number Diff line number Diff line change 9
9
export { verifyNoBrowserErrors } from './e2e_util' ;
10
10
11
11
import type * as benchpress from '@angular/benchpress' ;
12
- import { v1 as uuidv1 } from 'uuid' ;
13
12
import { openBrowser } from './e2e_util' ;
13
+ import { randomUUID } from 'node:crypto' ;
14
14
15
15
// Note: Keep the `modules/benchmarks/README.md` file in sync with the supported options.
16
16
const globalOptions = {
@@ -84,7 +84,7 @@ async function _prepareBenchpressSetup(): Promise<BenchpressSetup> {
84
84
85
85
let runId = uuidv1 ( ) ;
86
86
if ( process . env . GIT_SHA ) {
87
- runId = process . env . GIT_SHA + ' ' + runId ;
87
+ runId = process . env . GIT_SHA + ' ' + randomUUID ( ) ;
88
88
}
89
89
90
90
const testOutputDirectory = process . env . TEST_UNDECLARED_OUTPUTS_DIR ;
Original file line number Diff line number Diff line change 47
47
"true-case-path" : " ^2.2.1" ,
48
48
"tslib" : " ^2.5.2" ,
49
49
"typescript" : " 5.8.3" ,
50
- "uuid" : " ^11.0.0" ,
51
50
"yargs" : " ^17.0.0"
52
51
},
53
52
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -350,7 +350,6 @@ __metadata:
350
350
typed-graphqlify: "npm:^3.1.1"
351
351
typescript: "npm:5.8.3"
352
352
undici: "npm:^7.0.0"
353
- uuid: "npm:^11.0.0"
354
353
wait-on: "npm:^8.0.0"
355
354
which: "npm:^5.0.0"
356
355
ws: "npm:^8.8.0"
@@ -15349,7 +15348,7 @@ __metadata:
15349
15348
languageName: node
15350
15349
linkType: hard
15351
15350
15352
- "uuid@npm:^11.0.0, uuid@npm:^11.0. 2":
15351
+ "uuid@npm:^11.0.2":
15353
15352
version: 11.1.0
15354
15353
resolution: "uuid@npm:11.1.0"
15355
15354
bin:
You can’t perform that action at this time.
0 commit comments