Socket
Socket
Sign inDemoInstall

@types/teen_process

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/teen_process - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

58

teen_process/index.d.ts

@@ -8,7 +8,7 @@ // Type definitions for teen_process 2.0

import { EventEmitter } from 'events';
import { ChildProcess, SpawnOptions } from 'child_process';
import { URL } from 'url';
import { ChildProcess, SpawnOptions } from "child_process";
import { EventEmitter } from "events";
import { URL } from "url";
export { spawn } from 'child_process';
export { spawn } from "child_process";

@@ -18,3 +18,3 @@ /**

*/
export interface TeenProcessExecOptions extends Pick<SpawnOptions, 'cwd' | 'env' | 'shell'> {
export interface TeenProcessExecOptions extends Pick<SpawnOptions, "cwd" | "env" | "shell"> {
cwd?: string | URL | undefined;

@@ -185,45 +185,45 @@ env?: NodeJS.ProcessEnv | undefined;

addListener(
event: 'exit' | 'stop' | 'end' | 'die',
event: "exit" | "stop" | "end" | "die",
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
): this;
addListener(event: 'output', listener: (stdout: string, stderr: string) => void): this;
addListener(event: 'lines-stdout' | 'lines-stderr', listener: (lines: string[]) => void): this;
addListener(event: 'stream-line', listener: (line: string) => void): this;
addListener(event: "output", listener: (stdout: string, stderr: string) => void): this;
addListener(event: "lines-stdout" | "lines-stderr", listener: (lines: string[]) => void): this;
addListener(event: "stream-line", listener: (line: string) => void): this;
emit(event: string | symbol, ...args: any[]): boolean;
emit(event: 'exit' | 'stop' | 'end' | 'die', code: number | null, signal: NodeJS.Signals | null): boolean;
emit(event: 'output', stdout: string, stderr: string): this;
emit(event: 'lines-stdout' | 'lines-stderr', lines: string[]): this;
emit(event: 'stream-line', line: string): this;
emit(event: "exit" | "stop" | "end" | "die", code: number | null, signal: NodeJS.Signals | null): boolean;
emit(event: "output", stdout: string, stderr: string): this;
emit(event: "lines-stdout" | "lines-stderr", lines: string[]): this;
emit(event: "stream-line", line: string): this;
on(event: string, listener: (...args: any[]) => void): this;
on(
event: 'exit' | 'stop' | 'end' | 'die',
event: "exit" | "stop" | "end" | "die",
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
): this;
on(event: 'output', listener: (stdout: string, stderr: string) => void): this;
on(event: 'lines-stdout' | 'lines-stderr', listener: (lines: string[]) => void): this;
on(event: 'stream-line', listener: (line: string) => void): this;
on(event: "output", listener: (stdout: string, stderr: string) => void): this;
on(event: "lines-stdout" | "lines-stderr", listener: (lines: string[]) => void): this;
on(event: "stream-line", listener: (line: string) => void): this;
once(event: string, listener: (...args: any[]) => void): this;
once(
event: 'exit' | 'stop' | 'end' | 'die',
event: "exit" | "stop" | "end" | "die",
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
): this;
once(event: 'output', listener: (stdout: string, stderr: string) => void): this;
once(event: 'lines-stdout' | 'lines-stderr', listener: (lines: string[]) => void): this;
once(event: 'stream-line', listener: (line: string) => void): this;
once(event: "output", listener: (stdout: string, stderr: string) => void): this;
once(event: "lines-stdout" | "lines-stderr", listener: (lines: string[]) => void): this;
once(event: "stream-line", listener: (line: string) => void): this;
prependListener(event: string, listener: (...args: any[]) => void): this;
prependListener(
event: 'exit' | 'stop' | 'end' | 'die',
event: "exit" | "stop" | "end" | "die",
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
): this;
prependListener(event: 'output', listener: (stdout: string, stderr: string) => void): this;
prependListener(event: 'lines-stdout' | 'lines-stderr', listener: (lines: string[]) => void): this;
prependListener(event: 'stream-line', listener: (line: string) => void): this;
prependListener(event: "output", listener: (stdout: string, stderr: string) => void): this;
prependListener(event: "lines-stdout" | "lines-stderr", listener: (lines: string[]) => void): this;
prependListener(event: "stream-line", listener: (line: string) => void): this;
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
prependOnceListener(
event: 'exit' | 'stop' | 'end' | 'die',
event: "exit" | "stop" | "end" | "die",
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
): this;
prependOnceListener(event: 'output', listener: (stdout: string, stderr: string) => void): this;
prependOnceListener(event: 'lines-stdout' | 'lines-stderr', listener: (lines: string[]) => void): this;
prependOnceListener(event: 'stream-line', listener: (line: string) => void): this;
prependOnceListener(event: "output", listener: (stdout: string, stderr: string) => void): this;
prependOnceListener(event: "lines-stdout" | "lines-stderr", listener: (lines: string[]) => void): this;
prependOnceListener(event: "stream-line", listener: (line: string) => void): this;
}

@@ -230,0 +230,0 @@

{
"name": "@types/teen_process",
"version": "2.0.0",
"version": "2.0.1",
"description": "TypeScript definitions for teen_process",

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

},
"typesPublisherContentHash": "82dbb8a5f26dc3b63745e248f20f6a93118b6b117d9d8c1f11c15b57555bd151",
"typeScriptVersion": "4.1"
"typesPublisherContentHash": "7a3b03c1652e93f2b9c07697eb8698fe050ce7598856ea1a77c5581b367ce722",
"typeScriptVersion": "4.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sun, 30 Oct 2022 17:32:41 GMT
* Last updated: Tue, 12 Sep 2023 12:34:32 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,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