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

zx

Package Overview
Dependencies
Maintainers
2
Versions
162
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.2.2 to 8.2.3-dev.b15179f

5

build/cli.js
#!/usr/bin/env node
"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./cli.cjs"
const {

@@ -18,3 +19,3 @@ argv,

writeAndImport
} = require('./cli.cjs')
} = __module__
export {

@@ -21,0 +22,0 @@ argv,

19

build/core.d.ts

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

type Resolve = (out: ProcessOutput) => void;
export interface ProcessPromise extends Promise<ProcessOutput> {
then<R = ProcessOutput, E = ProcessOutput>(onfulfilled?: ((value: ProcessOutput) => PromiseLike<R> | R) | undefined | null, onrejected?: ((reason: ProcessOutput) => PromiseLike<E> | E) | undefined | null): Promise<R | E>;
catch<T = ProcessOutput>(onrejected?: ((reason: ProcessOutput) => PromiseLike<T> | T) | undefined | null): Promise<ProcessOutput | T>;
}
export declare class ProcessPromise extends Promise<ProcessOutput> {

@@ -67,2 +71,6 @@ private _command;

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

@@ -75,3 +83,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;

@@ -107,4 +115,9 @@ abort(reason?: string): void;

isNothrow(): boolean;
then<R = ProcessOutput, E = ProcessOutput>(onfulfilled?: ((value: ProcessOutput) => PromiseLike<R> | R) | undefined | null, onrejected?: ((reason: ProcessOutput) => PromiseLike<E> | E) | undefined | null): Promise<R | E>;
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;
}

@@ -111,0 +124,0 @@ type GettersRecord<T extends Record<any, any>> = {

"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./core.cjs"
const {

@@ -16,3 +17,3 @@ $,

within
} = require('./core.cjs')
} = __module__
export {

@@ -19,0 +20,0 @@ $,

"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./deps.cjs"
const {
installDeps,
parseDeps
} = require('./deps.cjs')
} = __module__
export {

@@ -8,0 +9,0 @@ installDeps,

"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./globals.cjs"
const {
} = require('./globals.cjs')
} = __module__
export {

@@ -7,0 +8,0 @@

"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./goods.cjs"
const {

@@ -16,3 +17,3 @@ argv,

updateArgv
} = require('./goods.cjs')
} = __module__
export {

@@ -19,0 +20,0 @@ argv,

"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./index.cjs"
const {

@@ -44,3 +45,3 @@ YAML,

updateArgv
} = require('./index.cjs')
} = __module__
export {

@@ -47,0 +48,0 @@ YAML,

"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./repl.cjs"
const {
startRepl
} = require('./repl.cjs')
} = __module__
export {

@@ -7,0 +8,0 @@ startRepl

@@ -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;
"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./util.cjs"
const {

@@ -15,3 +16,3 @@ errnoMessage,

preferLocalBin,
promisifyStream,
proxyOverride,
quote,

@@ -22,3 +23,3 @@ quotePowerShell,

tempfile
} = require('./util.cjs')
} = __module__
export {

@@ -36,3 +37,3 @@ errnoMessage,

preferLocalBin,
promisifyStream,
proxyOverride,
quote,

@@ -39,0 +40,0 @@ quotePowerShell,

"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./vendor-core.cjs"
const {

@@ -11,3 +12,3 @@ VoidStream,

which
} = require('./vendor-core.cjs')
} = __module__
export {

@@ -14,0 +15,0 @@ VoidStream,

"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./vendor-extra.cjs"
const {

@@ -51,3 +52,3 @@ YAML,

default: __default__
} = require('./vendor-extra.cjs')
} = __module__
export {

@@ -54,0 +55,0 @@ YAML,

"use strict";
import { require } from './deno.js'
import './deno.js'
import * as __module__ from "./vendor.cjs"
const {

@@ -58,3 +59,3 @@ VoidStream,

default: __default__
} = require('./vendor.cjs')
} = __module__
export {

@@ -61,0 +62,0 @@ VoidStream,

{
"name": "zx",
"version": "8.2.2",
"version": "8.2.3-dev.b15179f",
"description": "A tool for writing better scripts",

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

"esbuild-plugin-extract-helpers": "^0.0.6",
"esbuild-plugin-hybrid-export": "^0.2.5",
"esbuild-plugin-hybrid-export": "^0.3.1",
"esbuild-plugin-resolve": "^2.0.0",

@@ -113,0 +113,0 @@ "esbuild-plugin-transform-hook": "^0.1.1",

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