New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@types/shipit-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/shipit-cli - npm Package Compare versions

Comparing version
1.5.0
to
4.0.0
+34
-6
shipit-cli/index.d.ts

@@ -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;

+1
-1
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).