Socket
Socket
Sign inDemoInstall

node-pty

Package Overview
Dependencies
Maintainers
2
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 1.1.0-beta4 to 1.1.0-beta5

3

package.json

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

},
"version": "1.1.0-beta4",
"version": "1.1.0-beta5",
"license": "MIT",

@@ -57,2 +57,3 @@ "main": "./lib/index.js",

"mocha": "10",
"node-gyp": "^9.4.0",
"ps-list": "^6.0.0",

@@ -59,0 +60,0 @@ "typescript": "^3.8.3"

@@ -21,8 +21,8 @@ # node-pty

```js
var os = require('os');
var pty = require('node-pty');
import * as os from 'node:os';
import * as pty from 'node-pty';
var shell = os.platform() === 'win32' ? 'powershell.exe' : 'bash';
const shell = os.platform() === 'win32' ? 'powershell.exe' : 'bash';
var ptyProcess = pty.spawn(shell, [], {
const ptyProcess = pty.spawn(shell, [], {
name: 'xterm-color',

@@ -29,0 +29,0 @@ cols: 80,

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