teen_process 2.2.0 → 2.2.3
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/build/lib/exec.d.ts +1 -1
- package/build/lib/exec.d.ts.map +1 -1
- package/build/lib/helpers.d.ts +1 -1
- package/build/lib/helpers.d.ts.map +1 -1
- package/build/lib/index.js +17 -7
- package/build/lib/index.js.map +1 -1
- package/build/lib/subprocess.d.ts +1 -1
- package/build/lib/subprocess.d.ts.map +1 -1
- package/package.json +4 -4
package/build/lib/exec.d.ts
CHANGED
|
@@ -104,5 +104,5 @@ export type BufferProp<MaybeBuffer extends {
|
|
|
104
104
|
* @param {T} [originalOpts] - Options
|
|
105
105
|
* @returns {Promise<BufferProp<T> extends true ? TeenProcessExecBufferResult : TeenProcessExecStringResult>}
|
|
106
106
|
*/
|
|
107
|
-
export function exec<T extends TeenProcessExecOptions>(cmd: string, args?: string[]
|
|
107
|
+
export function exec<T extends TeenProcessExecOptions>(cmd: string, args?: string[], originalOpts?: T): Promise<BufferProp<T> extends true ? TeenProcessExecBufferResult : TeenProcessExecStringResult>;
|
|
108
108
|
//# sourceMappingURL=exec.d.ts.map
|
package/build/lib/exec.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exec.d.ts","sourceRoot":"","sources":["../../lib/exec.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAqJc,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI;;;;;qCAKzB,OAAO,eAAe,EAAE,YAAY,GAAG,gBAAgB;;;;;;;;YAMtD,MAAM;;;;YACN,MAAM;;;;UACN,MAAM,OAAC;;;;;;;;;YAMP,MAAM;;;;YACN,MAAM;;;;UACN,MAAM,OAAC;;;;;;;;;YAMP,MAAM;;;;YACN,MAAM;;;;UACN,MAAM,OAAC;;;;;mCAKR,KAAK,GAAG,yBAAyB;uBAIV,WAAW,SAAlC;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,IACtB,WAAW,CAAC,UAAU,CAAC;AArLpC;;;;;;;GAOG;AACH,qBANsC,CAAC,SAAzB,sBAAuB,OAC1B,MAAM,
|
|
1
|
+
{"version":3,"file":"exec.d.ts","sourceRoot":"","sources":["../../lib/exec.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAqJc,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI;;;;;qCAKzB,OAAO,eAAe,EAAE,YAAY,GAAG,gBAAgB;;;;;;;;YAMtD,MAAM;;;;YACN,MAAM;;;;UACN,MAAM,OAAC;;;;;;;;;YAMP,MAAM;;;;YACN,MAAM;;;;UACN,MAAM,OAAC;;;;;;;;;YAMP,MAAM;;;;YACN,MAAM;;;;UACN,MAAM,OAAC;;;;;mCAKR,KAAK,GAAG,yBAAyB;uBAIV,WAAW,SAAlC;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,IACtB,WAAW,CAAC,UAAU,CAAC;AArLpC;;;;;;;GAOG;AACH,qBANsC,CAAC,SAAzB,sBAAuB,OAC1B,MAAM,SACN,MAAM,EAAE,iBACR,CAAC,GACC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,2BAA2B,GAAG,2BAA2B,CAAC,CAqH3G"}
|
package/build/lib/helpers.d.ts
CHANGED
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* @returns {Promise<NodeJS.ErrnoException>} Mutated error instance with an improved description or an
|
|
10
10
|
* unchanged error instance
|
|
11
11
|
*/
|
|
12
|
-
export function formatEnoent(error: NodeJS.ErrnoException, cmd: string, cwd?: string | null
|
|
12
|
+
export function formatEnoent(error: NodeJS.ErrnoException, cmd: string, cwd?: string | null): Promise<NodeJS.ErrnoException>;
|
|
13
13
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../lib/helpers.js"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,oCAPW,MAAM,CAAC,cAAc,OAErB,MAAM,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../lib/helpers.js"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,oCAPW,MAAM,CAAC,cAAc,OAErB,MAAM,QACN,MAAM,OAAC,GACL,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,CAwB1C"}
|
package/build/lib/index.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.SubProcess = exports.spawn = exports.exec = void 0;
|
|
27
37
|
const source_map_support_1 = require("source-map-support");
|
package/build/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2DAA2C;AAC3C,IAAA,4BAAO,GAAE,CAAC;AAEV,kDAAoC;AACpC,sDAAwC;AACxC,kDAAoC;AAEpC,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC;AAIN,sBAAK;AAHpB,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;AAGT,gCAAU;AAFhC,MAAM,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;AAElB,oBAAI"}
|
|
@@ -6,7 +6,7 @@ export class SubProcess extends events<[never]> {
|
|
|
6
6
|
* @param {string[]} [args]
|
|
7
7
|
* @param {any} [opts]
|
|
8
8
|
*/
|
|
9
|
-
constructor(cmd: string, args?: string[]
|
|
9
|
+
constructor(cmd: string, args?: string[], opts?: any);
|
|
10
10
|
/** @type {import('child_process').ChildProcess?} */
|
|
11
11
|
proc: import("child_process").ChildProcess | null;
|
|
12
12
|
/** @type {string[]} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subprocess.d.ts","sourceRoot":"","sources":["../../lib/subprocess.js"],"names":[],"mappings":";qCAqTW,MAAM,kCAEJ,GAAG;AA9ShB;IA4BE;;;;OAIG;IACH,iBAJW,MAAM,
|
|
1
|
+
{"version":3,"file":"subprocess.d.ts","sourceRoot":"","sources":["../../lib/subprocess.js"],"names":[],"mappings":";qCAqTW,MAAM,kCAEJ,GAAG;AA9ShB;IA4BE;;;;OAIG;IACH,iBAJW,MAAM,SACN,MAAM,EAAE,SACR,GAAG,EAgBb;IA7CD,oDAAoD;IACpD,MADW,OAAO,eAAe,EAAE,YAAY,OAAC,CAC3C;IAEL,uBAAuB;IACvB,MADW,MAAM,EAAE,CACd;IAEL;;OAEG;IACH,KAFU,MAAM,CAEZ;IAEJ;;MAEE;IACF,MAFU,GAAG,CAER;IAEL;;OAEG;IACH,eAFU,OAAO,CAEH;IAEd;;OAEG;IACH,KAFU,MAAM,CAEZ;IAuBJ,yBAGC;IAED;;;;OAIG;IACH,sBAHW,MAAM,SACN,QAAQ,CAAC,MAAM,CAAC,GAAC,MAAM,QAYjC;IAED;;;;;;;;OAQG;IACH,sBALW,aAAa,IAAC,MAAM,OAAC,CAAA,cACrB,MAAM,OAAC,WACP,OAAO,GACL,OAAO,CAAC,IAAI,CAAC,CAuJzB;IAED;;OAEG;IACH,wBAGC;IAED;;;;;OAKG;IACH,cAJW,MAAM,CAAC,OAAO,YACd,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAgBzB;IAED,gDAcC;IAKD,sBAQC;IAED,qCAEC;CACF;mBA7SkB,QAAQ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "teen_process",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"description": "A grown up version of Node's spawn/exec",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"child_process",
|
|
@@ -53,21 +53,21 @@
|
|
|
53
53
|
"source-map-support": "^0.x"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@appium/eslint-config-appium-ts": "^0.
|
|
56
|
+
"@appium/eslint-config-appium-ts": "^1.0.0",
|
|
57
57
|
"@appium/tsconfig": "^0.x",
|
|
58
58
|
"@appium/types": "^0.x",
|
|
59
59
|
"@semantic-release/changelog": "^6.0.3",
|
|
60
60
|
"@semantic-release/git": "^10.0.1",
|
|
61
61
|
"@types/bluebird": "^3.5.42",
|
|
62
62
|
"@types/lodash": "^4.14.202",
|
|
63
|
-
"@types/node": "^
|
|
63
|
+
"@types/node": "^22.0.0",
|
|
64
64
|
"@types/shell-quote": "^1.7.5",
|
|
65
65
|
"@types/source-map-support": "^0.x",
|
|
66
66
|
"@types/ws": "^8.5.10",
|
|
67
67
|
"chai": "^5.1.1",
|
|
68
68
|
"chai-as-promised": "^8.0.0",
|
|
69
69
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
70
|
-
"mocha": "^
|
|
70
|
+
"mocha": "^11.0.1",
|
|
71
71
|
"prettier": "^3.1.0",
|
|
72
72
|
"semantic-release": "^24.0.0",
|
|
73
73
|
"typescript": "^5.4.1",
|