unique-username-generator icon indicating copy to clipboard operation
unique-username-generator copied to clipboard

uniqueUsernameGenerator fixes and enhancements

Open LiorKovalio opened this issue 2 years ago • 1 comments

Multiple changes:

  • Simplified uniqueUsernameGenerator length and added tests
  • (BREAKING) Fixed a bug in randomNumber, missing the last stretch (e.g. [91-99]). Simplified randomNumber
  • Added new styles camelCase and pascalCase
  • (BREAKING) Changed uniqueUsernameGenerator default behaviour to filter all dictionaries out of entries containing the separator. If a dictionary turns empty, throw an error.
  • Removed a faulty test case. The test wrongly assumed that the default dictionaries contain no dash '-'

LiorKovalio avatar Nov 03 '23 10:11 LiorKovalio

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Nov 03 '23 10:11 sonarqubecloud[bot]