Skip to content

Commit 5a92413

Browse files
Bump supports-color from 10.0.0 to 10.2.2 (#63)
* Bump supports-color from 10.0.0 to 10.2.2 Bumps [supports-color](https://github.com/chalk/supports-color) from 10.0.0 to 10.2.2. - [Release notes](https://github.com/chalk/supports-color/releases) - [Commits](chalk/supports-color@v10.0.0...v10.2.2) --- updated-dependencies: - dependency-name: supports-color dependency-version: 10.2.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jasonblanchard <jas.blanchard@gmail.com>
1 parent 3e29013 commit 5a92413

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
},
3535
"dependencies": {
3636
"ansi-colors": "^4.1.3",
37-
"supports-color": "^10.0.0"
37+
"supports-color": "^10.2.2"
3838
}
3939
}

packages/openapi-typescript-server/bin/cli/index.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,12 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
614614
if (env.TERM === "xterm-kitty") {
615615
return 3;
616616
}
617+
if (env.TERM === "xterm-ghostty") {
618+
return 3;
619+
}
620+
if (env.TERM === "wezterm") {
621+
return 3;
622+
}
617623
if ("TERM_PROGRAM" in env) {
618624
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
619625
switch (env.TERM_PROGRAM) {

0 commit comments

Comments
 (0)