@jsenv/test 3.4.3 → 3.4.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.
@@ -1583,15 +1583,13 @@ const createDynamicLog = ({
1583
1583
  // is that node.js will later throw error if stream gets closed
1584
1584
  // while something listening data on it
1585
1585
  const spyStreamOutput = (stream, callback) => {
1586
- const originalWrite = stream.write;
1587
-
1588
1586
  let output = "";
1589
1587
  let installed = true;
1590
-
1588
+ const originalWrite = stream.write;
1591
1589
  stream.write = function (...args /* chunk, encoding, callback */) {
1592
1590
  output += args;
1593
1591
  callback(output);
1594
- return originalWrite.call(stream, ...args);
1592
+ return originalWrite.call(this, ...args);
1595
1593
  };
1596
1594
 
1597
1595
  const uninstall = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "3.4.3",
3
+ "version": "3.4.4",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,12 +38,12 @@
38
38
  "dependencies": {
39
39
  "@c88/v8-coverage": "0.1.1",
40
40
  "@jsenv/abort": "4.3.0",
41
- "@jsenv/ast": "6.2.16",
41
+ "@jsenv/ast": "6.2.17",
42
42
  "@jsenv/exception": "1.1.2",
43
43
  "@jsenv/filesystem": "4.10.2",
44
44
  "@jsenv/github-check-run": "0.2.0",
45
45
  "@jsenv/humanize": "1.2.8",
46
- "@jsenv/plugin-supervisor": "1.5.18",
46
+ "@jsenv/plugin-supervisor": "1.5.19",
47
47
  "@jsenv/sourcemap": "1.2.23",
48
48
  "@jsenv/url-meta": "8.5.1",
49
49
  "@jsenv/urls": "2.5.2",