-
Notifications
You must be signed in to change notification settings - Fork 3.2k
using defunctzombie fork of uuid because node-uuid has been abandoned by developer #2182
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
Conversation
The critical bugs seems to be fixed now: https://github.com/broofa/node-uuid/issues/122 What's your stance on that? |
The author of My personal motivation for switching So, I still support merging this PR. |
My main concern is this:
It turns out that @coolaj86 is maintaining the broofa's version of uuid. So I'm wondering what exactly is the difference between the two modules. |
Additions to Additions to In summary, the parts of
More reasons to switch: node-http-signature, sockjs-node and vow-fs have all switched over to |
It is absurd to have two packages doing the same thing. I originally forked cause node-uuid on npm was getting no updates. We need to merge this stuff back and just use the |
bump |
bump |
bump @simov |
@simov what can I do to get traction on this PR? It's been almost three months since it was opened. |
@antialias you can help the original uuid module and the forked one get merged back together. |
@simov: @defunctzombie's fork exists because @broofa no longer maintains node-uuid. I have tried contacting @broofa in several different PRs about this since at least February and he has been unresponsive so far. @broofa has even admitted to being an absentee landlord on node-uuid, see https://github.com/broofa/node-uuid/issues/116#issuecomment-156280048. The actual issue that I'm trying to resolve here is that node-uuid misbehaves when run in node with jsdom globals. I get this errors from [SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random() switching |
6726d15
to
263e16e
Compare
@simov: If the two modules ever did get merged, I would expect them to keep the more preferable |
maybe @broofa should unpublish |
@vdh suggestion made... https://github.com/broofa/node-uuid/issues/142#issuecomment-236058539 |
Oddly enough, I liked node-uuid because of how simple the code was (I think it works in the browser without any build steps, but I can't remember). I started taking it on and got it to "works for me" and the abandoned it. I could stand to check the issues and clean them up. |
So with the unification discussion going on in https://github.com/broofa/node-uuid/issues/142, this PR is really more about whether or not
|
in
please merge this so my test output isn't stupid! |
Do we actually need RFC compliant UUID's? We might be able to get away with just this: let uuid = (a) => a?(a^Math.random()*16>>a/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,b) |
I'm getting the same output in Jest as @jonathanong due to this package's use of
Any thoughts on this? It seems like the best solution/compromise until the whole debacle around |
Edit: added this comment to show support for dropping node-uuid completely as suggested by @mikeal |
Edit: misread |
I've handed node-uuid off to @defunctzombie. He'll be merging the two projects. @randunel: Regarding sync use of |
Following this thread has been rather amusing. Anyhow, hopefully this helps settle the back and forth. I have deprecated on npm |
@simov could you merge this now, as the deprecation warnings have started coming in 😄 |
Why is not published yet? |
No description provided.