@jsenv/core 39.0.4 → 39.0.5

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.
@@ -818,7 +818,7 @@ const createAnsi = ({ supported }) => {
818
818
  if (!color) {
819
819
  return text;
820
820
  }
821
- if (text && text.trim() === "") {
821
+ if (typeof text === "string" && text.trim() === "") {
822
822
  // cannot set color of blank chars
823
823
  return text;
824
824
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "39.0.4",
3
+ "version": "39.0.5",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -68,7 +68,7 @@
68
68
  "@jsenv/abort": "4.3.0",
69
69
  "@jsenv/ast": "6.1.4",
70
70
  "@jsenv/filesystem": "4.7.5",
71
- "@jsenv/humanize": "1.2.2",
71
+ "@jsenv/humanize": "1.2.3",
72
72
  "@jsenv/importmap": "1.2.1",
73
73
  "@jsenv/integrity": "0.0.2",
74
74
  "@jsenv/js-module-fallback": "1.3.21",