@lvce-editor/ipc 14.1.0 → 14.3.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 +1 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -711,7 +711,7 @@ const listen$3 = async () => {
|
|
|
711
711
|
parentPort
|
|
712
712
|
} = await import('node:worker_threads');
|
|
713
713
|
if (!parentPort) {
|
|
714
|
-
throw new IpcError('parentPort is required');
|
|
714
|
+
throw new IpcError('parentPort is required for node worker threads ipc');
|
|
715
715
|
}
|
|
716
716
|
return parentPort;
|
|
717
717
|
};
|
|
@@ -899,7 +899,6 @@ const handleUpgrade = async (...args) => {
|
|
|
899
899
|
return module.handleUpgrade(...args);
|
|
900
900
|
};
|
|
901
901
|
|
|
902
|
-
// @ts-ignore
|
|
903
902
|
const listen$1 = async ({
|
|
904
903
|
request,
|
|
905
904
|
handle
|
|
@@ -920,8 +919,6 @@ const listen$1 = async ({
|
|
|
920
919
|
const signal$4 = webSocket => {
|
|
921
920
|
webSocket.resume();
|
|
922
921
|
};
|
|
923
|
-
|
|
924
|
-
// @ts-ignore
|
|
925
922
|
const wrap$9 = webSocket => {
|
|
926
923
|
return {
|
|
927
924
|
webSocket,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/ipc",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.0",
|
|
4
4
|
"description": "Inter Process Communication for Lvce Editor",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@lvce-editor/assert": "^1.3.0",
|
|
19
|
-
"@lvce-editor/verror": "^1.
|
|
19
|
+
"@lvce-editor/verror": "^1.7.0",
|
|
20
20
|
"@lvce-editor/web-socket-server": "^2.1.0"
|
|
21
21
|
},
|
|
22
22
|
"engines": {
|