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

zx

Package Overview
Dependencies
Maintainers
2
Versions
158
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.1 to 8.1.2-dev.a54c7ff

4

build/cli.js
#!/usr/bin/env node
"use strict";
import './deno.js'
import { require } from './deno.js'
const {
} = await import('./cli.cjs')
} = require('./cli.cjs')
export {

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

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

private _quiet?;
private _verbose?;
private _timeout?;

@@ -89,8 +90,10 @@ private _timeoutSignal;

nothrow(): ProcessPromise;
quiet(): ProcessPromise;
quiet(v?: boolean): ProcessPromise;
verbose(v?: boolean): ProcessPromise;
isQuiet(): boolean;
isVerbose(): boolean;
isNothrow(): boolean;
timeout(d: Duration, signal?: string): ProcessPromise;
halt(): ProcessPromise;
get isHalted(): boolean;
isHalted(): boolean;
get output(): ProcessOutput | null;

@@ -97,0 +100,0 @@ }

"use strict";
import './deno.js'
import { require } from './deno.js'
const {

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

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

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

import { createRequire } from 'node:module'
const require = createRequire(import.meta.url)
const __filename = new URL(import.meta.url).pathname
const __dirname = new URL('.', import.meta.url).pathname
if (globalThis.Deno) {
globalThis.require = createRequire(import.meta.url)
globalThis.__filename = new URL(import.meta.url).pathname
globalThis.__dirname = new URL('.', import.meta.url).pathname
globalThis.require = require
globalThis.__filename = __filename
globalThis.__dirname = __dirname
}
export { require, __dirname, __filename }
"use strict";
import './deno.js'
import { require } from './deno.js'
const {
installDeps,
parseDeps
} = await import('./deps.cjs')
} = require('./deps.cjs')
export {

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

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

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

"use strict";
import './deno.js'
import { require } from './deno.js'
const {

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

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

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

"use strict";
import './deno.js'
import { require } from './deno.js'
const {

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

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

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

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

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

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

export declare function getCallerLocationFromString(stackString?: string): string;
export declare function ensureEol(buffer: Buffer): Buffer;
"use strict";
import './deno.js'
import { require } from './deno.js'
const {
ensureEol,
errnoMessage,

@@ -21,5 +20,4 @@ exitCodeInfo,

tempfile
} = await import('./util.cjs')
} = require('./util.cjs')
export {
ensureEol,
errnoMessage,

@@ -26,0 +24,0 @@ exitCodeInfo,

"use strict";
import './deno.js'
import { require } from './deno.js'
const {

@@ -18,3 +18,3 @@ YAML,

which
} = await import('./vendor.cjs')
} = require('./vendor.cjs')
export {

@@ -21,0 +21,0 @@ YAML,

{
"name": "zx",
"version": "8.1.1",
"version": "8.1.2-dev.a54c7ff",
"description": "A tool for writing better scripts",
"type": "module",
"main": "./build/index.js",
"main": "./build/index.cjs",
"types": "./build/index.d.ts",

@@ -103,9 +103,9 @@ "typesVersions": {

"dts-bundle-generator": "^9.5.1",
"esbuild": "^0.21.3",
"esbuild": "^0.21.4",
"esbuild-node-externals": "^1.13.1",
"esbuild-plugin-entry-chunks": "^0.1.14",
"esbuild-plugin-extract-helpers": "^0.0.5",
"esbuild-plugin-hybrid-export": "^0.2.3",
"esbuild-plugin-transform-hook": "^0.1.0",
"esbuild-plugin-utils": "^0.0.1",
"esbuild-plugin-entry-chunks": "^0.1.15",
"esbuild-plugin-extract-helpers": "^0.0.6",
"esbuild-plugin-hybrid-export": "^0.2.4",
"esbuild-plugin-transform-hook": "^0.1.1",
"esbuild-plugin-utils": "^0.1.0",
"fs-extra": "^11.2.0",

@@ -121,3 +121,3 @@ "fx": "*",

"tsd": "^0.31.0",
"tsx": "^4.10.5",
"tsx": "^4.11.0",
"typescript": "^5.4.5",

@@ -124,0 +124,0 @@ "which": "^4.0.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

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