chalk 5.5.0 → 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.5.0",
3
+ "version": "5.6.0",
4
4
  "description": "Terminal string styling done right",
5
5
  "license": "MIT",
6
6
  "repository": "chalk/chalk",
@@ -139,6 +139,10 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
139
139
  return 3;
140
140
  }
141
141
 
142
+ if (env.TERM === 'wezterm') {
143
+ return 3;
144
+ }
145
+
142
146
  if ('TERM_PROGRAM' in env) {
143
147
  const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
144
148