Socket
Socket
Sign inDemoInstall

node-pty

Package Overview
Dependencies
Maintainers
3
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pty - npm Package Compare versions

Comparing version 0.10.0-beta11 to 0.10.0-beta12

2

package.json

@@ -7,3 +7,3 @@ {

},
"version": "0.10.0-beta11",
"version": "0.10.0-beta12",
"license": "MIT",

@@ -10,0 +10,0 @@ "main": "./lib/index.js",

@@ -122,5 +122,5 @@ # node-pty

// flow control in action
ptyProcess.write(PAUSE); // pty will block and pause the slave program
ptyProcess.write(PAUSE); // pty will block and pause the child program
...
ptyProcess.write(RESUME); // pty will enter flow mode and resume the slave program
ptyProcess.write(RESUME); // pty will enter flow mode and resume the child program

@@ -127,0 +127,0 @@ // temporarily disable/re-enable flow control

@@ -24,13 +24,2 @@ /**

/**
* The socket for the master file descriptor. This is not supported on
* Windows.
*/
master: net.Socket;
/**
* The socket for the slave file descriptor. This is not supported on Windows.
*/
slave: net.Socket;
/**
* Writes data to the socket.

@@ -37,0 +26,0 @@ * @param data The data to write.

@@ -38,3 +38,3 @@ /**

/**
* Working directory to be set for the slave program.
* Working directory to be set for the child program.
*/

@@ -44,3 +44,3 @@ cwd?: string;

/**
* Environment to be set for the slave program.
* Environment to be set for the child program.
*/

@@ -60,3 +60,3 @@ env?: { [key: string]: string };

* Whether to enable flow control handling (false by default). If enabled a message of `flowControlPause`
* will pause the socket and thus blocking the slave program execution due to buffer back pressure.
* will pause the socket and thus blocking the child program execution due to buffer back pressure.
* A message of `flowControlResume` will resume the socket into flow mode.

@@ -85,3 +85,3 @@ * For performance reasons only a single message as a whole will match (no message part matching).

* Security warning: use this option with great caution, as opened file descriptors
* with higher privileges might leak to the slave program.
* with higher privileges might leak to the child program.
*/

@@ -88,0 +88,0 @@ uid?: number;

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