@types/shipit-cli
Advanced tools
@@ -1,4 +0,4 @@ | ||
| // Type definitions for shipit-cli 1.5 | ||
| // Type definitions for shipit-cli 4.0 | ||
| // Project: https://github.com/shipitjs/shipit | ||
| // Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher> | ||
| // Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher>, fsubal <https://github.com/fsubal> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -12,3 +12,7 @@ | ||
| export type LocalOrRemoteCommand = (command: string, options?: child_process.ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void) => PromiseLike<ShipitLocal>; | ||
| export type LocalOrRemoteCommand = ( | ||
| command: string, | ||
| options?: child_process.ExecOptions, | ||
| callback?: (error: Error, stdout: string, stderr: string) => void, | ||
| ) => PromiseLike<ShipitLocal>; | ||
| export type EmptyCallback = () => void; | ||
@@ -43,8 +47,32 @@ export type TaskExecution = (name: string, depsOrFn: string[] | EmptyCallback, fn: () => void) => any; | ||
| export function initConfig(config: {}): typeof shipit; | ||
| export function local(command: string, options?: child_process.ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): PromiseLike<ShipitLocal>; | ||
| export function local( | ||
| command: string, | ||
| options?: child_process.ExecOptions, | ||
| callback?: (error: Error, stdout: string, stderr: string) => void, | ||
| ): PromiseLike<ShipitLocal>; | ||
| export function log(log: any): void; | ||
| export function log(...log: any[]): void; | ||
| export function on(name: string, callback: (e: any) => void): any; | ||
| export function remote(command: string, options?: child_process.ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): PromiseLike<ShipitLocal>; | ||
| export function remoteCopy(src: string, dest: string, options?: child_process.ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): PromiseLike<ShipitLocal>; | ||
| export function remote( | ||
| command: string, | ||
| options?: child_process.ExecOptions, | ||
| callback?: (error: Error, stdout: string, stderr: string) => void, | ||
| ): PromiseLike<ShipitLocal>; | ||
| /** | ||
| * @deprecated Use `copyToRemote` or `copyFromRemote` instead | ||
| */ | ||
| export function remoteCopy( | ||
| src: string, | ||
| dest: string, | ||
| options?: child_process.ExecOptions, | ||
| callback?: (error: Error, stdout: string, stderr: string) => void, | ||
| ): PromiseLike<ShipitLocal>; | ||
| export function copyToRemote(src: string, dest: string, options?: child_process.ExecOptions): PromiseLike<ShipitLocal>; | ||
| export function copyFromRemote( | ||
| src: string, | ||
| dest: string, | ||
| options?: child_process.ExecOptions, | ||
| ): PromiseLike<ShipitLocal>; | ||
| export function start(tasks: string | string[]): typeof shipit; | ||
@@ -51,0 +79,0 @@ export function start(...tasks: string[]): typeof shipit; |
| MIT License | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| Copyright (c) Microsoft Corporation. | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
| { | ||
| "name": "@types/shipit-cli", | ||
| "version": "1.5.0", | ||
| "version": "4.0.0", | ||
| "description": "TypeScript definitions for shipit-cli", | ||
| "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shipit-cli", | ||
| "license": "MIT", | ||
@@ -11,9 +12,15 @@ "contributors": [ | ||
| "githubUsername": "cyrilschumacher" | ||
| }, | ||
| { | ||
| "name": "fsubal", | ||
| "url": "https://github.com/fsubal", | ||
| "githubUsername": "fsubal" | ||
| } | ||
| ], | ||
| "main": "", | ||
| "types": "index", | ||
| "types": "index.d.ts", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
| "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
| "directory": "types/shipit-cli" | ||
| }, | ||
@@ -24,4 +31,4 @@ "scripts": {}, | ||
| }, | ||
| "typesPublisherContentHash": "4e68cca25a82f205e637ad4f13e8fda3a2e141d7f4b00b0cb08b69e7e759102a", | ||
| "typeScriptVersion": "2.0" | ||
| "typesPublisherContentHash": "143b78d21f2906733c2e3674e58250c66f2e94b317893dd8025078f49dd2257f", | ||
| "typeScriptVersion": "3.6" | ||
| } |
@@ -5,13 +5,13 @@ # Installation | ||
| # Summary | ||
| This package contains type definitions for shipit-cli ( https://github.com/shipitjs/shipit ). | ||
| This package contains type definitions for shipit-cli (https://github.com/shipitjs/shipit). | ||
| # Details | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shipit-cli | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shipit-cli. | ||
| Additional Details | ||
| * Last updated: Thu, 14 Feb 2019 16:52:11 GMT | ||
| * Dependencies: @types/node | ||
| * Global values: shipit | ||
| ### Additional Details | ||
| * Last updated: Wed, 30 Jun 2021 15:01:23 GMT | ||
| * Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
| * Global values: `shipit` | ||
| # Credits | ||
| These definitions were written by Cyril Schumacher <https://github.com/cyrilschumacher>. | ||
| These definitions were written by [Cyril Schumacher](https://github.com/cyrilschumacher), and [fsubal](https://github.com/fsubal). |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5604
15.64%76
52%0
-100%