@visulima/is-ansi-color-supported 2.2.5 → 2.2.7
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/CHANGELOG.md +21 -0
- package/dist/is-color-supported.browser.d.mts +7 -3
- package/dist/is-color-supported.browser.d.ts +7 -3
- package/dist/is-color-supported.browser.mjs +1 -1
- package/dist/is-color-supported.server.cjs +1 -1
- package/dist/is-color-supported.server.d.cts +7 -3
- package/dist/is-color-supported.server.d.mts +7 -3
- package/dist/is-color-supported.server.d.ts +7 -3
- package/dist/is-color-supported.server.mjs +1 -1
- package/package.json +10 -11
- package/dist/is-color-supported.browser.cjs +0 -1
- package/dist/is-color-supported.browser.d.cts +0 -7
- package/dist/shared/color-spaces-DeN59JDX.d.cts +0 -8
- package/dist/shared/color-spaces-DeN59JDX.d.mjs +0 -8
- package/dist/shared/color-spaces-DeN59JDX.d.mts +0 -8
- /package/dist/{shared → packem_shared}/SPACE_MONO-BEQbKWNs.mjs +0 -0
- /package/dist/{shared → packem_shared}/SPACE_MONO-D73nMay-.cjs +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## @visulima/is-ansi-color-supported [2.2.7](https://github.com/visulima/visulima/compare/@visulima/is-ansi-color-supported@2.2.6...@visulima/is-ansi-color-supported@2.2.7) (2024-09-24)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* update packem to v1 ([05f3bc9](https://github.com/visulima/visulima/commit/05f3bc960df10a1602e24f9066e2b0117951a877))
|
|
6
|
+
* updated esbuild from v0.23 to v0.24 ([3793010](https://github.com/visulima/visulima/commit/3793010d0d549c0d41f85dea04b8436251be5fe8))
|
|
7
|
+
|
|
8
|
+
### Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* updated dev dependencies ([05edb67](https://github.com/visulima/visulima/commit/05edb671285b1cc42875223314b24212e6a12588))
|
|
11
|
+
|
|
12
|
+
## @visulima/is-ansi-color-supported [2.2.6](https://github.com/visulima/visulima/compare/@visulima/is-ansi-color-supported@2.2.5...@visulima/is-ansi-color-supported@2.2.6) (2024-09-11)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* fixed node10 support ([f5e78d9](https://github.com/visulima/visulima/commit/f5e78d9bff8fd603967666598b34f9338a8726b5))
|
|
17
|
+
|
|
18
|
+
### Miscellaneous Chores
|
|
19
|
+
|
|
20
|
+
* updated dev dependencies ([28b5ee5](https://github.com/visulima/visulima/commit/28b5ee5c805ca8868536418829cde7ba8c5bb8dd))
|
|
21
|
+
|
|
1
22
|
## @visulima/is-ansi-color-supported [2.2.5](https://github.com/visulima/visulima/compare/@visulima/is-ansi-color-supported@2.2.4...@visulima/is-ansi-color-supported@2.2.5) (2024-09-07)
|
|
2
23
|
|
|
3
24
|
### Bug Fixes
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
2
|
+
|
|
3
|
+
declare const SPACE_MONO = 0;
|
|
4
|
+
declare const SPACE_16_COLORS = 1;
|
|
5
|
+
declare const SPACE_256_COLORS = 2;
|
|
6
|
+
declare const SPACE_TRUE_COLORS = 3;
|
|
3
7
|
|
|
4
8
|
declare const isStdoutColorSupported: () => ColorSupportLevel;
|
|
5
9
|
declare const isStderrColorSupported: () => ColorSupportLevel;
|
|
6
10
|
|
|
7
|
-
export { ColorSupportLevel, isStderrColorSupported, isStdoutColorSupported };
|
|
11
|
+
export { type ColorSupportLevel, SPACE_16_COLORS, SPACE_256_COLORS, SPACE_MONO, SPACE_TRUE_COLORS, isStderrColorSupported, isStdoutColorSupported };
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
2
|
+
|
|
3
|
+
declare const SPACE_MONO = 0;
|
|
4
|
+
declare const SPACE_16_COLORS = 1;
|
|
5
|
+
declare const SPACE_256_COLORS = 2;
|
|
6
|
+
declare const SPACE_TRUE_COLORS = 3;
|
|
3
7
|
|
|
4
8
|
declare const isStdoutColorSupported: () => ColorSupportLevel;
|
|
5
9
|
declare const isStderrColorSupported: () => ColorSupportLevel;
|
|
6
10
|
|
|
7
|
-
export { ColorSupportLevel, isStderrColorSupported, isStdoutColorSupported };
|
|
11
|
+
export { type ColorSupportLevel, SPACE_16_COLORS, SPACE_256_COLORS, SPACE_MONO, SPACE_TRUE_COLORS, isStderrColorSupported, isStdoutColorSupported };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a=Object.defineProperty;var o=(r,e)=>a(r,"name",{value:e,configurable:!0});import{SPACE_TRUE_COLORS as u,SPACE_16_COLORS as t,SPACE_MONO as n}from"./
|
|
1
|
+
var a=Object.defineProperty;var o=(r,e)=>a(r,"name",{value:e,configurable:!0});import{SPACE_TRUE_COLORS as u,SPACE_16_COLORS as t,SPACE_MONO as n}from"./packem_shared/SPACE_MONO-BEQbKWNs.mjs";import{SPACE_256_COLORS as v}from"./packem_shared/SPACE_MONO-BEQbKWNs.mjs";var s=Object.defineProperty,p=o((r,e)=>s(r,"name",{value:e,configurable:!0}),"e");const i=p(()=>(()=>{if(typeof navigator<"u"){if(navigator.userAgentData&&navigator.userAgentData.brands.find(({b:r})=>r==="Chromium")?.version>93)return u;if(/\b(Chrome|Chromium)\//.test(navigator.userAgent))return t}return typeof process<"u"?(process.env.NEXT_RUNTIME??"").includes("edge")?t:n:n})(),"isColorSupported"),d=i,f=i;export{t as SPACE_16_COLORS,v as SPACE_256_COLORS,n as SPACE_MONO,u as SPACE_TRUE_COLORS,f as isStderrColorSupported,d as isStdoutColorSupported};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var P=(S,t)=>a(S,"name",{value:t,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
1
|
+
"use strict";var a=Object.defineProperty;var P=(S,t)=>a(S,"name",{value:t,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./packem_shared/SPACE_MONO-D73nMay-.cjs");var p=Object.defineProperty,R=P((S,t)=>p(S,"name",{value:t,configurable:!0}),"f");const L=R(S=>{const t=globalThis,i=t.Deno!=null,C=t.process??t.Deno??{},A=C.argv??C.args??[],E=R(O=>{const T=A.indexOf("--"),c=A.findIndex(M=>O.test(M));return c!==-1&&(T===-1||c<T)},"oneOfFlags");let r={};try{r=i?C.env.toObject():C.env??{}}catch{}const l="FORCE_COLOR",d=l in r,_=r[l]?String(r[l]):void 0,u=Object.prototype.toString.call(_).slice(8,-1)==="String";let o;if(_==="true"?o=e.SPACE_16_COLORS:_==="false"?o=e.SPACE_MONO:u&&_.length===0?o=e.SPACE_16_COLORS:u&&_.length>0&&(o=Math.min(Number.parseInt(_,10),3)),_!=="true"&&_!=="false"&&o!==void 0&&o<4)return o;if("NO_COLOR"in r||d&&o===0||E(/^-{1,2}(no-color|no-colors|color=false|color=never)$/))return e.SPACE_MONO;if(E(/^-{1,2}(color=256)$/))return e.SPACE_256_COLORS;if(E(/^-{1,2}(color=16m|color=full|color=truecolor)$/))return e.SPACE_TRUE_COLORS;if(E(/^-{1,2}(color|colors|color=true|color=always)$/))return e.SPACE_16_COLORS;const s=o||e.SPACE_MONO;if("TF_BUILD"in r&&"AGENT_NAME"in r)return e.SPACE_16_COLORS;if(r.TERM&&/-mono|dumb/i.test(r.TERM))return s;if((i?t.Deno.build.os:C.platform)==="win32")try{const O=(i?t.Deno.osRelease():C.os.release()).split(".");return Number(O[0])>=10&&Number(O[2])>=10586?Number(O[2])>=14931?e.SPACE_TRUE_COLORS:e.SPACE_256_COLORS:e.SPACE_16_COLORS}catch{}if("CI"in r)return"GITHUB_ACTIONS"in r||"GITHUB_WORKFLOW"in r||"GITEA_ACTIONS"in r?e.SPACE_TRUE_COLORS:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE","GITLAB_CI"].some(O=>O in r)||r.CI_NAME==="codeship"?e.SPACE_16_COLORS:s;if(r.TERMINAL_EMULATOR?.includes("JediTerm"))return e.SPACE_TRUE_COLORS;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?e.SPACE_16_COLORS:e.SPACE_MONO;if(r.COLORTERM==="truecolor"||r.TERM==="xterm-kitty")return e.SPACE_TRUE_COLORS;if("TERM_PROGRAM"in r){const O=Number.parseInt((r.TERM_PROGRAM_VERSION??"").split(".")[0],10);if(r.TERM_PROGRAM==="iTerm.app")return O>=3?e.SPACE_TRUE_COLORS:e.SPACE_256_COLORS;if(r.TERM_PROGRAM==="Apple_Terminal")return e.SPACE_256_COLORS}if(/-256(color)?$/i.test(r.TERM))return e.SPACE_256_COLORS;let n=!1;return i?S==="out"?n=t.Deno.stdout.isTerminal():S==="err"&&(n=t.Deno.stderr.isTerminal()):"PM2_HOME"in r&&"pm_id"in r?n=!0:n=C["std"+S]&&"isTTY"in C["std"+S],n&&/^screen|^tmux|^xterm|^vt[1-5]\d\d|^ansi|color|mintty|rxvt|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?e.SPACE_16_COLORS:s},"isColorSupportedFactory"),f=R(()=>L("out"),"isStdoutColorSupported"),I=R(()=>L("err"),"isStderrColorSupported");exports.SPACE_16_COLORS=e.SPACE_16_COLORS;exports.SPACE_256_COLORS=e.SPACE_256_COLORS;exports.SPACE_MONO=e.SPACE_MONO;exports.SPACE_TRUE_COLORS=e.SPACE_TRUE_COLORS;exports.isStderrColorSupported=I;exports.isStdoutColorSupported=f;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
2
|
+
|
|
3
|
+
declare const SPACE_MONO = 0;
|
|
4
|
+
declare const SPACE_16_COLORS = 1;
|
|
5
|
+
declare const SPACE_256_COLORS = 2;
|
|
6
|
+
declare const SPACE_TRUE_COLORS = 3;
|
|
3
7
|
|
|
4
8
|
declare const isStdoutColorSupported: () => ColorSupportLevel;
|
|
5
9
|
declare const isStderrColorSupported: () => ColorSupportLevel;
|
|
6
10
|
|
|
7
|
-
export { ColorSupportLevel, isStderrColorSupported, isStdoutColorSupported };
|
|
11
|
+
export { type ColorSupportLevel, SPACE_16_COLORS, SPACE_256_COLORS, SPACE_MONO, SPACE_TRUE_COLORS, isStderrColorSupported, isStdoutColorSupported };
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
2
|
+
|
|
3
|
+
declare const SPACE_MONO = 0;
|
|
4
|
+
declare const SPACE_16_COLORS = 1;
|
|
5
|
+
declare const SPACE_256_COLORS = 2;
|
|
6
|
+
declare const SPACE_TRUE_COLORS = 3;
|
|
3
7
|
|
|
4
8
|
declare const isStdoutColorSupported: () => ColorSupportLevel;
|
|
5
9
|
declare const isStderrColorSupported: () => ColorSupportLevel;
|
|
6
10
|
|
|
7
|
-
export { ColorSupportLevel, isStderrColorSupported, isStdoutColorSupported };
|
|
11
|
+
export { type ColorSupportLevel, SPACE_16_COLORS, SPACE_256_COLORS, SPACE_MONO, SPACE_TRUE_COLORS, isStderrColorSupported, isStdoutColorSupported };
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
2
|
+
|
|
3
|
+
declare const SPACE_MONO = 0;
|
|
4
|
+
declare const SPACE_16_COLORS = 1;
|
|
5
|
+
declare const SPACE_256_COLORS = 2;
|
|
6
|
+
declare const SPACE_TRUE_COLORS = 3;
|
|
3
7
|
|
|
4
8
|
declare const isStdoutColorSupported: () => ColorSupportLevel;
|
|
5
9
|
declare const isStderrColorSupported: () => ColorSupportLevel;
|
|
6
10
|
|
|
7
|
-
export { ColorSupportLevel, isStderrColorSupported, isStdoutColorSupported };
|
|
11
|
+
export { type ColorSupportLevel, SPACE_16_COLORS, SPACE_256_COLORS, SPACE_MONO, SPACE_TRUE_COLORS, isStderrColorSupported, isStdoutColorSupported };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var N=Object.defineProperty;var S=(i,e)=>N(i,"name",{value:e,configurable:!0});import{SPACE_16_COLORS as n,SPACE_MONO as E,SPACE_256_COLORS as R,SPACE_TRUE_COLORS as u}from"./
|
|
1
|
+
var N=Object.defineProperty;var S=(i,e)=>N(i,"name",{value:e,configurable:!0});import{SPACE_16_COLORS as n,SPACE_MONO as E,SPACE_256_COLORS as R,SPACE_TRUE_COLORS as u}from"./packem_shared/SPACE_MONO-BEQbKWNs.mjs";var L=Object.defineProperty,d=S((i,e)=>L(i,"name",{value:e,configurable:!0}),"f");const m=d(i=>{const e=globalThis,O=e.Deno!=null,l=e.process??e.Deno??{},C=l.argv??l.args??[],T=d(o=>{const p=C.indexOf("--"),I=C.findIndex(A=>o.test(A));return I!==-1&&(p===-1||I<p)},"oneOfFlags");let r={};try{r=O?l.env.toObject():l.env??{}}catch{}const a="FORCE_COLOR",M=a in r,s=r[a]?String(r[a]):void 0,_=Object.prototype.toString.call(s).slice(8,-1)==="String";let t;if(s==="true"?t=n:s==="false"?t=E:_&&s.length===0?t=n:_&&s.length>0&&(t=Math.min(Number.parseInt(s,10),3)),s!=="true"&&s!=="false"&&t!==void 0&&t<4)return t;if("NO_COLOR"in r||M&&t===0||T(/^-{1,2}(no-color|no-colors|color=false|color=never)$/))return E;if(T(/^-{1,2}(color=256)$/))return R;if(T(/^-{1,2}(color=16m|color=full|color=truecolor)$/))return u;if(T(/^-{1,2}(color|colors|color=true|color=always)$/))return n;const f=t||E;if("TF_BUILD"in r&&"AGENT_NAME"in r)return n;if(r.TERM&&/-mono|dumb/i.test(r.TERM))return f;if((O?e.Deno.build.os:l.platform)==="win32")try{const o=(O?e.Deno.osRelease():l.os.release()).split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?u:R:n}catch{}if("CI"in r)return"GITHUB_ACTIONS"in r||"GITHUB_WORKFLOW"in r||"GITEA_ACTIONS"in r?u:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE","GITLAB_CI"].some(o=>o in r)||r.CI_NAME==="codeship"?n:f;if(r.TERMINAL_EMULATOR?.includes("JediTerm"))return u;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?n:E;if(r.COLORTERM==="truecolor")return u;if(r.TERM==="xterm-kitty")return u;if("TERM_PROGRAM"in r){const o=Number.parseInt((r.TERM_PROGRAM_VERSION??"").split(".")[0],10);if(r.TERM_PROGRAM==="iTerm.app")return o>=3?u:R;if(r.TERM_PROGRAM==="Apple_Terminal")return R}if(/-256(color)?$/i.test(r.TERM))return R;let c=!1;return O?i==="out"?c=e.Deno.stdout.isTerminal():i==="err"&&(c=e.Deno.stderr.isTerminal()):"PM2_HOME"in r&&"pm_id"in r?c=!0:c=l["std"+i]&&"isTTY"in l["std"+i],c&&/^screen|^tmux|^xterm|^vt[1-5]\d\d|^ansi|color|mintty|rxvt|cygwin|linux/i.test(r.TERM)?n:"COLORTERM"in r?n:f},"isColorSupportedFactory"),g=d(()=>m("out"),"isStdoutColorSupported"),v=d(()=>m("err"),"isStderrColorSupported");export{n as SPACE_16_COLORS,R as SPACE_256_COLORS,E as SPACE_MONO,u as SPACE_TRUE_COLORS,v as isStderrColorSupported,g as isStdoutColorSupported};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visulima/is-ansi-color-supported",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.7",
|
|
4
4
|
"description": "Detect whether a terminal or browser supports ansi colors.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
@@ -77,9 +77,8 @@
|
|
|
77
77
|
"browser": "./dist/is-color-supported.browser.mjs",
|
|
78
78
|
"types": "dist/is-color-supported.server.d.ts",
|
|
79
79
|
"typesVersions": {
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"./dist/is-color-supported.browser.d.ts",
|
|
80
|
+
">=5.0": {
|
|
81
|
+
".": [
|
|
83
82
|
"./dist/is-color-supported.server.d.ts"
|
|
84
83
|
]
|
|
85
84
|
}
|
|
@@ -95,17 +94,17 @@
|
|
|
95
94
|
"@anolilab/prettier-config": "^5.0.14",
|
|
96
95
|
"@anolilab/semantic-release-pnpm": "^1.1.3",
|
|
97
96
|
"@anolilab/semantic-release-preset": "^9.0.0",
|
|
98
|
-
"@arethetypeswrong/cli": "^0.
|
|
97
|
+
"@arethetypeswrong/cli": "^0.16.4",
|
|
99
98
|
"@babel/core": "^7.25.2",
|
|
100
|
-
"@rushstack/eslint-plugin-security": "^0.8.
|
|
99
|
+
"@rushstack/eslint-plugin-security": "^0.8.3",
|
|
101
100
|
"@secretlint/secretlint-rule-preset-recommend": "^8.2.4",
|
|
102
101
|
"@types/node": "18.19.15",
|
|
103
|
-
"@visulima/packem": "
|
|
104
|
-
"@vitest/coverage-v8": "^2.
|
|
105
|
-
"@vitest/ui": "^2.
|
|
102
|
+
"@visulima/packem": "1.0.1",
|
|
103
|
+
"@vitest/coverage-v8": "^2.1.1",
|
|
104
|
+
"@vitest/ui": "^2.1.1",
|
|
106
105
|
"conventional-changelog-conventionalcommits": "8.0.0",
|
|
107
106
|
"cross-env": "^7.0.3",
|
|
108
|
-
"esbuild": "0.
|
|
107
|
+
"esbuild": "0.24.0",
|
|
109
108
|
"eslint": "8.57.0",
|
|
110
109
|
"eslint-plugin-deprecation": "^3.0.0",
|
|
111
110
|
"eslint-plugin-etc": "^2.0.3",
|
|
@@ -118,7 +117,7 @@
|
|
|
118
117
|
"secretlint": "8.2.4",
|
|
119
118
|
"semantic-release": "24.0.0",
|
|
120
119
|
"typescript": "5.4.5",
|
|
121
|
-
"vitest": "^2.
|
|
120
|
+
"vitest": "^2.1.1"
|
|
122
121
|
},
|
|
123
122
|
"engines": {
|
|
124
123
|
"node": ">=18.* <=22.*"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var C=Object.defineProperty;var t=(e,o)=>C(e,"name",{value:o,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./shared/SPACE_MONO-D73nMay-.cjs");var O=Object.defineProperty,i=t((e,o)=>O(e,"name",{value:o,configurable:!0}),"e");const S=i(()=>(()=>{if(typeof navigator<"u"){if(navigator.userAgentData&&navigator.userAgentData.brands.find(({b:e})=>e==="Chromium")?.version>93)return r.SPACE_TRUE_COLORS;if(/\b(Chrome|Chromium)\//.test(navigator.userAgent))return r.SPACE_16_COLORS}return typeof process<"u"&&(process.env.NEXT_RUNTIME??"").includes("edge")?r.SPACE_16_COLORS:r.SPACE_MONO})(),"isColorSupported"),u=S,_=S;exports.SPACE_16_COLORS=r.SPACE_16_COLORS;exports.SPACE_256_COLORS=r.SPACE_256_COLORS;exports.SPACE_MONO=r.SPACE_MONO;exports.SPACE_TRUE_COLORS=r.SPACE_TRUE_COLORS;exports.isStderrColorSupported=_;exports.isStdoutColorSupported=u;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { C as ColorSupportLevel } from './shared/color-spaces-DeN59JDX.cjs';
|
|
2
|
-
export { S as SPACE_16_COLORS, a as SPACE_256_COLORS, b as SPACE_MONO, c as SPACE_TRUE_COLORS } from './shared/color-spaces-DeN59JDX.cjs';
|
|
3
|
-
|
|
4
|
-
declare const isStdoutColorSupported: () => ColorSupportLevel;
|
|
5
|
-
declare const isStderrColorSupported: () => ColorSupportLevel;
|
|
6
|
-
|
|
7
|
-
export { ColorSupportLevel, isStderrColorSupported, isStdoutColorSupported };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
2
|
-
|
|
3
|
-
declare const SPACE_MONO = 0;
|
|
4
|
-
declare const SPACE_16_COLORS = 1;
|
|
5
|
-
declare const SPACE_256_COLORS = 2;
|
|
6
|
-
declare const SPACE_TRUE_COLORS = 3;
|
|
7
|
-
|
|
8
|
-
export { type ColorSupportLevel as C, SPACE_16_COLORS as S, SPACE_256_COLORS as a, SPACE_MONO as b, SPACE_TRUE_COLORS as c };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
2
|
-
|
|
3
|
-
declare const SPACE_MONO = 0;
|
|
4
|
-
declare const SPACE_16_COLORS = 1;
|
|
5
|
-
declare const SPACE_256_COLORS = 2;
|
|
6
|
-
declare const SPACE_TRUE_COLORS = 3;
|
|
7
|
-
|
|
8
|
-
export { type ColorSupportLevel as C, SPACE_16_COLORS as S, SPACE_256_COLORS as a, SPACE_MONO as b, SPACE_TRUE_COLORS as c };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
2
|
-
|
|
3
|
-
declare const SPACE_MONO = 0;
|
|
4
|
-
declare const SPACE_16_COLORS = 1;
|
|
5
|
-
declare const SPACE_256_COLORS = 2;
|
|
6
|
-
declare const SPACE_TRUE_COLORS = 3;
|
|
7
|
-
|
|
8
|
-
export { type ColorSupportLevel as C, SPACE_16_COLORS as S, SPACE_256_COLORS as a, SPACE_MONO as b, SPACE_TRUE_COLORS as c };
|
|
File without changes
|
|
File without changes
|