@jsenv/test 3.0.16 → 3.0.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "3.0.16",
3
+ "version": "3.0.18",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,13 +38,13 @@
38
38
  "dependencies": {
39
39
  "@c88/v8-coverage": "0.1.1",
40
40
  "@jsenv/abort": "4.3.0",
41
- "@jsenv/ast": "6.0.4",
42
- "@jsenv/filesystem": "4.6.6",
43
- "@jsenv/github-check-run": "0.1.11",
44
- "@jsenv/humanize": "1.1.0",
45
- "@jsenv/plugin-supervisor": "1.4.4",
41
+ "@jsenv/ast": "6.0.6",
42
+ "@jsenv/filesystem": "4.6.8",
43
+ "@jsenv/github-check-run": "0.1.13",
44
+ "@jsenv/humanize": "1.1.2",
45
+ "@jsenv/plugin-supervisor": "1.4.6",
46
46
  "@jsenv/url-meta": "8.4.0",
47
- "@jsenv/urls": "2.2.4",
47
+ "@jsenv/urls": "2.2.6",
48
48
  "@jsenv/utils": "2.1.1",
49
49
  "istanbul-lib-coverage": "3.2.2",
50
50
  "istanbul-lib-instrument": "6.0.3",
@@ -37,7 +37,11 @@ export const nodeChildProcess = ({
37
37
  env = {
38
38
  ...env,
39
39
  JSENV: true,
40
- FORCE_COLOR: supportsColor.stdout,
40
+ FORCE_COLOR:
41
+ supportsColor.stdout ||
42
+ // GitHub workflow does support ANSI but "supports-color" returns false
43
+ // because stream.isTTY returns false, see https://github.com/actions/runner/issues/241
44
+ process.env.GITHUB_WORKFLOW,
41
45
  };
42
46
 
43
47
  return {
@@ -33,7 +33,11 @@ export const nodeWorkerThread = ({
33
33
  env = {
34
34
  ...env,
35
35
  JSENV: true,
36
- FORCE_COLOR: supportsColor.stdout,
36
+ FORCE_COLOR:
37
+ supportsColor.stdout ||
38
+ // GitHub workflow does support ANSI but "supports-color" returns false
39
+ // because stream.isTTY returns false, see https://github.com/actions/runner/issues/241
40
+ process.env.GITHUB_WORKFLOW,
37
41
  };
38
42
 
39
43
  return {