Skip to content

Release 1.0.0

Choose a tag to compare

@fisker fisker released this 14 Jul 16:12
· 21 commits to main since this release

What's Changed

Before v1.0.0

styleText.nonExists('foo')

Uncaught TypeError: styleText.nonExists is not a function

v1.0.0

styleText.nonExists('foo')

Uncaught:
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'format' must be one of: 'reset', 'bold', 'dim', 'italic', 'underline', 'blink', 'inverse', 'hidden', 'strikethrough', 'doubleunderline', 'black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white', 'bgBlack', 'bgRed', 'bgGreen', 'bgYellow', 'bgBlue', 'bgMagenta', 'bgCyan', 'bgWhite', 'framed', 'overlined', 'gray', 'redBright', 'greenBright', 'yellowBright', 'blueBright', 'magentaBright', 'cyanBright', 'whiteBright', 'bgGray', 'bgRedBright', 'bgGreenBright', 'bgYellowBright', 'bgBlueBright', 'bgMagentaBright', 'bgCyanBright', 'bgWhiteBright'. Received 'nonExists'
    at Object.styleText (node:util:264:7) {
  code: 'ERR_INVALID_ARG_VALUE'
}

Full Changelog: v0.0.8...v1.0.0