@lvce-editor/pty-host 5.1.0 → 5.2.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/ptyHostMain.js +2 -2
- package/package.json +1 -2
package/dist/ptyHostMain.js
CHANGED
|
@@ -466,7 +466,7 @@ const listen$a = () => {
|
|
|
466
466
|
parentPort
|
|
467
467
|
} = process;
|
|
468
468
|
if (!parentPort) {
|
|
469
|
-
throw new
|
|
469
|
+
throw new IpcError('parent port must be defined');
|
|
470
470
|
}
|
|
471
471
|
return parentPort;
|
|
472
472
|
};
|
|
@@ -524,7 +524,7 @@ const getTransferrablesNode = value => {
|
|
|
524
524
|
};
|
|
525
525
|
const listen$5 = async () => {
|
|
526
526
|
if (!process.send) {
|
|
527
|
-
throw new
|
|
527
|
+
throw new IpcError('process.send must be defined');
|
|
528
528
|
}
|
|
529
529
|
return process;
|
|
530
530
|
};
|