Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/npmcli__promise-spawn

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/npmcli__promise-spawn - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

22

npmcli__promise-spawn/index.d.ts

@@ -7,14 +7,18 @@ // Type definitions for @npmcli/promise-spawn 6.0

import { SpawnOptions, spawn } from 'child_process';
import { spawn, SpawnOptions } from "child_process";
type NativeSpawnResult = ReturnType<typeof spawn>;
type SpawnResult<Output, Extra> = Promise<{
cmd: string;
args: string[];
code: number;
signal: NodeJS.Signals | null;
stdout: Output;
stderr: Output;
} & Extra> & { process: NativeSpawnResult, stdio: NativeSpawnResult['stdio'] };
type SpawnResult<Output, Extra> =
& Promise<
{
cmd: string;
args: string[];
code: number;
signal: NodeJS.Signals | null;
stdout: Output;
stderr: Output;
} & Extra
>
& { process: NativeSpawnResult; stdio: NativeSpawnResult["stdio"] };

@@ -21,0 +25,0 @@ type PromiseSpawnOptions = {

{
"name": "@types/npmcli__promise-spawn",
"version": "6.0.0",
"version": "6.0.1",
"description": "TypeScript definitions for @npmcli/promise-spawn",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/npmcli__promise-spawn",

},
"typesPublisherContentHash": "e1f38a73d0360d925f15070b1d91ccd576c450a5a382c0581643be86ff314e83",
"typeScriptVersion": "4.2"
"typesPublisherContentHash": "1d5a3680465d81fd0031f1d29ccadfccb207dfa5d2b2283f17d836a2df274330",
"typeScriptVersion": "4.5"
}

@@ -17,14 +17,18 @@ # Installation

import { SpawnOptions, spawn } from 'child_process';
import { spawn, SpawnOptions } from "child_process";
type NativeSpawnResult = ReturnType<typeof spawn>;
type SpawnResult<Output, Extra> = Promise<{
cmd: string;
args: string[];
code: number;
signal: NodeJS.Signals | null;
stdout: Output;
stderr: Output;
} & Extra> & { process: NativeSpawnResult, stdio: NativeSpawnResult['stdio'] };
type SpawnResult<Output, Extra> =
& Promise<
{
cmd: string;
args: string[];
code: number;
signal: NodeJS.Signals | null;
stdout: Output;
stderr: Output;
} & Extra
>
& { process: NativeSpawnResult; stdio: NativeSpawnResult["stdio"] };

@@ -55,3 +59,3 @@ type PromiseSpawnOptions = {

### Additional Details
* Last updated: Mon, 12 Dec 2022 13:33:14 GMT
* Last updated: Sat, 23 Sep 2023 20:38:33 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -58,0 +62,0 @@ * Global values: none

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