@lvce-editor/typescript-compile-process 4.0.0 → 4.1.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -427,7 +427,7 @@ const listen$a = () => {
427
427
  parentPort
428
428
  } = process;
429
429
  if (!parentPort) {
430
- throw new Error('parent port must be defined');
430
+ throw new IpcError('parent port must be defined');
431
431
  }
432
432
  return parentPort;
433
433
  };
@@ -485,7 +485,7 @@ const getTransferrablesNode = value => {
485
485
  };
486
486
  const listen$5 = async () => {
487
487
  if (!process.send) {
488
- throw new Error('process.send must be defined');
488
+ throw new IpcError('process.send must be defined');
489
489
  }
490
490
  return process;
491
491
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/typescript-compile-process",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "TypeScript Compile Process",
5
5
  "keywords": [
6
6
  "Lvce Editor"