grafana/e2e-playwright/utils
Nic Westvold 0d541ac710
chore: replace uuid v4 with crypto.randomUUID() (#125309)
* chore: replace `uuid` v4 with `crypto.randomUUID()`

Keep `uuid` in Loki only (v5 usage in `liveStreamsResultTransformer.ts`)

* chore(grafana-data): add generateUUID() utility with secure-context fallback

* fix: ran yarn install to re-generate yarn.lock file

* fix: add CODEOWNERS for the `uuid.ts` file and its tests

* fix: update test mocks to use generateUUID from @grafana/data

* fix(mssql): add generateUUIDmock to fix typecheck indatasource.test.ts

* feat(grafana-data): add `isUUID()` validator to `@grafana/data`

* use useID in RolePicker

* use useId in canvas elements

* use useId in loki monaco query field

---------

Co-authored-by: joshhunt <josh.hunt@grafana.com>
2026-05-27 10:52:31 +01:00
..
axe-a11y Chore: Add lint rule for consistent type imports (#121336) 2026-03-30 12:44:01 +01:00
annotation-api-mock.ts Annotations: Fix plot & react desync (#122371) 2026-04-16 06:57:49 -05:00
dashboard-helpers.ts chore: replace uuid v4 with crypto.randomUUID() (#125309) 2026-05-27 10:52:31 +01:00
prometheus-helpers.ts Chore: Add lint rule for consistent type imports (#121336) 2026-03-30 12:44:01 +01:00
RequestsRecorder.ts E2E: fix perf-test flakiness caused by unhandled response.body() error (#123323) 2026-04-23 16:15:10 +02:00
scope-helpers.ts Scopes: Refactor recent scopes (#123823) 2026-05-12 15:26:12 +02:00
scopes.ts Chore: Add lint rule for consistent type imports (#121336) 2026-03-30 12:44:01 +01:00