Compare commits
No commits in common. "main" and "v5.4.1" have entirely different histories.
3 changed files with 3 additions and 11 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "chalk",
|
"name": "chalk",
|
||||||
"version": "5.6.2",
|
"version": "5.4.1",
|
||||||
"description": "Terminal string styling done right",
|
"description": "Terminal string styling done right",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "chalk/chalk",
|
"repository": "chalk/chalk",
|
||||||
|
|
|
||||||
8
source/vendor/supports-color/index.js
vendored
8
source/vendor/supports-color/index.js
vendored
|
|
@ -135,14 +135,6 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (env.TERM === 'xterm-ghostty') {
|
|
||||||
return 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (env.TERM === 'wezterm') {
|
|
||||||
return 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ('TERM_PROGRAM' in env) {
|
if ('TERM_PROGRAM' in env) {
|
||||||
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue