Skip to content

Commit c38363f

Browse files
authored
feat: support pipe splitting (like tee) and delayed piping (google#914)
* feat: support pipe splitting BREAKING CHANGE: `p.halt()` should be replaced with `$({halt: true})`, stdio defaults to `pipe` * test: add delayed `pipe()` test * feat: add `pid` getter to `ProcessPromise` * test: check chainable pipe literals * test: kill nc process on end * refactor!: remove `halt()` method * refactor: remove runner logic from getters * fix: enhance `Shell` result type * chore: bring back `halt` method to avoid breaking change * style: improve `Options` block formatting * perf: improve cmd formatter * chore: update internal reexports * chore: up build deps * chore(deps): update which to v5.0.0
1 parent b9f78c3 commit c38363f

8 files changed

+835
-425
lines changed

.size-limit.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
"name": "zx/index",
1111
"path": "build/*.{js,cjs}",
12-
"limit": "797 kB",
12+
"limit": "800 kB",
1313
"brotli": false,
1414
"gzip": false
1515
},

package-lock.json

+648-258
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"@types/node": ">=20"
9393
},
9494
"devDependencies": {
95-
"@size-limit/file": "^11.1.5",
95+
"@size-limit/file": "^11.1.6",
9696
"@types/fs-extra": "^11.0.4",
9797
"@types/minimist": "^1.2.5",
9898
"@types/node": ">=20.11.30",
@@ -104,8 +104,8 @@
104104
"create-require": "^1.1.1",
105105
"depseek": "^0.4.1",
106106
"dts-bundle-generator": "^9.5.1",
107-
"esbuild": "^0.23.1",
108-
"esbuild-node-externals": "^1.14.0",
107+
"esbuild": "^0.24.0",
108+
"esbuild-node-externals": "^1.15.0",
109109
"esbuild-plugin-entry-chunks": "^0.1.15",
110110
"esbuild-plugin-extract-helpers": "^0.0.6",
111111
"esbuild-plugin-hybrid-export": "^0.2.5",
@@ -119,12 +119,12 @@
119119
"minimist": "^1.2.8",
120120
"node-fetch-native": "^1.6.4",
121121
"prettier": "^3.3.3",
122-
"size-limit": "^11.1.5",
122+
"size-limit": "^11.1.6",
123123
"ts-node": "^10.9.2",
124124
"tsd": "^0.31.2",
125-
"tsx": "^4.19.1",
126-
"typescript": "^5.6.2",
127-
"which": "^4.0.0",
125+
"tsx": "^4.19.2",
126+
"typescript": "^5.6.3",
127+
"which": "^5.0.0",
128128
"yaml": "^2.5.1",
129129
"zurk": "^0.6.0"
130130
},

0 commit comments

Comments
 (0)