-
-
Notifications
You must be signed in to change notification settings - Fork 914
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
Version 9 improvements #464
Conversation
Pushing forward with this approach. I can move relevant work to #463 if we decide to go with that.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LvGTM (once the minor nits in the test + naming are solved).
Comments look good, @ctavan. I'm out of town until wednesday, however, so may not be able to get to this until then. |
Adding @LinusU and @TrySound as reviewers, as there's been a bit of feature creep here. Requesting re-review from @ctavan because switching to Uint8Array for parse() has resulted in a few changes elsewhere in the code. Also, it's worth noting that this change reduced the benchmark performance of |
@ctavan: Note that the UMD version of the API has Edit: Also, what's up with the failing webdriver tests? Is that just browserwatch being flakey? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really a better idea. Consistent would be Also, with cool things like So maybe just not expose these methods in the umd build at all until somebody complains?
Test fail in the old browsers:
|
@ctavan Where are you seeing those webdriver error messages? I'm not seeing anything like that in the github "checks" logs (e.g. https://github.com/uuidjs/uuid/pull/464/checks?check_run_id=801127791). All I see are timeout errors. |
I got those console errors from the Browserstack UI. Last time I think I had issues inviting you to my Open Source team there. Shall I give that another try? Seems like now it's Chrome 49 and IE 11 that are broken, however this time I don't get meaningful console errors from Browserstack. tells me that something in
|
Temporary browserstack workaround: Building and pushing to my personal site, then doing manual testing there. It's not great but I've figured out the immediate issue (No |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
This started out as a variation of #463 (uuidToBytes implementation), but now includes the following per discussion in this PR:
uuidToBytes()
->stringify()
bytesToUuid()
->parse()
parse()
(wasuuidToBytes()
) now returns Uint8Arrayversion()
,validate()
,parse()
, andstringify()
as part of public APIstringify()
andparse()