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

Update uid2 dependency from 0.0.3 to 1.0.0 #470

Merged
merged 1 commit into from
Dec 7, 2022
Merged

Update uid2 dependency from 0.0.3 to 1.0.0 #470

merged 1 commit into from
Dec 7, 2022

Conversation

MasterOdin
Copy link
Contributor

@MasterOdin MasterOdin commented Dec 5, 2022

This updates the uid2 dependency from 0.0.3 to 1.0.0 (its latest release) which has the following changes (see its HISTORY.md for full details):

The first change would only matter to clients that are using a version of node < 4.0.0, but this repo only supports >= 10 so that's not really a problem. This does also future-proof this repo a bit where while the crypto.pseudoRandomBytes does work, it's undocumented in the crypto docs, as crypto.randomBytes should work essentially the same, unless you ran it exactly at system boot time, in which it'll then block execution till enough entropy has built up.

The second case could matter if someone was for some reason relying on the exact shape of the generated IDs, but that seems unlikely, and the internal code doesn't have any issues with the two additional characters.

Signed-off-by: Matthew Peveler <[email protected]>
@darrachequesne darrachequesne merged commit d2977a3 into socketio:main Dec 7, 2022
@darrachequesne
Copy link
Member

@MasterOdin thanks 👍

@MasterOdin MasterOdin deleted the chore-dep-uid2 branch December 7, 2022 07:03
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