Skip to content

Conversation

@Durgeshwar-AI
Copy link

Created a validator for the nanoid which is notable for being fast, small, and having no external dependencies, making it a popular alternative to UUIDs and also added tests for nanoid and isDecimal(Which was absent previously)

https://github.com/ai/nanoid
https://www.mtechzilla.com/blogs/why-nano-id-is-better-than-uuid#:~:text=The%20collision%20probability%20analysis%20reveals,to%20UUID's%2036%2Dcharacter%20format.

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@codecov
Copy link

codecov bot commented Oct 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (6f436be) to head (9be4820).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2607   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          114       115    +1     
  Lines         2536      2552   +16     
  Branches       642       645    +3     
=========================================
+ Hits          2536      2552   +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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