Skip to content
New issue

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

Fixes GUID/UUID generation to adhere to RFC 4122 UUID v4 specification #22

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

bradkovach
Copy link

Fixes an issue that was causing nearly 98% of GUID/UUID values generated to be invalid. This may have caused issues with some parsers when the Version and Variant fields were not in expected value ranges (RFC expects version to be 1-5 and variant to be 8, 9, a, b).

See RFC 4122

  • Tests added to properly validate v4 GUID/UUID generation.
  • Added method to test guids generated by OLD versions of the library
  • Updated version to 1.1.0, since this is a breaking change
  • Updated README.md to document these changes
  • Updated tests for new validation standards, as well as the legacy test methods.

@snico-dev
Copy link
Owner

Sorry, guy! I haven't been maintaining this repo for the past few years due to personal reasons. I'll review the requests and accept them soon. Thanks!

@bradkovach
Copy link
Author

@snico-dev if you are unwilling/unable to maintain this package, please mark it as deprecated and push a final release to NPM encouraging the use of a well-maintained library, such as uuid. That library now includes types and works well across browser/node/deno/bun/etc.

@bradkovach
Copy link
Author

@snico-dev is there anything I can do to help this PR get merged?

@bradkovach
Copy link
Author

bump

@bradkovach
Copy link
Author

Bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants