@jsenv/core 39.0.1 → 39.0.2

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 (2) hide show
  1. package/dist/jsenv_core.js +5 -1
  2. package/package.json +13 -11
@@ -834,6 +834,7 @@ const processSupportsBasicColor = createSupportsColor(process.stdout).hasBasic;
834
834
 
835
835
  const ANSI = createAnsi({
836
836
  supported:
837
+ process.env.FORCE_COLOR === "1" ||
837
838
  processSupportsBasicColor ||
838
839
  // GitHub workflow does support ANSI but "supports-color" returns false
839
840
  // because stream.isTTY returns false, see https://github.com/actions/runner/issues/241
@@ -881,6 +882,9 @@ const createUnicode = ({ supported, ANSI }) => {
881
882
  get CIRCLE_CROSS_RAW() {
882
883
  return UNICODE.supported ? `ⓧ` : `(×)`;
883
884
  },
885
+ get CIRCLE_DOTTED_RAW() {
886
+ return UNICODE.supported ? `◌` : `*`;
887
+ },
884
888
  get COMMAND() {
885
889
  return ANSI.color(UNICODE.COMMAND_RAW, ANSI.GREY); // ANSI_MAGENTA)
886
890
  },
@@ -910,7 +914,7 @@ const createUnicode = ({ supported, ANSI }) => {
910
914
  };
911
915
 
912
916
  const UNICODE = createUnicode({
913
- supported: isUnicodeSupported() || process.env.FORCE_UNICODE === "1",
917
+ supported: process.env.FORCE_UNICODE === "1" || isUnicodeSupported(),
914
918
  ANSI,
915
919
  });
916
920
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "39.0.1",
3
+ "version": "39.0.2",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -48,6 +48,8 @@
48
48
  "dev": "node --conditions=development ./scripts/dev/dev.mjs",
49
49
  "test": "node --conditions=development ./scripts/test/test.mjs",
50
50
  "test:workspace": "npm run test --workspaces --if-present -- --workspace",
51
+ "test:ci": "CI=1 npm run test",
52
+ "test:workspace:ci": "CI=1 npm run test:workspace",
51
53
  "test:only_dev_server_errors": "node --conditions=development ./tests/dev_server/errors/dev_errors_snapshots.test.mjs",
52
54
  "build": "node --conditions=development ./scripts/build/build.mjs",
53
55
  "build:file_size": "node ./scripts/build/build_file_size.mjs --log",
@@ -64,22 +66,22 @@
64
66
  "dependencies": {
65
67
  "@financial-times/polyfill-useragent-normaliser": "1.10.2",
66
68
  "@jsenv/abort": "4.3.0",
67
- "@jsenv/ast": "6.1.1",
68
- "@jsenv/filesystem": "4.7.2",
69
- "@jsenv/humanize": "1.1.3",
69
+ "@jsenv/ast": "6.1.2",
70
+ "@jsenv/filesystem": "4.7.3",
71
+ "@jsenv/humanize": "1.2.0",
70
72
  "@jsenv/importmap": "1.2.1",
71
73
  "@jsenv/integrity": "0.0.2",
72
- "@jsenv/js-module-fallback": "1.3.18",
74
+ "@jsenv/js-module-fallback": "1.3.19",
73
75
  "@jsenv/node-esm-resolution": "1.0.2",
74
- "@jsenv/plugin-bundling": "2.6.12",
76
+ "@jsenv/plugin-bundling": "2.6.13",
75
77
  "@jsenv/plugin-minification": "1.5.4",
76
- "@jsenv/plugin-supervisor": "1.4.13",
77
- "@jsenv/plugin-transpilation": "1.4.1",
78
+ "@jsenv/plugin-supervisor": "1.4.14",
79
+ "@jsenv/plugin-transpilation": "1.4.2",
78
80
  "@jsenv/runtime-compat": "1.3.0",
79
- "@jsenv/server": "15.2.9",
80
- "@jsenv/sourcemap": "1.2.10",
81
+ "@jsenv/server": "15.2.10",
82
+ "@jsenv/sourcemap": "1.2.11",
81
83
  "@jsenv/url-meta": "8.4.2",
82
- "@jsenv/urls": "2.2.7",
84
+ "@jsenv/urls": "2.2.8",
83
85
  "@jsenv/utils": "2.1.1"
84
86
  },
85
87
  "devDependencies": {