@jsenv/test 3.3.3 → 3.3.4

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.
@@ -747,7 +747,7 @@ const createAnsi = ({ supported }) => {
747
747
  if (!color) {
748
748
  return text;
749
749
  }
750
- if (text.trim() === "") {
750
+ if (typeof text === "string" && text.trim() === "") {
751
751
  // cannot set color of blank chars
752
752
  return text;
753
753
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
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.1.3",
42
- "@jsenv/filesystem": "4.7.4",
43
- "@jsenv/github-check-run": "0.1.19",
44
- "@jsenv/humanize": "1.2.1",
45
- "@jsenv/plugin-supervisor": "1.4.15",
41
+ "@jsenv/ast": "6.1.4",
42
+ "@jsenv/filesystem": "4.7.5",
43
+ "@jsenv/github-check-run": "0.1.20",
44
+ "@jsenv/humanize": "1.2.3",
45
+ "@jsenv/plugin-supervisor": "1.4.16",
46
46
  "@jsenv/url-meta": "8.4.2",
47
- "@jsenv/urls": "2.2.9",
47
+ "@jsenv/urls": "2.2.10",
48
48
  "@jsenv/utils": "2.1.1",
49
49
  "istanbul-lib-coverage": "3.2.2",
50
50
  "istanbul-lib-instrument": "6.0.3",