Is your feature request related to a problem? Please describe.
In earlier versions of this library it was possible to pass a single first parameter into the v1() and v4() methods which would result in the method returning a new Array instead of a string representation of UUID.
Apparently uuid@2.x already deprecated this API but it seemingly never got removed.
Describe the solution you'd like
We could either just remove the legacy interface or decorate it with deprecation warnings.
Is your feature request related to a problem? Please describe.
In earlier versions of this library it was possible to pass a single first parameter into the
v1()andv4()methods which would result in the method returning a new Array instead of a string representation of UUID.Apparently uuid@2.x already deprecated this API but it seemingly never got removed.
Describe the solution you'd like
We could either just remove the legacy interface or decorate it with deprecation warnings.