Skip to content
Myr

Require Node.js 18

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sindre Sorhus · committed by Sindre Sorhus · parent 0d038e0 · Browse files · 5 files+15 added−38 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+15 added−38 removed

  • other:+15 added−38 removed

5 files+15 added−38 removed

modified:.github/workflows/main.yml+3 added-4 removed
modified:lib/stream.js+2 added-12 removed
modified:index.d.ts+2 added-2 removed
277 unmodified lines
278 Write some input to the `stdin` of your binary.279280 If the input is a file, use the `inputFile` option instead.281 */282 readonly input?: string | Buffer | ReadableStream;282 readonly input?: string | Uint8Array | ReadableStream;283284 /**285 Use a file as input to the the `stdin` of your binary.286
7 unmodified lines
294 Write some input to the `stdin` of your binary.295296 If the input is a file, use the `inputFile` option instead.297 */298 readonly input?: string | Buffer;298 readonly input?: string | Uint8Array;299300 /**301 Use a file as input to the the `stdin` of your binary.302
653 unmodified lines
modified:package.json+7 added-7 removed
14 unmodified lines
15 "types": "./index.d.ts",16 "default": "./index.js"17 },18 "engines": {19 "node": ">=16.17"19 "node": ">=18"20 },21 "scripts": {22 "test": "xo && c8 ava && tsd"23 },
20 unmodified lines
44 "local",45 "zx"46 ],47 "dependencies": {48 "@sindresorhus/merge-streams": "^1.0.0",49 "cross-spawn": "^7.0.3",50 "get-stream": "^8.0.1",51 "human-signals": "^5.0.0",52 "is-stream": "^3.0.0",52 "merge-stream": "^2.0.0",53 "npm-run-path": "^5.1.0",54 "onetime": "^6.0.0",55 "signal-exit": "^4.1.0",56 "strip-final-newline": "^3.0.0"57 },58 "devDependencies": {59 "@types/node": "^20.4.0",60 "ava": "^5.2.0",59 "@types/node": "^20.8.9",60 "ava": "^5.3.1",61 "c8": "^8.0.1",62 "get-node": "^14.2.0",62 "get-node": "^14.2.1",63 "is-running": "^2.1.0",64 "p-event": "^6.0.0",65 "path-key": "^4.0.0",66 "tempfile": "^5.0.0",67 "tsd": "^0.28.1",68 "xo": "^0.55.0"67 "tsd": "^0.29.0",68 "xo": "^0.56.0"69 },70 "c8": {71 "reporter": [72 "text",
18 unmodified lines
modified:readme.md+1 added-13 removed
539 unmodified lines
540If the spawned process fails, [`error.stdout`](#stdout), [`error.stderr`](#stderr), and [`error.all`](#all) will contain the buffered data.541542#### input543544Type: `string | Buffer | stream.Readable`544Type: `string | Uint8Array | stream.Readable`545546Write some input to the `stdin` of your binary.\547Streams are not allowed when using the synchronous methods.548
258 unmodified lines
807## Maintainers808809- [Sindre Sorhus](https://github.com/sindresorhus)810- [@ehmicky](https://github.com/ehmicky)811812---813814<div align="center">815 <b>816 <a href="https://tidelift.com/subscription/pkg/npm-execa?utm_source=npm-execa&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>817 </b>818 <br>819 <sub>820 Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.821 </sub>822</div>