We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buf
offset
Reporting on behalf of @gaoyia
import { stringify, v4 } from 'uuid'; const buf = new Uint8Array(16); v4({}, buf, -8); // Invalid offset should throw, but doesn't console.log(buf); // Uint8Array(16) [... (8 bytes), 0, 0, 0, 0, 0, 0, 0, 0] stringify(buf); // Throws!
Similarly...
const buf = new Uint8Array(15); // Note: 15 bytes, not 16 v4({}, buf); // Invalid buf size should throw, but doesn't console.log(buf); // [... 15 bytes ...] stringify(buf); // Throws!
No response
The text was updated successfully, but these errors were encountered:
v1()
v4()
v7()
Successfully merging a pull request may close this issue.
Description of the problem
Reporting on behalf of @gaoyia
Recipe for reproducing
Similarly...
Additional information
No response
Environment
No response
The text was updated successfully, but these errors were encountered: