ngneat / falso

All the Fake Data for All Your Real Needs 🙂

Home Page:https://ngneat.github.io/falso/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uuid does not implement seed

leon opened this issue · comments

Is this a regression?

No

Description

When using randUuid is used uuid under the hood.
But it generates new values even if you have set a seed.

I think we could fix it by passing along a random parameter to the uuid function.
but it requires a InputBuffer with 16 bytes of random data.

I'm not sure how to best generate 16 bytes of random data based on the seedrandom library.

Any suggestions?

in that case I could create a PR.

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in

No response

Anything else?

No response

Do you want to create a pull request?

Yes

@leon any news here?

No sorry
I will not have the time to fix it.