@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.
@@ -466,7 +466,7 @@ const listen$a = () => {
466
466
  parentPort
467
467
  } = process;
468
468
  if (!parentPort) {
469
- throw new Error('parent port must be defined');
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 Error('process.send must be defined');
527
+ throw new IpcError('process.send must be defined');
528
528
  }
529
529
  return process;
530
530
  };
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/pty-host",
3
- "version": "5.1.0",
4
- "description": "",
3
+ "version": "5.2.0",
5
4
  "keywords": [
6
5
  "lvce-editor",
7
6
  "pty-host"