Skip to content

Comments

[6.x] Replace uniqid with nanoid#13833

Merged
jasonvarga merged 1 commit into6.xfrom
uniqid
Feb 5, 2026
Merged

[6.x] Replace uniqid with nanoid#13833
jasonvarga merged 1 commit into6.xfrom
uniqid

Conversation

@jasonvarga
Copy link
Member

This replaces the uniqid package with nanoid.

We use this to generate short unique ids for things. The uniqid package hasn't been updated for a long time, and outputs a message whenever we build or run tests. It's just a bit annoying - doesn't break anything though.

adamhalasz/uniqid#45

nanoid looks to be more actively maintained.

This PR just changes the imports and uses aliases so the code usage doesn't change.

@jasonvarga jasonvarga merged commit ae0d9a8 into 6.x Feb 5, 2026
12 checks passed
@jasonvarga jasonvarga deleted the uniqid branch February 5, 2026 19:06
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.

1 participant