Comparing version 8.1.2-dev.b3fcad2 to 8.1.2-dev.e82f701
#!/usr/bin/env node | ||
export {}; | ||
import { minimist } from './index.js'; | ||
export declare function printUsage(): void; | ||
export declare const argv: minimist.ParsedArgs; | ||
export declare function main(): Promise<void>; | ||
export declare function runScript(script: string): Promise<void>; | ||
export declare function scriptFromStdin(): Promise<boolean>; | ||
export declare function scriptFromHttp(remote: string): Promise<void>; | ||
export declare function writeAndImport(script: string | Buffer, filepath: string, origin?: string): Promise<void>; | ||
export declare function importPath(filepath: string, origin?: string): Promise<void>; | ||
export declare function injectGlobalRequire(origin: string): void; | ||
export declare function transformMarkdown(buf: Buffer): string; | ||
export declare function getVersion(): string; |
@@ -5,7 +5,27 @@ #!/usr/bin/env node | ||
const { | ||
argv, | ||
getVersion, | ||
importPath, | ||
injectGlobalRequire, | ||
main, | ||
printUsage, | ||
runScript, | ||
scriptFromHttp, | ||
scriptFromStdin, | ||
transformMarkdown, | ||
writeAndImport | ||
} = require('./cli.cjs') | ||
export { | ||
argv, | ||
getVersion, | ||
importPath, | ||
injectGlobalRequire, | ||
main, | ||
printUsage, | ||
runScript, | ||
scriptFromHttp, | ||
scriptFromStdin, | ||
transformMarkdown, | ||
writeAndImport | ||
} | ||
@@ -125,8 +125,8 @@ import { spawn, spawnSync, StdioOptions, IOType } from 'node:child_process'; | ||
export type LogEntry = { | ||
verbose?: boolean; | ||
} & ({ | ||
kind: 'cmd'; | ||
verbose: boolean; | ||
cmd: string; | ||
} | { | ||
kind: 'stdout' | 'stderr'; | ||
verbose: boolean; | ||
data: Buffer; | ||
@@ -146,4 +146,4 @@ } | { | ||
data: any; | ||
}; | ||
}); | ||
export declare function log(entry: LogEntry): void; | ||
export {}; |
{ | ||
"name": "zx", | ||
"version": "8.1.2-dev.b3fcad2", | ||
"version": "8.1.2-dev.e82f701", | ||
"description": "A tool for writing better scripts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
895003
24416