grafana/e2e-playwright/cloud-plugins-suite
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
..
azure-monitor.spec.ts chore: replace uuid v4 with crypto.randomUUID() (#125309) 2026-05-27 10:52:31 +01:00