Commit 2fb1fbc
committed
Use platform’s “crypto.randomUUID” method.
Small update to leverage this tool that’s been available since 2022.
Previously, we were using “crypto.getRandomValues” which was baseline
as of 2015. Note that they _both_ require a “secure context”, so our
posture in regards to that should not be changing at all as a result of
this swap.1 parent c06d0f0 commit 2fb1fbc
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
417 | 416 | | |
418 | 417 | | |
419 | 418 | | |
420 | 419 | | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
| 420 | + | |
425 | 421 | | |
426 | 422 | | |
427 | 423 | | |
| |||
0 commit comments