Skip to content

Releases: markSmurphy/codename-generator

v1.2.1 - Code refactoring to modernise codebase

06 Jan 12:51

Choose a tag to compare

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`

07 Jun 16:44

Choose a tag to compare

Change Log

[1.2.0] - June 7th 2022

Changed

  • 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.
  • Updated debug to version 4.3.4.

v1.1.4 - Dependency Updates

21 Feb 11:04

Choose a tag to compare

Changelog

[v1.1.4] - February 20th 2022

Changed

  • Updated debug to version 4.3.3.

v1.1.3 - Dependency Updates

12 Nov 07:55

Choose a tag to compare

Changelog

[1.1.3] - November 12th 2021

Changed

  • Updated chalk to version 4.1.2.
  • Updated debug to version 4.3.2.

v1.1.2 - Dependency Updates

17 Jun 10:18

Choose a tag to compare

[1.1.2] - June 17th 2021

Changed

  • Updated pretty-error to version 3.0.4.

v1.1.1 - Security update for dependency

11 Jun 10:33

Choose a tag to compare

[1.1.1] - June 11th 2021

Security

  • Updated css-what package deep in the dependency tree to mitigate CVE-2021-33587.

v1.1.0 - New feature and dependency updates

11 May 08:32

Choose a tag to compare

[1.1.0] - May 11th 2021

Added

  • Added --nsw mode which generates Not Safe for Work code names.

Changed

  • Updated dependency chalk to version 4.1.1.

v1.0.15 - Bug fix and dependency updates

28 Jan 11:29

Choose a tag to compare

Changelog

[1.0.15] - January 28th 2021

Added

  • Added CHANGELOG.md.
  • Added Required Node Version node-current badge to README.md.
  • Added link to CHANGELOG.md to README.md.

Changed

  • Fixed a bug with random number generation which could cause undefined to be returned due to out-of-bounds array access.
  • Updated dependency pretty-error to version 3.0.3.
  • Updated dependency supports-color to version 8.1.1.
  • Removed broken Size badge from README.md.