Socket
Socket
Sign inDemoInstall

zx

Package Overview
Dependencies
4
Maintainers
2
Versions
113
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.1 to 8.0.2

1

build/core.d.ts

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

quiet: boolean;
detached: boolean;
spawn: typeof spawn;

@@ -35,0 +36,0 @@ spawnSync: typeof spawnSync;

4

build/core.js

@@ -53,2 +53,3 @@ // src/core.ts

quote: noquote,
detached: false,
spawn,

@@ -59,3 +60,2 @@ spawnSync,

};
var isWin = process.platform == "win32";
function usePowerShell() {

@@ -187,3 +187,3 @@ $.shell = which.sync("powershell.exe");

sync: $2[syncExec],
detached: !isWin,
detached: $2.detached,
run: (cb) => cb(),

@@ -190,0 +190,0 @@ on: {

@@ -7,22 +7,2 @@ import { type Duration } from './util.js';

export declare function updateArgv(args: string[]): void;
export declare const globby: typeof import("globby").globby & {
globby: typeof import("globby").globby;
globbySync: typeof import("globby").globbySync;
globbyStream: typeof import("globby").globbyStream;
generateGlobTasksSync: typeof import("globby").generateGlobTasksSync;
generateGlobTasks: typeof import("globby").generateGlobTasks;
isGitIgnoredSync: typeof import("globby").isGitIgnoredSync;
isGitIgnored: typeof import("globby").isGitIgnored;
isDynamicPattern: typeof import("globby").isDynamicPattern;
};
export declare const glob: typeof import("globby").globby & {
globby: typeof import("globby").globby;
globbySync: typeof import("globby").globbySync;
globbyStream: typeof import("globby").globbyStream;
generateGlobTasksSync: typeof import("globby").generateGlobTasksSync;
generateGlobTasks: typeof import("globby").generateGlobTasks;
isGitIgnoredSync: typeof import("globby").isGitIgnoredSync;
isGitIgnored: typeof import("globby").isGitIgnored;
isDynamicPattern: typeof import("globby").isDynamicPattern;
};
export declare function sleep(duration: Duration): Promise<unknown>;

@@ -29,0 +9,0 @@ export declare function fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;

@@ -9,3 +9,2 @@ // src/goods.ts

minimist,
globbyModule,
nodeFetch

@@ -20,6 +19,2 @@ } from "./vendor.js";

}
var globby = Object.assign(function globby2(patterns, options) {
return globbyModule.globby(patterns, options);
}, globbyModule);
var glob = globby;
function sleep(duration) {

@@ -155,4 +150,2 @@ return new Promise((resolve) => {

fetch,
glob,
globby,
os,

@@ -159,0 +152,0 @@ default2 as path,

import { ProcessPromise } from './core.js';
export * from './core.js';
export * from './goods.js';
export { minimist, chalk, fs, which, YAML, ps } from './vendor.js';
export { minimist, chalk, fs, which, YAML, ps, glob, glob as globby, } from './vendor.js';
export { type Duration, quote, quotePowerShell } from './util.js';

@@ -6,0 +6,0 @@ /**

// src/index.ts
export * from "./core.js";
export * from "./goods.js";
import { minimist, chalk, fs, which, YAML, ps } from "./vendor.js";
import {
minimist,
chalk,
fs,
which,
YAML,
ps,
glob,
glob as glob2
} from "./vendor.js";
import { quote, quotePowerShell } from "./util.js";

@@ -16,2 +25,4 @@ function nothrow(promise) {

fs,
glob,
glob2 as globby,
minimist,

@@ -18,0 +29,0 @@ nothrow,

@@ -315,2 +315,3 @@ // Generated by dts-bundle-generator v9.3.1

declare function isGitIgnoredSync(options?: GitignoreOptions): GlobbyFilterFunction;
declare function convertPathToPattern(source: string): FastGlob.Pattern;
declare const fetch$1: typeof globalThis.fetch;

@@ -724,2 +725,3 @@ type TQuote = (input: string) => string;

export declare const globbyModule: {
convertPathToPattern: typeof convertPathToPattern;
globby: typeof globby;

@@ -734,2 +736,13 @@ globbySync: typeof globbySync;

};
export declare const glob: typeof globby & {
convertPathToPattern: typeof convertPathToPattern;
globby: typeof globby;
globbySync: typeof globbySync;
globbyStream: typeof globbyStream;
generateGlobTasksSync: typeof generateGlobTasksSync;
generateGlobTasks: typeof generateGlobTasks;
isGitIgnoredSync: typeof isGitIgnoredSync;
isGitIgnored: typeof isGitIgnored;
isDynamicPattern: typeof isDynamicPattern;
};
export declare const YAML: {

@@ -742,3 +755,2 @@ parse(text: string): any;

export {
Options$1 as GlobbyOptions,
RequestInit$1 as RequestInit,

@@ -745,0 +757,0 @@ _default as ps,

{
"name": "zx",
"version": "8.0.1",
"version": "8.0.2",
"description": "A tool for writing better scripts",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc