Closed AxelTerizaki closed 6 years ago
cuid^1
had a huge footprint, but cuid^2
is available and it has a node_modules
footprint of just 25kb.
According to the release notes the API hasn't changed in the major update and now has 0 dependencies.
Edit: Seems the last ^1
patch release was quite the anomaly
Oh wow, nice. I didn't think of checking if node-mpv was using the latest cuid. It's even better than uuid then, making my PR useless 👍
All @00SteinsGate00 has to do is update the cuid dependency then.
I could submit another pull request instead then.
Hey there,
first thanks for taking the time for the PR and thanks @wopian for pointing out the CUID update. I think updating CUID is the better way here. I don't want to be the lazy ass that delegates tasks to others but if you want to, you can form a Pull Request @AxelTerizaki
I'm currently working on finishing the base of Version 2 and it's looking really good so far.
Hey, I'm using node-mpv on my project so least I could do is contribute to it a little.
I'll make an other PR with the update later today.
Much smaller (85Kb instead of 2.3Mb)
Note : I used v4 (the random one) but v1 (the timestamp version) could be used instead. Feel free to check out the documentation : https://github.com/kelektiv/node-uuid