Skip to content

Conversation

@twlite
Copy link
Contributor

@twlite twlite commented Oct 28, 2024

This PR updates uuidv4 to use native secure uuid generator when possible. This method works on server side js runtimes as well as browsers. IT falls back to the default behavior when secure uuid generator is not available.

@sonarqubecloud
Copy link

@adamlui adamlui added the optimization Code optimization(s) for performance, maintainability or readability label Oct 28, 2024
@adamlui adamlui merged commit a4050fd into KudoAI:main Oct 28, 2024
5 checks passed
@adamlui
Copy link
Member

adamlui commented Oct 28, 2024

thanks @twlite !

adamlui pushed a commit that referenced this pull request Oct 28, 2024
fix: use native uuid generator when possible ↞ [auto-sync from `KudoAI/chatgpt.js`]
@twlite twlite deleted the patch-1 branch October 28, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

optimization Code optimization(s) for performance, maintainability or readability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants