logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
7.79k stars 383 forks source link

refactor(test): use secure random method in integration test util #6139

Closed charIeszhao closed 1 week ago

charIeszhao commented 1 week ago

Summary

Improve the random method used in integration test util, since it previously raised security concerns.

image

Testing

Checklist

- [ ] .changeset - [ ] unit tests - [ ] integration tests - [ ] necessary TSDoc comments

github-actions[bot] commented 1 week ago

COMPARE TO master

Total Size Diff :chart_with_downwards_trend: -23 Bytes

Diff by File |Name|Diff| |---|---| |packages/integration-tests/src/utils.ts|:chart_with_downwards_trend: -23 Bytes|