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

Replace deprecated shortid dependancy #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gabrielthomasjacobs
Copy link

According to the shortid repo: https://github.com/dylang/shortid

shortid is deprecated in favor of nanoid
https://github.com/ai/nanoid/

This PR should replace all references and usage of short with nano.

Nano supports the commonJS require syntax at version 3 and is still supported, so package.json is locked to that major version. Later versions use ESM only.

According to the shortid repo: https://github.com/dylang/shortid

shortid is deprecated in favor of nanoid
https://github.com/ai/nanoid/

This PR should replace all references and usage of short with nano.

Nano supports the commonJS require syntax at version 3 and is still supported, so package.json is locked to that major version. Later versions use ESM only.
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