Compare commits

...

8 Commits

Author SHA1 Message Date
d37071dae0 fix(spawn): use detached:true so children are immune to terminal SIGINT
Children now get their own process group. Terminal Ctrl+C only reaches
the parent, which then does orderly tree-kill while children are still
alive and the process tree is intact.
2026-03-04 00:49:29 +00:00
181d352e21 fix(deps): bump smartexit to ^2.0.1 for PID-tracking fix 2026-03-04 00:04:22 +00:00
8a0a18f4da v3.3.3 2026-03-03 23:41:59 +00:00
bdc09afedd fix(deps): upgrade @push.rocks/smartexit to ^2.0.0 2026-03-03 23:41:49 +00:00
68060e8565 v3.3.2 2026-03-03 22:36:40 +00:00
f2552cda79 fix(release): add @git.zone/cli release configuration with registries and public access 2026-03-03 22:36:40 +00:00
b898382305 v3.3.1 2026-03-03 22:35:20 +00:00
5f8f38c2e6 fix(deps): bump @push.rocks/smartexit dependency to ^1.1.1 2026-03-03 22:35:20 +00:00
6 changed files with 3174 additions and 3697 deletions

View File

@@ -1,5 +1,19 @@
# Changelog
## 2026-03-03 - 3.3.2 - fix(release)
add @git.zone/cli release configuration with registries and public access
- Updated file: npmextra.json
- Added @git.zone/cli.release.registries: https://verdaccio.lossleess.digital, https://registry.npmjs.org
- Set @git.zone/cli.release.accessLevel to "public"
## 2026-03-03 - 3.3.1 - fix(deps)
bump @push.rocks/smartexit dependency to ^1.1.1
- Updated @push.rocks/smartexit from ^1.0.23 to ^1.1.1
- Only package.json was modified
- Project current version is 3.3.0; recommend a patch release to 3.3.1
## 2025-08-17 - 3.3.0 - feat(smartshell)
Add secure spawn APIs, PTY support, interactive/streaming control, timeouts and buffer limits; update README and tests

View File

@@ -28,5 +28,14 @@
},
"tsdoc": {
"legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
},
"@git.zone/cli": {
"release": {
"registries": [
"https://verdaccio.lossleess.digital",
"https://registry.npmjs.org"
],
"accessLevel": "public"
}
}
}

View File

@@ -1,7 +1,7 @@
{
"name": "@push.rocks/smartshell",
"private": false,
"version": "3.3.0",
"version": "3.3.5",
"description": "A library for executing shell commands using promises.",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
@@ -33,14 +33,14 @@
},
"homepage": "https://code.foss.global/push.rocks/smartshell",
"devDependencies": {
"@git.zone/tsbuild": "^2.6.4",
"@git.zone/tsrun": "^1.3.3",
"@git.zone/tstest": "^2.3.2",
"@types/node": "^22.10.2"
"@git.zone/tsbuild": "^2.7.3",
"@git.zone/tsrun": "^1.6.2",
"@git.zone/tstest": "^2.8.3",
"@types/node": "^22.19.13"
},
"dependencies": {
"@push.rocks/smartdelay": "^3.0.1",
"@push.rocks/smartexit": "^1.0.23",
"@push.rocks/smartdelay": "^3.0.5",
"@push.rocks/smartexit": "^2.0.1",
"@push.rocks/smartpromise": "^4.2.3",
"@types/which": "^3.0.4",
"tree-kill": "^1.2.2",

6828
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartshell',
version: '3.3.0',
version: '3.3.2',
description: 'A library for executing shell commands using promises.'
}

View File

@@ -119,7 +119,7 @@ export class Smartshell {
shell: false, // SECURITY: Never use shell with untrusted input
cwd: process.cwd(),
env: options.env || process.env,
detached: false,
detached: true, // Own process group — immune to terminal SIGINT, managed by smartexit
signal: options.signal,
});
@@ -342,7 +342,7 @@ export class Smartshell {
shell: true,
cwd: process.cwd(),
env: options.env || process.env,
detached: false,
detached: true, // Own process group — immune to terminal SIGINT, managed by smartexit
signal: options.signal,
});