@jsenv/test 1.6.7 → 1.6.9

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.
@@ -1674,7 +1674,7 @@ const readFile = async (value, { as = "buffer" } = {}) => {
1674
1674
 
1675
1675
  process.platform === "win32";
1676
1676
 
1677
- process.platform !== "linux";
1677
+ process.platform === "linux";
1678
1678
 
1679
1679
  const writeFile = async (destination, content = "") => {
1680
1680
  const destinationUrl = assertAndNormalizeFileUrl(destination);
@@ -2610,6 +2610,7 @@ const createLog = ({
2610
2610
  write,
2611
2611
  dynamicWrite,
2612
2612
  destroy,
2613
+ stream,
2613
2614
  });
2614
2615
  return log;
2615
2616
  };
@@ -2644,7 +2645,7 @@ const startSpinner = ({
2644
2645
  stopOnVerticalOverflow = true,
2645
2646
  render = () => "",
2646
2647
  effect = () => {},
2647
- animated = true,
2648
+ animated = log.stream.isTTY,
2648
2649
  }) => {
2649
2650
  let frameIndex = 0;
2650
2651
  let interval;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "1.6.7",
3
+ "version": "1.6.9",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,8 +35,8 @@
35
35
  "dependencies": {
36
36
  "@jsenv/abort": "4.2.4",
37
37
  "@jsenv/ast": "5.1.4",
38
- "@jsenv/filesystem": "4.3.1",
39
- "@jsenv/log": "3.4.0",
38
+ "@jsenv/filesystem": "4.3.2",
39
+ "@jsenv/log": "3.4.1",
40
40
  "@jsenv/plugin-supervisor": "1.3.4",
41
41
  "@jsenv/urls": "2.2.1",
42
42
  "@jsenv/url-meta": "8.1.0",