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

zx

Package Overview
Dependencies
Maintainers
0
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zx - npm Package Compare versions

Comparing version 8.3.0 to 8.3.1-dev.825aa9e

2

build/cli.d.ts

@@ -11,4 +11,4 @@ #!/usr/bin/env node

export declare function injectGlobalRequire(origin: string): void;
export declare function transformMarkdown(buf: Buffer): string;
export declare function transformMarkdown(buf: Buffer | string): string;
export declare function isMain(metaurl?: string, scriptpath?: string): boolean;
export declare function normalizeExt(ext?: string): string | undefined;

@@ -59,2 +59,3 @@ import { type StdioOptions, type IOType, spawn, spawnSync, type ChildProcess } from 'node:child_process';

export declare class ProcessPromise extends Promise<ProcessOutput> {
private _id;
private _command;

@@ -84,4 +85,3 @@ private _from;

pipe: PipeMethod & {
stdout: PipeMethod;
stderr: PipeMethod;
[key in keyof TSpawnStore]: PipeMethod;
};

@@ -95,4 +95,6 @@ private _pipe;

halt(): this;
get id(): string;
get pid(): number | undefined;
get cmd(): string;
get fullCmd(): string;
get child(): ChildProcess | undefined;

@@ -99,0 +101,0 @@ get stdin(): Writable;

@@ -8,2 +8,2 @@ /**

export declare function installDeps(dependencies: Record<string, string>, prefix?: string, registry?: string): Promise<void>;
export declare function parseDeps(content: Buffer): Record<string, string>;
export declare function parseDeps(content: Buffer | string): Record<string, string>;

@@ -7,3 +7,2 @@ import * as _ from './index.js';

var ProcessOutput: typeof _.ProcessOutput;
var log: typeof _.log;
var $: typeof _.$;

@@ -14,2 +13,3 @@ var argv: typeof _.argv;

var defaults: typeof _.defaults;
var dotenv: typeof _.dotenv;
var echo: typeof _.echo;

@@ -21,2 +21,3 @@ var expBackoff: typeof _.expBackoff;

var kill: typeof _.kill;
var log: typeof _.log;
var minimist: typeof _.minimist;

@@ -31,2 +32,3 @@ var nothrow: typeof _.nothrow;

var quotePowerShell: typeof _.quotePowerShell;
var resolveDefaults: typeof _.resolveDefaults;
var retry: typeof _.retry;

@@ -45,2 +47,4 @@ var sleep: typeof _.sleep;

var useBash: typeof _.useBash;
var version: typeof _.version;
var VERSION: typeof _.VERSION;
var which: typeof _.which;

@@ -47,0 +51,0 @@ var within: typeof _.within;

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

@@ -6,0 +6,0 @@ export declare const version: any;

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

chalk,
dotenv,
fs,

@@ -55,2 +56,3 @@ glob,

chalk,
dotenv,
fs,

@@ -57,0 +59,0 @@ glob,

@@ -22,6 +22,15 @@ import { type RequestInfo, type RequestInit } from './vendor-core.js';

cmd: string;
id: string;
} | {
kind: 'stdout' | 'stderr';
data: Buffer;
id: string;
} | {
kind: 'end';
exitCode: number | null;
signal: NodeJS.Signals | null;
duration: number;
error: null | Error;
id: string;
} | {
kind: 'cd';

@@ -50,3 +59,1 @@ dir: string;

export declare const parseBool: (v: string) => boolean | string;
export declare const parseDotenv: (content: string) => NodeJS.ProcessEnv;
export declare const readEnvFromFile: (filepath: string, env?: NodeJS.ProcessEnv) => NodeJS.ProcessEnv;

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

parseBool,
parseDotenv,
parseDuration,

@@ -21,3 +20,2 @@ preferLocalBin,

randomId,
readEnvFromFile,
tempdir,

@@ -36,3 +34,2 @@ tempfile,

parseBool,
parseDotenv,
parseDuration,

@@ -44,3 +41,2 @@ preferLocalBin,

randomId,
readEnvFromFile,
tempdir,

@@ -47,0 +43,0 @@ tempfile,

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

import { Buffer } from 'node:buffer';
import * as cp from 'node:child_process';

@@ -51,2 +52,3 @@ import EventEmitter from 'node:events';

stderr: (data: Buffer, ctx: TSpawnCtxNormalized) => void;
stdall: (data: Buffer, ctx: TSpawnCtxNormalized) => void;
abort: (error: Event, ctx: TSpawnCtxNormalized) => void;

@@ -53,0 +55,0 @@ err: (error: Error, ctx: TSpawnCtxNormalized) => void;

@@ -404,2 +404,9 @@ // Generated by dts-bundle-generator v9.5.1

}
declare const _default: {
parse: (content: string | Buffer) => NodeJS.ProcessEnv;
stringify: (env: NodeJS.ProcessEnv) => string;
load: (...files: string[]) => NodeJS.ProcessEnv;
loadSafe: (...files: string[]) => NodeJS.ProcessEnv;
config: (def?: string, ...files: string[]) => NodeJS.ProcessEnv;
};
export declare const createRequire: (filename: string | URL$1) => NodeRequire;

@@ -474,2 +481,3 @@ export declare const globbyModule: {

export {
_default as dotenv,
depseekSync as depseek,

@@ -476,0 +484,0 @@ fetch$1 as nodeFetch,

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

depseek,
dotenv,
fs,

@@ -58,2 +59,3 @@ glob,

depseek,
dotenv,
fs,

@@ -60,0 +62,0 @@ glob,

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

depseek,
dotenv,
fs,

@@ -72,2 +73,3 @@ glob,

depseek,
dotenv,
fs,

@@ -74,0 +76,0 @@ glob,

{
"name": "zx",
"version": "8.3.0",
"version": "8.3.1-dev.825aa9e",
"description": "A tool for writing better scripts",

@@ -5,0 +5,0 @@ "type": "module",

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc