Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zx

Package Overview
Dependencies
Maintainers
2
Versions
156
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.1.6-dev.5d2ad78 to 8.1.6-dev.ac2567f

11

build/core.d.ts

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

timeout?: Duration;
timeoutSignal?: string;
timeoutSignal?: NodeJS.Signals;
stdio: StdioOptions;

@@ -38,3 +38,3 @@ verbose: boolean;

detached: boolean;
preferLocal: boolean;
preferLocal: boolean | string | string[];
spawn: typeof spawn;

@@ -45,2 +45,3 @@ spawnSync: typeof spawnSync;

kill: typeof kill;
killSignal?: NodeJS.Signals;
}

@@ -90,3 +91,3 @@ export declare function syncProcessCwd(flag?: boolean): void;

get signal(): AbortSignal | undefined;
kill(signal?: string): Promise<void>;
kill(signal?: NodeJS.Signals | undefined): Promise<void>;
stdio(stdin: IOType, stdout?: IOType, stderr?: IOType): ProcessPromise;

@@ -99,3 +100,3 @@ nothrow(): ProcessPromise;

isNothrow(): boolean;
timeout(d: Duration, signal?: string): ProcessPromise;
timeout(d: Duration, signal?: NodeJS.Signals | undefined): ProcessPromise;
halt(): ProcessPromise;

@@ -129,3 +130,3 @@ isHalted(): boolean;

export declare function cd(dir: string | ProcessOutput): void;
export declare function kill(pid: number, signal?: string): Promise<void>;
export declare function kill(pid: number, signal?: NodeJS.Signals | undefined): Promise<void>;
export type LogEntry = {

@@ -132,0 +133,0 @@ verbose?: boolean;

@@ -6,3 +6,3 @@ export declare function tempdir(prefix?: string): string;

export declare function isString(obj: any): obj is string;
export declare function preferNmBin(env: NodeJS.ProcessEnv, ...dirs: (string | undefined)[]): {
export declare function preferLocalBin(env: NodeJS.ProcessEnv, ...dirs: (string | undefined)[]): {
[x: string]: string | undefined;

@@ -9,0 +9,0 @@ TZ?: string;

@@ -12,3 +12,3 @@ "use strict";

parseDuration,
preferNmBin,
preferLocalBin,
quote,

@@ -29,3 +29,3 @@ quotePowerShell,

parseDuration,
preferNmBin,
preferLocalBin,
quote,

@@ -32,0 +32,0 @@ quotePowerShell,

{
"name": "zx",
"version": "8.1.6-dev.5d2ad78",
"version": "8.1.6-dev.ac2567f",
"description": "A tool for writing better scripts",

@@ -80,3 +80,3 @@ "type": "module",

"test:smoke:tsx": "tsx test/smoke/ts.test.ts",
"test:smoke:tsc": "cd test/smoke && mkdir -p node_modules && ln -s ../../../ ./node_modules/zx; tsc --esModuleInterop --module node16 --rootDir . --outdir ./temp ts.test.ts && node ./temp/ts.test.js",
"test:smoke:tsc": "cd test/smoke && mkdir -p node_modules && ln -s ../../../ ./node_modules/zx; ../../node_modules/typescript/bin/tsc -v && ../../node_modules/typescript/bin/tsc --esModuleInterop --module node16 --rootDir . --outdir ./temp ts.test.ts && node ./temp/ts.test.js",
"test:smoke:ts-node": "node --loader ts-node/esm test/smoke/ts.test.ts",

@@ -95,3 +95,3 @@ "test:smoke:bun": "bun test ./test/smoke/bun.test.js",

"devDependencies": {
"@size-limit/file": "^11.1.4",
"@size-limit/file": "^11.1.5",
"@types/fs-extra": "^11.0.4",

@@ -119,14 +119,14 @@ "@types/minimist": "^1.2.5",

"globby": "^14.0.2",
"madge": "^7.0.0",
"madge": "^8.0.0",
"minimist": "^1.2.8",
"node-fetch-native": "^1.6.4",
"prettier": "^3.3.3",
"size-limit": "^11.1.4",
"size-limit": "^11.1.5",
"ts-node": "^10.9.2",
"tsd": "^0.31.2",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"which": "^4.0.0",
"yaml": "^2.5.1",
"zurk": "^0.3.1"
"zurk": "^0.3.2"
},

@@ -133,0 +133,0 @@ "publishConfig": {

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