New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

zx

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zx - npm Package Compare versions

Comparing version

to
8.4.2-dev.047cb85

@@ -11,3 +11,7 @@ /// <reference types="node" />

import { log } from './log.js';
export { default as path } from 'node:path';
export * as os from 'node:os';
export { log, type LogEntry } from './log.js';
export { chalk, which, ps } from './vendor-core.js';
export { quote, quotePowerShell } from './util.js';
declare const CWD: unique symbol;

@@ -180,2 +184,2 @@ declare const SYNC: unique symbol;

export declare function kill(pid: number, signal?: NodeJS.Signals | undefined): Promise<void>;
export declare function resolveDefaults(defs?: Options, prefix?: string, env?: NodeJS.ProcessEnv): Options;
export declare function resolveDefaults(defs?: Options, prefix?: string, env?: NodeJS.ProcessEnv, allowed?: Set<string>): Options;

@@ -9,5 +9,11 @@ "use strict";

cd,
chalk,
defaults,
kill,
log,
os,
path,
ps,
quote,
quotePowerShell,
resolveDefaults,

@@ -18,2 +24,3 @@ syncProcessCwd,

usePwsh,
which,
within

@@ -26,5 +33,11 @@ } = globalThis.Deno ? globalThis.require("./core.cjs") : __module__

cd,
chalk,
defaults,
kill,
log,
os,
path,
ps,
quote,
quotePowerShell,
resolveDefaults,

@@ -35,4 +48,5 @@ syncProcessCwd,

usePwsh,
which,
within
}
import { type Duration } from './util.js';
import { type RequestInfo, type RequestInit, minimist } from './vendor.js';
export { default as path } from 'node:path';
export * as os from 'node:os';
type ArgvOpts = minimist.Opts & {

@@ -9,7 +7,9 @@ camelCase?: boolean;

};
export declare const parseArgv: (args?: string[], opts?: ArgvOpts) => minimist.ParsedArgs;
export declare const parseArgv: (args?: string[], opts?: ArgvOpts, defs?: Record<string, any>) => minimist.ParsedArgs;
export declare function updateArgv(args?: string[], opts?: ArgvOpts): void;
export declare const argv: minimist.ParsedArgs;
export declare function sleep(duration: Duration): Promise<void>;
export declare function fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
export declare function fetch(url: RequestInfo, init?: RequestInit): Promise<Response> & {
pipe: <D>(dest: D) => D;
};
export declare function echo(...args: any[]): void;

@@ -25,1 +25,2 @@ export declare function question(query?: string, options?: {

export declare function spinner<T>(title: string, callback: () => T): Promise<T>;
export {};

@@ -9,5 +9,3 @@ "use strict";

fetch,
os,
parseArgv,
path,
question,

@@ -25,5 +23,3 @@ retry,

fetch,
os,
parseArgv,
path,
question,

@@ -30,0 +26,0 @@ retry,

@@ -7,3 +7,3 @@ /// <reference types="node" />

export * from './goods.js';
export { minimist, chalk, dotenv, fs, which, YAML, ps, glob, glob as globby, } from './vendor.js';
export { minimist, dotenv, fs, YAML, glob, glob as globby } from './vendor.js';
export declare const VERSION: string;

@@ -10,0 +10,0 @@ export declare const version: string;

@@ -7,3 +7,2 @@ "use strict";

YAML,
chalk,
dotenv,

@@ -15,3 +14,2 @@ fs,

nothrow,
ps,
quiet,

@@ -25,3 +23,2 @@ quote,

version,
which,
$,

@@ -31,5 +28,9 @@ ProcessOutput,

cd,
chalk,
defaults,
kill,
log,
os,
path,
ps,
resolveDefaults,

@@ -40,2 +41,3 @@ syncProcessCwd,

usePwsh,
which,
within,

@@ -46,5 +48,3 @@ argv,

fetch,
os,
parseArgv,
path,
question,

@@ -60,3 +60,2 @@ retry,

YAML,
chalk,
dotenv,

@@ -68,3 +67,2 @@ fs,

nothrow,
ps,
quiet,

@@ -78,3 +76,2 @@ quote,

version,
which,
$,

@@ -84,5 +81,9 @@ ProcessOutput,

cd,
chalk,
defaults,
kill,
log,
os,
path,
ps,
resolveDefaults,

@@ -93,2 +94,3 @@ syncProcessCwd,

usePwsh,
which,
within,

@@ -99,5 +101,3 @@ argv,

fetch,
os,
parseArgv,
path,
question,

@@ -104,0 +104,0 @@ retry,

@@ -415,2 +415,3 @@ // Generated by dts-bundle-generator v9.5.1

globby: typeof globby;
sync: typeof globbySync;
globbySync: typeof globbySync;

@@ -417,0 +418,0 @@ globbyStream: typeof globbyStream;

{
"name": "zx",
"version": "8.4.1",
"version": "8.4.2-dev.047cb85",
"description": "A tool for writing better scripts",

@@ -86,2 +86,2 @@ "type": "module",

"license": "Apache-2.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet