@netlify/run-utils 5.0.2 → 5.1.1

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.
Files changed (2) hide show
  1. package/lib/main.js +3 -2
  2. package/package.json +6 -6
package/lib/main.js CHANGED
@@ -31,9 +31,10 @@ const parseArgs = function (args, options) {
31
31
  * Redirect output by default, unless specified otherwise
32
32
  * */
33
33
  const redirectOutput = (childProcess, options) => {
34
+ var _a, _b;
34
35
  if (options.stdio !== undefined || options.stdout !== undefined || options.stderr !== undefined) {
35
36
  return;
36
37
  }
37
- childProcess.stdout.pipe(process.stdout);
38
- childProcess.stderr.pipe(process.stderr);
38
+ (_a = childProcess.stdout) === null || _a === void 0 ? void 0 : _a.pipe(process.stdout);
39
+ (_b = childProcess.stderr) === null || _b === void 0 ? void 0 : _b.pipe(process.stderr);
39
40
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/run-utils",
3
- "version": "5.0.2",
3
+ "version": "5.1.1",
4
4
  "description": "Utility for running commands inside Netlify Build",
5
5
  "type": "module",
6
6
  "exports": "./lib/main.js",
@@ -53,13 +53,13 @@
53
53
  "execa": "^6.0.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@types/node": "^14.18.31",
57
- "semver": "^7.0.0",
58
- "typescript": "^4.8.4",
59
- "vitest": "^0.24.1"
56
+ "@types/node": "^18.14.2",
57
+ "semver": "^7.3.8",
58
+ "typescript": "^5.0.0",
59
+ "vitest": "^0.30.1"
60
60
  },
61
61
  "engines": {
62
62
  "node": "^14.16.0 || >=16.0.0"
63
63
  },
64
- "gitHead": "be9da6e85afa0223bdcd6d228c929f4372515538"
64
+ "gitHead": "f45e8efd7e76a279d491ad2904d8d7c622538054"
65
65
  }