Comparing version
@@ -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 | ||
} | ||
{ | ||
"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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 4 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
14
-64.1%3
-76.92%119075
-86.25%15
-60.53%3436
-86.01%1
Infinity%