@jsenv/plugin-supervisor 1.5.19 → 1.5.21
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.
|
@@ -201,13 +201,20 @@ const ANSI = createAnsi({
|
|
|
201
201
|
process.env.GITHUB_WORKFLOW
|
|
202
202
|
});
|
|
203
203
|
function isUnicodeSupported() {
|
|
204
|
+
const {
|
|
205
|
+
env
|
|
206
|
+
} = process$1;
|
|
207
|
+
const {
|
|
208
|
+
TERM,
|
|
209
|
+
TERM_PROGRAM
|
|
210
|
+
} = env;
|
|
204
211
|
if (process$1.platform !== 'win32') {
|
|
205
|
-
return
|
|
212
|
+
return TERM !== 'linux'; // Linux console (kernel)
|
|
206
213
|
}
|
|
207
|
-
return Boolean(
|
|
208
|
-
|| Boolean(
|
|
209
|
-
||
|
|
210
|
-
||
|
|
214
|
+
return Boolean(env.WT_SESSION) // Windows Terminal
|
|
215
|
+
|| Boolean(env.TERMINUS_SUBLIME) // Terminus (<0.2.27)
|
|
216
|
+
|| env.ConEmuTask === '{cmd::Cmder}' // ConEmu and cmder
|
|
217
|
+
|| TERM_PROGRAM === 'Terminus-Sublime' || TERM_PROGRAM === 'vscode' || TERM === 'xterm-256color' || TERM === 'alacritty' || TERM === 'rxvt-unicode' || TERM === 'rxvt-unicode-256color' || env.TERMINAL_EMULATOR === 'JetBrains-JediTerm';
|
|
211
218
|
}
|
|
212
219
|
|
|
213
220
|
// see also https://github.com/sindresorhus/figures
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/plugin-supervisor",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.21",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,15 +26,13 @@
|
|
|
26
26
|
"/dist/"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@jsenv/ast": "6.
|
|
29
|
+
"@jsenv/ast": "6.3.0",
|
|
30
30
|
"@jsenv/urls": "2.5.2",
|
|
31
|
-
"@jsenv/sourcemap": "1.2.
|
|
32
|
-
"launch-editor": "2.
|
|
31
|
+
"@jsenv/sourcemap": "1.2.24",
|
|
32
|
+
"launch-editor": "2.9.1"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
-
"eslint": "npx eslint . --ext=.js,.mjs,.cjs,.html",
|
|
36
35
|
"build": "node ./scripts/build.mjs",
|
|
37
|
-
"test": "node ./scripts/test.mjs",
|
|
38
36
|
"prepublishOnly": "npm run build"
|
|
39
37
|
}
|
|
40
38
|
}
|