@lvce-editor/process-explorer 3.6.0 → 3.7.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/index.js +0 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -144,7 +144,6 @@ const commandMap = {
|
|
|
144
144
|
'HandleWebSocket.handleWebSocket': handleWebSocket,
|
|
145
145
|
'ListProcessesWithMemoryUsage.listProcessesWithMemoryUsage': listProcessesWithMemoryUsage$2,
|
|
146
146
|
'ProcessId.getMainProcessId': getMainProcessId
|
|
147
|
-
// 'ElectronContextMenu.openContextMenu': ElectronWebContentsView.handleContextMenu,
|
|
148
147
|
};
|
|
149
148
|
|
|
150
149
|
const set$1 = commandMap => {
|
|
@@ -388,7 +387,6 @@ const listProcessesWithMemoryUsage$1 = async (rootPid, includeElectronData = tru
|
|
|
388
387
|
const result = toResult(completeProcessList, rootPid, pidMap);
|
|
389
388
|
return result;
|
|
390
389
|
} catch (error) {
|
|
391
|
-
// @ts-ignore
|
|
392
390
|
throw new VError(error, `Failed to list processes`);
|
|
393
391
|
}
|
|
394
392
|
};
|
|
@@ -483,7 +481,6 @@ const getPsOutput = async () => {
|
|
|
483
481
|
} = await execFile('ps', ['-ax', '-o', 'pid=,ppid=,pcpu=,pmem=,command=']);
|
|
484
482
|
return stdout.trim();
|
|
485
483
|
} catch (error) {
|
|
486
|
-
// @ts-ignore
|
|
487
484
|
if (error && error.signal === SIGINT) {
|
|
488
485
|
return '';
|
|
489
486
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/process-explorer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "Process Explorer",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": "bin/processExplorer.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@lvce-editor/assert": "^1.5.1",
|
|
22
22
|
"@lvce-editor/rpc": "^6.4.0",
|
|
23
|
-
"@lvce-editor/rpc-registry": "^9.
|
|
23
|
+
"@lvce-editor/rpc-registry": "^9.29.0",
|
|
24
24
|
"@lvce-editor/verror": "^1.7.0"
|
|
25
25
|
},
|
|
26
26
|
"optionalDependencies": {
|