- Fixed CommonJS exports
- Deprecated
rawData
access
- Added the ability to use custom dictionaries and reserved word lists with
getDict()
andgetDictFile()
- Added more words to internal dictionaries
- Made the reserved subdomain check more strict by removing special characters from value
- Single-word names now use adjectives, nouns, and verbs rather than just nouns
- Deprecated
saltLength
option ingenerate()
, usesalt
instead - Deprecated
subset
option ingenerate()
, usedictionary
instead - Deprecated
manly
dictionary, userugged
instead - Deprecated
validate()
, usevalid_subdomain()
instead
- Removed support for Node < v14
- Nested the default dictionary within
default
key inrawData
- Removed default salt length of 5 on generated names
- Removed subdomain length validation in
generate()
, usevalid_subdomain()
instead - Removed previously deprecated options for
generate()
:char
,numbers
, andmanly
- Removed previously deprecated
isValid
method - Fixed validation regex to check for proper length