@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.
- package/dist/index.js +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
|
|
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
|
|
488
|
+
throw new IpcError('process.send must be defined');
|
|
489
489
|
}
|
|
490
490
|
return process;
|
|
491
491
|
};
|