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
208
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.4.2-lite-dev.9779deb

6

build/core.d.ts

@@ -11,3 +11,7 @@ /// <reference types="node" />

import { log } from './log.js';
export { default as path } from 'node:path';
export * as os from 'node:os';
export { log, type LogEntry } from './log.js';
export { chalk, which, ps } from './vendor-core.js';
export { quote, quotePowerShell } from './util.js';
declare const CWD: unique symbol;

@@ -180,2 +184,2 @@ declare const SYNC: unique symbol;

export declare function kill(pid: number, signal?: NodeJS.Signals | undefined): Promise<void>;
export declare function resolveDefaults(defs?: Options, prefix?: string, env?: NodeJS.ProcessEnv): Options;
export declare function resolveDefaults(defs?: Options, prefix?: string, env?: NodeJS.ProcessEnv, allowed?: Set<string>): Options;

@@ -9,5 +9,11 @@ "use strict";

cd,
chalk,
defaults,
kill,
log,
os,
path,
ps,
quote,
quotePowerShell,
resolveDefaults,

@@ -18,2 +24,3 @@ syncProcessCwd,

usePwsh,
which,
within

@@ -26,5 +33,11 @@ } = globalThis.Deno ? globalThis.require("./core.cjs") : __module__

cd,
chalk,
defaults,
kill,
log,
os,
path,
ps,
quote,
quotePowerShell,
resolveDefaults,

@@ -35,4 +48,5 @@ syncProcessCwd,

usePwsh,
which,
within
}

49

package.json
{
"name": "zx",
"version": "8.4.1",
"version": "8.4.2-lite-dev.9779deb",
"description": "A tool for writing better scripts",
"type": "module",
"main": "./build/index.cjs",
"types": "./build/index.d.ts",
"main": "./build/core.cjs",
"types": "./build/core.d.ts",
"typesVersions": {
"*": {
".": [
"./build/index.d.ts"
],
"globals": [
"./build/globals.d.ts"
],
"cli": [
"./build/cli.d.ts"
],
"core": [
"./build/core.d.ts"

@@ -26,20 +17,2 @@ ]

".": {
"types": "./build/index.d.ts",
"import": "./build/index.js",
"require": "./build/index.cjs",
"default": "./build/index.js"
},
"./globals": {
"types": "./build/globals.d.ts",
"import": "./build/globals.js",
"require": "./build/globals.cjs",
"default": "./build/globals.js"
},
"./cli": {
"types": "./build/cli.d.ts",
"import": "./build/cli.js",
"require": "./build/cli.cjs",
"default": "./build/cli.js"
},
"./core": {
"types": "./build/core.d.ts",

@@ -55,6 +28,14 @@ "import": "./build/core.js",

},
"man": "./man/zx.1",
"files": [
"build",
"man"
"build/core.cjs",
"build/core.js",
"build/core.d.ts",
"build/deno.js",
"build/esblib.cjs",
"build/util.cjs",
"build/util.js",
"build/util.d.ts",
"build/vendor-core.cjs",
"build/vendor-core.js",
"build/vendor-core.d.ts"
],

@@ -88,2 +69,2 @@ "engines": {

"license": "Apache-2.0"
}
}

Sorry, the diff of this file is not supported yet