Socket
Socket
Sign inDemoInstall

zx

Package Overview
Dependencies
Maintainers
2
Versions
147
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 7.0.3 to 7.0.4

2

build/cli.d.ts
#!/usr/bin/env node
import './globals.js';
export {};

@@ -20,3 +20,2 @@ #!/usr/bin/env node

import url from 'node:url';
import './globals.js';
import { updateArgv } from './goods.js';

@@ -27,2 +26,4 @@ import { $, argv, chalk, fetch, ProcessOutput } from './index.js';

await (async function main() {
const globals = './globals.js';
await import(globals);
$.verbose = !argv.quiet;

@@ -29,0 +30,0 @@ if (typeof argv.shell === 'string') {

@@ -15,2 +15,3 @@ // Copyright 2021 Google LLC

import assert from 'node:assert';
import chalk from 'chalk';
import { $, within } from './core.js';

@@ -17,0 +18,0 @@ import { sleep } from './goods.js';

@@ -6,4 +6,4 @@ /// <reference types="node" resolution-mode="require"/>

declare global {
var ProcessPromise: typeof _.ProcessPromise;
var ProcessOutput: typeof _.ProcessOutput;
type ProcessPromise = _.ProcessPromise;
type ProcessOutput = _.ProcessOutput;
var log: typeof _.log;

@@ -10,0 +10,0 @@ var $: typeof _.$;

{
"name": "zx",
"version": "7.0.3",
"version": "7.0.4",
"description": "A tool for writing better scripts.",

@@ -40,5 +40,6 @@ "type": "module",

"fmt:check": "prettier --check .",
"build": "tsc",
"test": "tsc && PATH=$(env -i bash -c 'echo $PATH') node_modules/.bin/uvu test -i fixtures",
"tsd": "tsd",
"build": "tsc --project tsconfig.prod.json",
"build:check": "tsc",
"test": "npm run build && PATH=$(env -i bash -c 'echo $PATH') node_modules/.bin/uvu test -i fixtures",
"test:types": "tsd",
"coverage": "c8 --check-coverage npm test -- -i package",

@@ -45,0 +46,0 @@ "mutation": "stryker run"

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