@jsenv/test 3.3.4 → 3.3.6

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.
@@ -5619,7 +5619,9 @@ const renderDetails = (data) => {
5619
5619
  const useNonGreyAnsiColor =
5620
5620
  typeof value === "string" && value.includes("\x1b");
5621
5621
  valueString += " ";
5622
- valueString += useNonGreyAnsiColor ? value : ANSI.color(value, ANSI.GREY);
5622
+ valueString += useNonGreyAnsiColor
5623
+ ? value
5624
+ : ANSI.color(String(value), ANSI.GREY);
5623
5625
  details.push(valueString);
5624
5626
  }
5625
5627
  if (details.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "3.3.4",
3
+ "version": "3.3.6",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,24 +38,25 @@
38
38
  "dependencies": {
39
39
  "@c88/v8-coverage": "0.1.1",
40
40
  "@jsenv/abort": "4.3.0",
41
- "@jsenv/ast": "6.1.4",
41
+ "@jsenv/ast": "6.2.1",
42
42
  "@jsenv/filesystem": "4.7.5",
43
43
  "@jsenv/github-check-run": "0.1.20",
44
44
  "@jsenv/humanize": "1.2.3",
45
- "@jsenv/plugin-supervisor": "1.4.16",
45
+ "@jsenv/plugin-supervisor": "1.5.0",
46
+ "@jsenv/sourcemap": "1.2.13",
46
47
  "@jsenv/url-meta": "8.4.2",
47
48
  "@jsenv/urls": "2.2.10",
48
49
  "@jsenv/utils": "2.1.1",
50
+ "errorstacks": "2.4.1",
51
+ "he": "1.2.0",
49
52
  "istanbul-lib-coverage": "3.2.2",
50
53
  "istanbul-lib-instrument": "6.0.3",
51
54
  "istanbul-lib-report": "3.0.1",
52
55
  "istanbul-reports": "3.1.7",
53
- "he": "1.2.0",
54
56
  "pidtree": "0.6.0",
55
57
  "strip-ansi": "7.1.0",
56
58
  "supports-color": "9.4.0",
57
- "v8-to-istanbul": "9.3.0",
58
- "errorstacks": "2.4.1"
59
+ "v8-to-istanbul": "9.3.0"
59
60
  },
60
61
  "devDependencies": {
61
62
  "@jsenv/terminal-recorder": "../independent/terminal-recorder/"
@@ -863,7 +863,9 @@ const renderDetails = (data) => {
863
863
  const useNonGreyAnsiColor =
864
864
  typeof value === "string" && value.includes("\x1b");
865
865
  valueString += " ";
866
- valueString += useNonGreyAnsiColor ? value : ANSI.color(value, ANSI.GREY);
866
+ valueString += useNonGreyAnsiColor
867
+ ? value
868
+ : ANSI.color(String(value), ANSI.GREY);
867
869
  details.push(valueString);
868
870
  }
869
871
  if (details.length === 0) {