@testring/child-process
Advanced tools
+3
-4
@@ -12,3 +12,3 @@ "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.fork = void 0; | ||
| exports.fork = fork; | ||
| const path = require("path"); | ||
@@ -69,4 +69,4 @@ const process = require("process"); | ||
| const getForkOptions = (options) => (Object.assign(Object.assign({}, DEFAULT_FORK_OPTIONS), options)); | ||
| function fork(filePath, args = [], options = {}) { | ||
| return __awaiter(this, void 0, void 0, function* () { | ||
| function fork(filePath_1) { | ||
| return __awaiter(this, arguments, void 0, function* (filePath, args = [], options = {}) { | ||
| const mergedOptions = getForkOptions(options); | ||
@@ -102,2 +102,1 @@ const childArg = `--testring-parent-pid=${process.pid}`; | ||
| } | ||
| exports.fork = fork; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.resolveBinary = void 0; | ||
| exports.resolveBinary = resolveBinary; | ||
| const fs = require("fs"); | ||
@@ -41,2 +41,1 @@ const path = require("path"); | ||
| } | ||
| exports.resolveBinary = resolveBinary; |
+1
-2
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.spawn = void 0; | ||
| exports.spawn = spawn; | ||
| const childProcess = require("child_process"); | ||
@@ -13,2 +13,1 @@ const process = require("process"); | ||
| } | ||
| exports.spawn = spawn; |
+1
-2
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.isChildProcess = void 0; | ||
| exports.isChildProcess = isChildProcess; | ||
| const process_1 = require("process"); | ||
@@ -12,2 +12,1 @@ function checkArguments(argv) { | ||
| } | ||
| exports.isChildProcess = isChildProcess; |
+3
-3
| { | ||
| "name": "@testring/child-process", | ||
| "version": "0.6.13", | ||
| "version": "0.6.14-alpha.1", | ||
| "main": "./dist/index.js", | ||
@@ -11,4 +11,4 @@ "types": "./src/index.ts", | ||
| "dependencies": { | ||
| "@testring/types": "0.6.13", | ||
| "@testring/utils": "0.6.13" | ||
| "@testring/types": "0.6.14-alpha.1", | ||
| "@testring/utils": "0.6.14-alpha.1" | ||
| }, | ||
@@ -15,0 +15,0 @@ "author": "RingCentral", |
12050
-0.62%335
-1.18%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed