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
172
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

to
8.2.2-dev.3b9afe1

13

build/core.d.ts

@@ -66,2 +66,6 @@ import { type StdioOptions, type IOType, spawn, spawnSync } from 'node:child_process';

private _piped;
private _pipedFrom?;
private _run;
private _ee;
private _stdin;
private _zurk;

@@ -74,3 +78,3 @@ private _output;

pipe(dest: TemplateStringsArray, ...args: any[]): ProcessPromise;
pipe<D extends Writable>(dest: D): D & PromiseLike<D>;
pipe<D extends Writable>(dest: D): D & PromiseLike<ProcessOutput & D>;
pipe<D extends ProcessPromise>(dest: D): D;

@@ -108,2 +112,9 @@ abort(reason?: string): void;

catch<T = ProcessOutput>(onrejected?: ((reason: ProcessOutput) => PromiseLike<T> | T) | undefined | null): Promise<ProcessOutput | T>;
private writable;
private emit;
private on;
private once;
private write;
private end;
private removeListener;
}

@@ -110,0 +121,0 @@ type GettersRecord<T extends Record<any, any>> = {

3

build/util.d.ts

@@ -1,2 +0,1 @@

import type { Writable } from 'node:stream';
export { isStringLiteral } from './vendor-core.js';

@@ -22,2 +21,2 @@ export declare function tempdir(prefix?: string): string;

export declare const once: <T extends (...args: any[]) => any>(fn: T) => (...args: Parameters<T>) => ReturnType<T>;
export declare const promisifyStream: <S extends Writable>(stream: S) => S & PromiseLike<S>;
export declare const proxyOverride: <T extends object>(origin: T, ...fallbacks: any) => T;

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

preferLocalBin,
promisifyStream,
proxyOverride,
quote,

@@ -35,3 +35,3 @@ quotePowerShell,

preferLocalBin,
promisifyStream,
proxyOverride,
quote,

@@ -38,0 +38,0 @@ quotePowerShell,

{
"name": "zx",
"version": "8.2.1",
"version": "8.2.2-dev.3b9afe1",
"description": "A tool for writing better scripts",

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

"test:smoke:ts-node": "node --loader ts-node/esm test/smoke/ts.test.ts",
"test:smoke:bun": "bun test ./test/smoke/bun.test.js",
"test:smoke:bun": "bun test ./test/smoke/bun.test.js && bun ./test/smoke/node.test.mjs",
"test:smoke:win32": "node ./test/smoke/win32.test.js",

@@ -101,3 +101,3 @@ "test:smoke:cjs": "node ./test/smoke/node.test.cjs",

"@webpod/ingrid": "^0.0.0-beta.3",
"@webpod/ps": "^0.0.0-beta.10",
"@webpod/ps": "^0.0.0-beta.11",
"c8": "^10.1.2",

@@ -129,3 +129,3 @@ "chalk": "^5.3.0",

"yaml": "^2.5.1",
"zurk": "^0.6.0"
"zurk": "^0.6.2"
},

@@ -132,0 +132,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