Skip to content

Commit 293e4c4

Browse files
committed
1 parent e0cc331 commit 293e4c4

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

bazel/benchmark/driver-utilities/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

bazel/benchmark/driver-utilities/perf_util.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
export {verifyNoBrowserErrors} from './e2e_util';
1010

1111
import type * as benchpress from '@angular/benchpress';
12-
import {v1 as uuidv1} from 'uuid';
1312
import {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.
1616
const 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;

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
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": {

yarn.lock

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)