@alphahydrae/exec 0.2.6 → 1.0.2
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.
- package/README.md +15 -14
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -20,6 +20,7 @@ This package was developed to be used in Node.js scripts that are frontends to
|
|
|
20
20
|
execute other commands. For example, a script that would build and execute a
|
|
21
21
|
complex SSH or Ansible command.
|
|
22
22
|
|
|
23
|
+
[](https://www.npmjs.com/package/@alphahydrae/exec)
|
|
23
24
|
[](https://github.com/AlphaHydrae/node-exec/actions/workflows/build.yml)
|
|
24
25
|
[](https://opensource.org/licenses/MIT)
|
|
25
26
|
|
|
@@ -42,19 +43,19 @@ npm i @alphahydrae/exec
|
|
|
42
43
|
|
|
43
44
|
| OS & Architecture | Node.js 18 | Node.js 20 | Node.js 22 |
|
|
44
45
|
| :---------------- | :--------: | :--------: | :--------: |
|
|
45
|
-
| macOS x64 | ✅
|
|
46
|
-
| macOS arm64 | ✅
|
|
47
|
-
| Linux x64 gnu | ✅
|
|
48
|
-
| Linux x64 musl | ✅
|
|
49
|
-
| Linux arm64 gnu | ✅
|
|
50
|
-
| Linux arm64 musl | ✅
|
|
51
|
-
| Linux arm gnu | ❌
|
|
52
|
-
| Android arm64 | ❌
|
|
53
|
-
| Android armv7 | ❌
|
|
54
|
-
| FreeBSD x64 | ❌
|
|
55
|
-
| Windows x64 | ❌
|
|
56
|
-
| Windows x32 | ❌
|
|
57
|
-
| Windows arm64 | ❌
|
|
46
|
+
| macOS x64 | ✅ | ✅ | ✅ |
|
|
47
|
+
| macOS arm64 | ✅ | ✅ | ✅ |
|
|
48
|
+
| Linux x64 gnu | ✅ | ✅ | ✅ |
|
|
49
|
+
| Linux x64 musl | ✅ | ✅ | ✅ |
|
|
50
|
+
| Linux arm64 gnu | ✅ | ✅ | ✅ |
|
|
51
|
+
| Linux arm64 musl | ✅ | ✅ | ✅ |
|
|
52
|
+
| Linux arm gnu | ❌ | ❌ | ❌ |
|
|
53
|
+
| Android arm64 | ❌ | ❌ | ❌ |
|
|
54
|
+
| Android armv7 | ❌ | ❌ | ❌ |
|
|
55
|
+
| FreeBSD x64 | ❌ | ❌ | ❌ |
|
|
56
|
+
| Windows x64 | ❌ | ❌ | ❌ |
|
|
57
|
+
| Windows x32 | ❌ | ❌ | ❌ |
|
|
58
|
+
| Windows arm64 | ❌ | ❌ | ❌ |
|
|
58
59
|
|
|
59
60
|
> The `exec` family of functions is part of the
|
|
60
61
|
> [POSIX](https://en.wikipedia.org/wiki/POSIX) operating system API, so it will
|
|
@@ -72,4 +73,4 @@ following conversations:
|
|
|
72
73
|
Also a big thank you to the following Rust projects for making it easy:
|
|
73
74
|
|
|
74
75
|
- [NAPI-RS](https://napi.rs) (build pre-compiled Node.js addons in Rust)
|
|
75
|
-
- [nix](https://docs.rs/nix) (Rust-friendly bindings to the various
|
|
76
|
+
- [nix](https://docs.rs/nix) (Rust-friendly bindings to the various \*nix system functions)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alphahydrae/exec",
|
|
3
|
-
"version": "0.2
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "The execvp function for Node.js",
|
|
5
5
|
"main": "exec.js",
|
|
6
6
|
"repository": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"lint": "cargo clippy",
|
|
51
51
|
"prepublishOnly": "napi prepublish -t npm",
|
|
52
52
|
"test": "jest",
|
|
53
|
-
"version": "napi version"
|
|
53
|
+
"version": "napi version && npm run build:package && prettier --write ./npm/*/package.json"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@napi-rs/cli": "^2.18.4",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"node": "^18 || ^20 || ^22"
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
|
-
"@alphahydrae/exec-darwin-x64": "0.2
|
|
71
|
-
"@alphahydrae/exec-linux-x64-gnu": "0.2
|
|
72
|
-
"@alphahydrae/exec-linux-x64-musl": "0.2
|
|
73
|
-
"@alphahydrae/exec-darwin-arm64": "0.2
|
|
74
|
-
"@alphahydrae/exec-linux-arm64-gnu": "0.2
|
|
75
|
-
"@alphahydrae/exec-linux-arm64-musl": "0.2
|
|
70
|
+
"@alphahydrae/exec-darwin-x64": "1.0.2",
|
|
71
|
+
"@alphahydrae/exec-linux-x64-gnu": "1.0.2",
|
|
72
|
+
"@alphahydrae/exec-linux-x64-musl": "1.0.2",
|
|
73
|
+
"@alphahydrae/exec-darwin-arm64": "1.0.2",
|
|
74
|
+
"@alphahydrae/exec-linux-arm64-gnu": "1.0.2",
|
|
75
|
+
"@alphahydrae/exec-linux-arm64-musl": "1.0.2"
|
|
76
76
|
}
|
|
77
77
|
}
|