diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a666f57..07e4b1da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ +8.1.4 (1/18/2026) +------------------- + * fix: Allow `colors` shim methods to be redefined by the real `colors` + 8.1.3 (1/17/2026) ------------------- * fix: Define `colors` shim for `info` command + * fix: Default value ignored when getting an empty config value 8.1.2 (10/28/2025) ------------------- diff --git a/package.json b/package.json index 69789e86..1fb28fd0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "titanium", - "version": "8.1.3", + "version": "8.1.4", "author": "TiDev, Inc. ", "description": "Command line interface for building Titanium SDK apps", "type": "module", diff --git a/src/cli.js b/src/cli.js index 54a4c9cf..40a79d38 100644 --- a/src/cli.js +++ b/src/cli.js @@ -437,15 +437,15 @@ export class CLI { // the SDK still uses the `colors` package, so we need to add the // colors to the string prototype const assignColors = proto => Object.defineProperties(proto, { - blue: { get() { return blue(`${this}`); } }, - bold: { get() { return bold(`${this}`); } }, - cyan: { get() { return cyan(`${this}`); } }, - gray: { get() { return gray(`${this}`); } }, - green: { get() { return green(`${this}`); } }, - grey: { get() { return gray(`${this}`); } }, - magenta: { get() { return magenta(`${this}`); } }, - red: { get() { return red(`${this}`); } }, - yellow: { get() { return yellow(`${this}`); } } + blue: { get() { return blue(`${this}`); }, configurable: true }, + bold: { get() { return bold(`${this}`); }, configurable: true }, + cyan: { get() { return cyan(`${this}`); }, configurable: true }, + gray: { get() { return gray(`${this}`); }, configurable: true }, + green: { get() { return green(`${this}`); }, configurable: true }, + grey: { get() { return gray(`${this}`); }, configurable: true }, + magenta: { get() { return magenta(`${this}`); }, configurable: true }, + red: { get() { return red(`${this}`); }, configurable: true }, + yellow: { get() { return yellow(`${this}`); }, configurable: true } }); assignColors(String.prototype);