@esposter/shared-node 4.8.0 → 4.10.0
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/dist/services/childProcess/execFile.d.ts +3 -4
- package/dist/services/childProcess/execFile.js +6 -6
- package/dist/services/childProcess/execFileSync.d.ts +2 -3
- package/dist/services/childProcess/execFileSync.js +3 -3
- package/dist/services/childProcess/execSync.d.ts +2 -3
- package/dist/services/childProcess/execSync.js +3 -3
- package/dist/services/childProcess/spawn.d.ts +2 -3
- package/dist/services/childProcess/spawn.js +3 -3
- package/dist/services/childProcess/spawnSync.d.ts +2 -3
- package/dist/services/childProcess/spawnSync.js +3 -3
- package/package.json +6 -9
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { execFile } from "node:child_process";
|
|
2
|
-
declare const execFile
|
|
3
|
-
export declare const execFileAsync: typeof execFile.__promisify__;
|
|
4
|
-
export { execFile$1 as execFile };
|
|
1
|
+
import { execFile as execFile$1 } from "node:child_process";
|
|
2
|
+
export declare const execFile: typeof execFile$1;
|
|
3
|
+
export declare const execFileAsync: typeof execFile$1.__promisify__;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { withHiddenWindow } from "./withHiddenWindow.js";
|
|
2
|
-
import { execFile } from "node:child_process";
|
|
2
|
+
import { execFile as execFile$1 } from "node:child_process";
|
|
3
3
|
import { promisify } from "node:util";
|
|
4
4
|
// src/services/childProcess/execFile.ts
|
|
5
|
-
const execFile
|
|
6
|
-
Object.defineProperty(execFile
|
|
7
|
-
return promisify(execFile)(file, ...withHiddenWindow(parameters));
|
|
5
|
+
const execFile = ((file, ...parameters) => execFile$1(file, ...withHiddenWindow(parameters)));
|
|
6
|
+
Object.defineProperty(execFile, promisify.custom, { value: (file, ...parameters) => {
|
|
7
|
+
return promisify(execFile$1)(file, ...withHiddenWindow(parameters));
|
|
8
8
|
} });
|
|
9
|
-
const execFileAsync = promisify(execFile
|
|
10
|
-
export { execFile
|
|
9
|
+
const execFileAsync = promisify(execFile);
|
|
10
|
+
export { execFile, execFileAsync };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { execFileSync } from "node:child_process";
|
|
2
|
-
declare const execFileSync
|
|
3
|
-
export { execFileSync$1 as execFileSync };
|
|
1
|
+
import { execFileSync as execFileSync$1 } from "node:child_process";
|
|
2
|
+
export declare const execFileSync: typeof execFileSync$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withHiddenWindow } from "./withHiddenWindow.js";
|
|
2
|
-
import { execFileSync } from "node:child_process";
|
|
2
|
+
import { execFileSync as execFileSync$1 } from "node:child_process";
|
|
3
3
|
// src/services/childProcess/execFileSync.ts
|
|
4
|
-
const execFileSync
|
|
5
|
-
export { execFileSync
|
|
4
|
+
const execFileSync = ((file, ...parameters) => execFileSync$1(file, ...withHiddenWindow(parameters)));
|
|
5
|
+
export { execFileSync };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { execSync } from "node:child_process";
|
|
2
|
-
declare const execSync
|
|
3
|
-
export { execSync$1 as execSync };
|
|
1
|
+
import { execSync as execSync$1 } from "node:child_process";
|
|
2
|
+
export declare const execSync: typeof execSync$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withHiddenWindow } from "./withHiddenWindow.js";
|
|
2
|
-
import { execSync } from "node:child_process";
|
|
2
|
+
import { execSync as execSync$1 } from "node:child_process";
|
|
3
3
|
// src/services/childProcess/execSync.ts
|
|
4
|
-
const execSync
|
|
5
|
-
export { execSync
|
|
4
|
+
const execSync = ((command, ...parameters) => execSync$1(command, ...withHiddenWindow(parameters)));
|
|
5
|
+
export { execSync };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { spawn } from "node:child_process";
|
|
2
|
-
declare const spawn
|
|
3
|
-
export { spawn$1 as spawn };
|
|
1
|
+
import { spawn as spawn$1 } from "node:child_process";
|
|
2
|
+
export declare const spawn: typeof spawn$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withHiddenWindow } from "./withHiddenWindow.js";
|
|
2
|
-
import { spawn } from "node:child_process";
|
|
2
|
+
import { spawn as spawn$1 } from "node:child_process";
|
|
3
3
|
// src/services/childProcess/spawn.ts
|
|
4
|
-
const spawn
|
|
5
|
-
export { spawn
|
|
4
|
+
const spawn = ((file, ...parameters) => spawn$1(file, ...withHiddenWindow(parameters)));
|
|
5
|
+
export { spawn };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { spawnSync } from "node:child_process";
|
|
2
|
-
declare const spawnSync
|
|
3
|
-
export { spawnSync$1 as spawnSync };
|
|
1
|
+
import { spawnSync as spawnSync$1 } from "node:child_process";
|
|
2
|
+
export declare const spawnSync: typeof spawnSync$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withHiddenWindow } from "./withHiddenWindow.js";
|
|
2
|
-
import { spawnSync } from "node:child_process";
|
|
2
|
+
import { spawnSync as spawnSync$1 } from "node:child_process";
|
|
3
3
|
// src/services/childProcess/spawnSync.ts
|
|
4
|
-
const spawnSync
|
|
5
|
-
export { spawnSync
|
|
4
|
+
const spawnSync = ((file, ...parameters) => spawnSync$1(file, ...withHiddenWindow(parameters)));
|
|
5
|
+
export { spawnSync };
|
package/package.json
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esposter/shared-node",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0",
|
|
4
4
|
"description": "Node-only shared tooling: the machine-wide download cache, hidden-window child processes, and benchmark reporting reused across packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"benchmark",
|
|
7
7
|
"child-process",
|
|
8
|
-
"
|
|
8
|
+
"download-cache",
|
|
9
9
|
"node",
|
|
10
|
-
"reporting",
|
|
11
|
-
"shared",
|
|
12
|
-
"tooling",
|
|
13
|
-
"typescript",
|
|
14
10
|
"vitest",
|
|
11
|
+
"vitest-reporter",
|
|
15
12
|
"windows"
|
|
16
13
|
],
|
|
17
14
|
"homepage": "https://github.com/Esposter/Esposter/blob/main/packages/shared-node#readme",
|
|
@@ -50,10 +47,10 @@
|
|
|
50
47
|
"typecheck": "tsrs --fast"
|
|
51
48
|
},
|
|
52
49
|
"dependencies": {
|
|
53
|
-
"@esposter/shared": "4.
|
|
50
|
+
"@esposter/shared": "4.10.0"
|
|
54
51
|
},
|
|
55
52
|
"devDependencies": {
|
|
56
|
-
"@esposter/configuration": "4.
|
|
53
|
+
"@esposter/configuration": "4.10.0",
|
|
57
54
|
"@types/node": "^26.6.6",
|
|
58
55
|
"tsdown": "^0.23.7"
|
|
59
56
|
},
|
|
@@ -65,5 +62,5 @@
|
|
|
65
62
|
"optional": true
|
|
66
63
|
}
|
|
67
64
|
},
|
|
68
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "123d79a39422c3a9a02abd6d8e3c6aadcc397613"
|
|
69
66
|
}
|