Releases: markSmurphy/codename-generator
Releases · markSmurphy/codename-generator
v1.2.1 - Code refactoring to modernise codebase
Change Log
[1.2.1] - January 6th 2026
Changed
- Added input validation for numeric parameter (0 < n <= 1000)
- Modernised JavaScript:
- Updated all var declarations to const/let
- Converted CommonJS to ES Modules
- Fixed process.exit() usage
- Updated ESLint ecmaVersion to 2022
- Added optional chaining, nullish coalescing, and template literals
- Replaced getRandomInt() with randomRange()
- Improved error handling in catch blocks
- Extract magic numbers to named constants
- Updated package.json engines.node and check bin value
- Updated Dependencies
Full Changelog: v1.2.0...v1.2.1
v1.2.0 - Changed all `nsf` references to `nsfw` as it should have been and it annoyed me a little. The old `--nsw` switch still works, as does `--nsfw`
Change Log
[1.2.0] - June 7th 2022
Changed
- Changed all
nsfreferences tonsfwas it should have been and it annoyed me a little. The old--nswswitch still works, as does--nsfw. - Updated
debugto version4.3.4.
v1.1.4 - Dependency Updates
Changelog
[v1.1.4] - February 20th 2022
Changed
- Updated
debugto version4.3.3.
v1.1.3 - Dependency Updates
Changelog
[1.1.3] - November 12th 2021
Changed
- Updated
chalkto version4.1.2. - Updated
debugto version4.3.2.
v1.1.2 - Dependency Updates
[1.1.2] - June 17th 2021
Changed
- Updated
pretty-errorto version3.0.4.
v1.1.1 - Security update for dependency
[1.1.1] - June 11th 2021
Security
- Updated
css-whatpackage deep in the dependency tree to mitigate CVE-2021-33587.
v1.1.0 - New feature and dependency updates
[1.1.0] - May 11th 2021
Added
- Added
--nswmode which generates Not Safe for Work code names.
Changed
- Updated dependency
chalkto version4.1.1.
v1.0.15 - Bug fix and dependency updates
Changelog
[1.0.15] - January 28th 2021
Added
- Added
CHANGELOG.md. - Added Required Node Version
badge to
README.md. - Added link to
CHANGELOG.mdtoREADME.md.
Changed
- Fixed a bug with random number generation which could cause
undefinedto be returned due to out-of-bounds array access. - Updated dependency
pretty-errorto version3.0.3. - Updated dependency
supports-colorto version8.1.1. - Removed broken Size badge from
README.md.