File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed
bazel/benchmark/driver-utilities Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ ts_library(
1414 "@npm//@types/selenium-webdriver" ,
1515 "@npm//protractor" ,
1616 "@npm//selenium-webdriver" ,
17- "@npm//uuid" ,
1817 ],
1918)
2019
Original file line number Diff line number Diff line change 99export { verifyNoBrowserErrors } from './e2e_util' ;
1010
1111import type * as benchpress from '@angular/benchpress' ;
12- import { v1 as uuidv1 } from 'uuid' ;
1312import { openBrowser } from './e2e_util' ;
13+ import { randomUUID } from 'node:crypto' ;
1414
1515// Note: Keep the `modules/benchmarks/README.md` file in sync with the supported options.
1616const globalOptions = {
@@ -82,9 +82,10 @@ async function _prepareBenchpressSetup(): Promise<BenchpressSetup> {
8282 Runner,
8383 } = module ;
8484
85- let runId = uuidv1 ( ) ;
85+ const uuid = randomUUID ( ) ;
86+ let runId = uuid ;
8687 if ( process . env . GIT_SHA ) {
87- runId = process . env . GIT_SHA + ' ' + runId ;
88+ runId = process . env . GIT_SHA + ' ' + uuid ;
8889 }
8990
9091 const testOutputDirectory = process . env . TEST_UNDECLARED_OUTPUTS_DIR ;
Original file line number Diff line number Diff line change 4747 "true-case-path" : " ^2.2.1" ,
4848 "tslib" : " ^2.5.2" ,
4949 "typescript" : " 5.8.3" ,
50- "uuid" : " ^11.0.0" ,
5150 "yargs" : " ^17.0.0"
5251 },
5352 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -350,7 +350,6 @@ __metadata:
350350 typed-graphqlify: "npm:^3.1.1"
351351 typescript: "npm:5.8.3"
352352 undici: "npm:^7.0.0"
353- uuid: "npm:^11.0.0"
354353 wait-on: "npm:^8.0.0"
355354 which: "npm:^5.0.0"
356355 ws: "npm:^8.8.0"
@@ -15349,7 +15348,7 @@ __metadata:
1534915348 languageName: node
1535015349 linkType: hard
1535115350
15352- "uuid@npm:^11.0.0, uuid@npm:^11.0. 2":
15351+ "uuid@npm:^11.0.2":
1535315352 version: 11.1.0
1535415353 resolution: "uuid@npm:11.1.0"
1535515354 bin:
You can’t perform that action at this time.
0 commit comments