Comparing version 1.14.0 to 1.14.1
@@ -20,2 +20,3 @@ // Copyright 2021 Google LLC | ||
import * as _chalk from 'chalk' | ||
import _fetch from 'node-fetch' | ||
@@ -53,5 +54,2 @@ interface $ { | ||
type cd = (path: string) => void | ||
type nothrow = (p: ProcessPromise<ProcessOutput>) => ProcessPromise<ProcessOutput> | ||
type sleep =(ms: number) => Promise<void> | ||
type question = (query?: string, options?: QuestionOptions) => Promise<string> | ||
type fs = typeof _fs & { | ||
@@ -61,11 +59,15 @@ createWriteStream: typeof createWriteStream | ||
} | ||
type nothrow = (p: ProcessPromise<ProcessOutput>) => ProcessPromise<ProcessOutput> | ||
type question = (query?: string, options?: QuestionOptions) => Promise<string> | ||
type sleep = (ms: number) => Promise<void> | ||
export const $: $ | ||
export const cd: cd | ||
export const nothrow: nothrow | ||
export const sleep: sleep | ||
export const question: question | ||
export const chalk: typeof _chalk | ||
export const fetch: typeof _fetch | ||
export const fs: fs | ||
export const nothrow: nothrow | ||
export const os: typeof _os | ||
export const question: question | ||
export const sleep: sleep | ||
@@ -75,8 +77,10 @@ declare global { | ||
const cd: cd | ||
const nothrow: nothrow | ||
const sleep: sleep | ||
const question: question | ||
const chalk: typeof _chalk | ||
// @ts-ignore | ||
const fetch: typeof _fetch | ||
const fs: fs | ||
const nothrow: nothrow | ||
const os: typeof _os | ||
const question: question | ||
const sleep: sleep | ||
} |
{ | ||
"name": "zx", | ||
"version": "1.14.0", | ||
"version": "1.14.1", | ||
"description": "A tool for writing better scripts", | ||
@@ -18,2 +18,3 @@ "main": "index.mjs", | ||
"@types/node": "^15.3", | ||
"@types/node-fetch": "^2.5.10", | ||
"chalk": "^4.1.1", | ||
@@ -20,0 +21,0 @@ "node-fetch": "^2.6.1", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36052
590
6
+ Added@types/node-fetch@^2.5.10
+ Added@types/node-fetch@2.6.11(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedform-data@4.0.0(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)