Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
-------------------
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "titanium",
"version": "8.1.3",
"version": "8.1.4",
"author": "TiDev, Inc. <[email protected]>",
"description": "Command line interface for building Titanium SDK apps",
"type": "module",
Expand Down
18 changes: 9 additions & 9 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading