mol_vary 0.0.232 → 0.0.234
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/node.d.ts +4 -4
- package/package.json +1 -1
package/node.d.ts
CHANGED
|
@@ -674,8 +674,8 @@ declare namespace $ {
|
|
|
674
674
|
dir: string;
|
|
675
675
|
}> {
|
|
676
676
|
}
|
|
677
|
-
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("child_process").ChildProcess;
|
|
678
|
-
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
677
|
+
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("node:child_process").ChildProcess;
|
|
678
|
+
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("node:child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
679
679
|
type $mol_run_options = {
|
|
680
680
|
command: readonly string[] | string;
|
|
681
681
|
dir: string;
|
|
@@ -684,10 +684,10 @@ declare namespace $ {
|
|
|
684
684
|
};
|
|
685
685
|
class $mol_run extends $mol_object {
|
|
686
686
|
static async_enabled(): boolean;
|
|
687
|
-
static spawn(options: $mol_run_options): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | $mol_run_error_context;
|
|
687
|
+
static spawn(options: $mol_run_options): import("node:child_process").SpawnSyncReturns<string | NonSharedBuffer> | $mol_run_error_context;
|
|
688
688
|
static spawn_async({ dir, sync, timeout, command, env }: $mol_run_options & {
|
|
689
689
|
sync?: boolean;
|
|
690
|
-
}): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | (Promise<$mol_run_error_context> & {
|
|
690
|
+
}): import("node:child_process").SpawnSyncReturns<string | NonSharedBuffer> | (Promise<$mol_run_error_context> & {
|
|
691
691
|
destructor: () => void;
|
|
692
692
|
});
|
|
693
693
|
static error_message(res?: $mol_run_error_context): string;
|