@jsenv/core 39.5.12 → 39.5.14

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.
Files changed (3) hide show
  1. package/dist/js/ws.js +6413 -6287
  2. package/dist/jsenv_core.js +14 -9
  3. package/package.json +20 -20
@@ -328,18 +328,23 @@ const ANSI = createAnsi({
328
328
  });
329
329
 
330
330
  function isUnicodeSupported() {
331
+ const {env} = process$1;
332
+ const {TERM, TERM_PROGRAM} = env;
333
+
331
334
  if (process$1.platform !== 'win32') {
332
- return process$1.env.TERM !== 'linux'; // Linux console (kernel)
335
+ return TERM !== 'linux'; // Linux console (kernel)
333
336
  }
334
337
 
335
- return Boolean(process$1.env.WT_SESSION) // Windows Terminal
336
- || Boolean(process$1.env.TERMINUS_SUBLIME) // Terminus (<0.2.27)
337
- || process$1.env.ConEmuTask === '{cmd::Cmder}' // ConEmu and cmder
338
- || process$1.env.TERM_PROGRAM === 'Terminus-Sublime'
339
- || process$1.env.TERM_PROGRAM === 'vscode'
340
- || process$1.env.TERM === 'xterm-256color'
341
- || process$1.env.TERM === 'alacritty'
342
- || process$1.env.TERMINAL_EMULATOR === 'JetBrains-JediTerm';
338
+ return Boolean(env.WT_SESSION) // Windows Terminal
339
+ || Boolean(env.TERMINUS_SUBLIME) // Terminus (<0.2.27)
340
+ || env.ConEmuTask === '{cmd::Cmder}' // ConEmu and cmder
341
+ || TERM_PROGRAM === 'Terminus-Sublime'
342
+ || TERM_PROGRAM === 'vscode'
343
+ || TERM === 'xterm-256color'
344
+ || TERM === 'alacritty'
345
+ || TERM === 'rxvt-unicode'
346
+ || TERM === 'rxvt-unicode-256color'
347
+ || env.TERMINAL_EMULATOR === 'JetBrains-JediTerm';
343
348
  }
344
349
 
345
350
  // see also https://github.com/sindresorhus/figures
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "39.5.12",
3
+ "version": "39.5.14",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -46,9 +46,9 @@
46
46
  "scripts": {
47
47
  "eslint": "npx eslint .",
48
48
  "test": "node --conditions=development ./scripts/test/test.mjs",
49
+ "test:packages": "npm run test -- ./packages/",
49
50
  "build": "node --conditions=development ./scripts/build/build.mjs",
50
- "packages:test": "npm run test -- ./packages/",
51
- "workspace:build": "npm run build --workspaces --if-present --conditions=developement",
51
+ "build:packages": "npm run build --workspaces --if-present --conditions=developement",
52
52
  "monorepo:sync_packages_versions": "node ./scripts/monorepo/sync_packages_versions.mjs",
53
53
  "monorepo:publish": "node ./scripts/monorepo/publish_packages.mjs",
54
54
  "monorepo:upgrade_versions": "node ./scripts/monorepo/upgrade_external_versions.mjs",
@@ -59,8 +59,8 @@
59
59
  "prettier": "prettier --write .",
60
60
  "test:snapshot_clear": "npx @jsenv/filesystem clear **/tests/**/side_effects/",
61
61
  "test:ci": "CI=1 npm run test",
62
+ "test:packages:ci": "CI=1 npm run workspace:test",
62
63
  "test:only_dev_server_errors": "node --conditions=development ./tests/dev_server/errors/dev_errors_snapshots.test.mjs",
63
- "workspace:test:ci": "CI=1 npm run workspace:test",
64
64
  "dev": "node --conditions=development ./scripts/dev/dev.mjs",
65
65
  "playwright:install": "npx playwright install-deps && npx playwright install",
66
66
  "https:setup": "npx @jsenv/https-local setup",
@@ -69,25 +69,24 @@
69
69
  "dependencies": {
70
70
  "@financial-times/polyfill-useragent-normaliser": "1.10.2",
71
71
  "@jsenv/abort": "4.3.0",
72
- "@jsenv/ast": "6.2.18",
72
+ "@jsenv/ast": "6.3.0",
73
73
  "@jsenv/filesystem": "4.10.11",
74
74
  "@jsenv/humanize": "1.2.8",
75
75
  "@jsenv/importmap": "1.2.1",
76
76
  "@jsenv/integrity": "0.0.2",
77
- "@jsenv/js-module-fallback": "1.3.39",
77
+ "@jsenv/js-module-fallback": "1.3.40",
78
78
  "@jsenv/node-esm-resolution": "1.0.6",
79
- "@jsenv/plugin-bundling": "2.7.10",
80
- "@jsenv/plugin-minification": "1.5.6",
81
- "@jsenv/plugin-supervisor": "1.5.20",
82
- "@jsenv/plugin-transpilation": "1.4.23",
79
+ "@jsenv/plugin-bundling": "2.7.12",
80
+ "@jsenv/plugin-minification": "1.5.7",
81
+ "@jsenv/plugin-supervisor": "1.5.21",
82
+ "@jsenv/plugin-transpilation": "1.4.24",
83
83
  "@jsenv/runtime-compat": "1.3.1",
84
84
  "@jsenv/server": "15.3.1",
85
- "@jsenv/sourcemap": "1.2.23",
85
+ "@jsenv/sourcemap": "1.2.24",
86
86
  "@jsenv/url-meta": "8.5.2",
87
87
  "@jsenv/urls": "2.5.2",
88
88
  "@jsenv/utils": "2.1.2",
89
- "string-width": "7.2.0",
90
- "anchor-markdown-header": "0.7.0"
89
+ "string-width": "7.2.0"
91
90
  },
92
91
  "devDependencies": {
93
92
  "@babel/plugin-syntax-import-attributes": "7.25.6",
@@ -104,16 +103,17 @@
104
103
  "@jsenv/plugin-as-js-classic": "workspace:*",
105
104
  "@jsenv/snapshot": "workspace:*",
106
105
  "@jsenv/test": "workspace:*",
107
- "@playwright/browser-chromium": "1.46.1",
108
- "@playwright/browser-firefox": "1.46.1",
109
- "@playwright/browser-webkit": "1.46.1",
106
+ "@playwright/browser-chromium": "1.47.2",
107
+ "@playwright/browser-firefox": "1.47.2",
108
+ "@playwright/browser-webkit": "1.47.2",
109
+ "anchor-markdown-header": "0.7.0",
110
110
  "babel-plugin-transform-async-to-promises": "0.8.18",
111
- "eslint": "9.9.1",
112
- "marked": "14.1.0",
111
+ "eslint": "9.11.1",
112
+ "marked": "14.1.2",
113
113
  "open": "10.1.0",
114
- "playwright": "1.46.1",
114
+ "playwright": "1.47.2",
115
115
  "prettier": "3.3.3",
116
- "prettier-plugin-organize-imports": "4.0.0",
116
+ "prettier-plugin-organize-imports": "4.1.0",
117
117
  "strip-ansi": "7.1.0"
118
118
  }
119
119
  }