serialize-javascript icon indicating copy to clipboard operation
serialize-javascript copied to clipboard

use built in uuid instead

Open jimmywarting opened this issue 2 years ago • 1 comments

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

use built in uuid instead of depending on some dependency to do it

jimmywarting avatar Jul 22 '23 16:07 jimmywarting

Would it better to use some form of getRandomValues() so that it works in more browsers?

getRandomValues

CleanShot 2024-01-29 at 4 38 14@2x

randomUUID

CleanShot 2024-01-29 at 4 38 45@2x

will-stone avatar Jan 29 '24 16:01 will-stone