mol_crypto_lib 0.1.1652 → 0.1.1654
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
|
@@ -501,7 +501,7 @@ declare namespace $ {
|
|
|
501
501
|
}> {
|
|
502
502
|
}
|
|
503
503
|
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("child_process").ChildProcess;
|
|
504
|
-
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string |
|
|
504
|
+
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
505
505
|
type $mol_run_options = {
|
|
506
506
|
command: readonly string[] | string;
|
|
507
507
|
dir: string;
|
|
@@ -510,10 +510,10 @@ declare namespace $ {
|
|
|
510
510
|
};
|
|
511
511
|
class $mol_run extends $mol_object {
|
|
512
512
|
static async_enabled(): boolean;
|
|
513
|
-
static spawn(options: $mol_run_options): $mol_run_error_context | import("child_process").SpawnSyncReturns<string |
|
|
513
|
+
static spawn(options: $mol_run_options): $mol_run_error_context | import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
514
514
|
static spawn_async({ dir, sync, timeout, command, env }: $mol_run_options & {
|
|
515
515
|
sync?: boolean;
|
|
516
|
-
}): import("child_process").SpawnSyncReturns<string |
|
|
516
|
+
}): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | (Promise<$mol_run_error_context> & {
|
|
517
517
|
destructor: () => void;
|
|
518
518
|
});
|
|
519
519
|
static error_message(res?: $mol_run_error_context): string;
|
|
@@ -521,7 +521,7 @@ declare namespace $ {
|
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
declare namespace $ {
|
|
524
|
-
function $mol_exec(this: $, dir: string, command: string, ...args: readonly string[]): $mol_run_error_context | import("child_process").SpawnSyncReturns<string |
|
|
524
|
+
function $mol_exec(this: $, dir: string, command: string, ...args: readonly string[]): $mol_run_error_context | import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
declare namespace $ {
|