chalk 5.4.1 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chalk",
3
- "version": "5.4.1",
3
+ "version": "5.6.0",
4
4
  "description": "Terminal string styling done right",
5
5
  "license": "MIT",
6
6
  "repository": "chalk/chalk",
@@ -135,6 +135,14 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
135
135
  return 3;
136
136
  }
137
137
 
138
+ if (env.TERM === 'xterm-ghostty') {
139
+ return 3;
140
+ }
141
+
142
+ if (env.TERM === 'wezterm') {
143
+ return 3;
144
+ }
145
+
138
146
  if ('TERM_PROGRAM' in env) {
139
147
  const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
140
148