Socket
Socket
Sign inDemoInstall

node-pty

Package Overview
Dependencies
Maintainers
10
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.11.0-beta2 to 0.11.0-beta3

3

lib/terminal.js

@@ -174,2 +174,5 @@ "use strict";

for (var i = 0; i < keys.length; i++) {
if (keys[i] === undefined) {
continue;
}
pairs.push(keys[i] + '=' + env[keys[i]]);

@@ -176,0 +179,0 @@ }

8

package.json

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

},
"version": "0.11.0-beta2",
"version": "0.11.0-beta3",
"license": "MIT",

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

"type": "git",
"url": "git://github.com/Tyriar/node-pty.git"
"url": "git://github.com/microsoft/node-pty.git"
},

@@ -25,5 +25,5 @@ "files": [

],
"homepage": "https://github.com/Tyriar/node-pty",
"homepage": "https://github.com/microsoft/node-pty",
"bugs": {
"url": "https://github.com/Tyriar/node-pty/issues"
"url": "https://github.com/microsoft/node-pty/issues"
},

@@ -30,0 +30,0 @@ "keywords": [

@@ -6,6 +6,4 @@ /**

import * as net from 'net';
export interface IProcessEnv {
[key: string]: string;
[key: string]: string | undefined;
}

@@ -105,3 +103,3 @@

cwd?: string;
env?: { [key: string]: string };
env?: IProcessEnv;
encoding?: string;

@@ -108,0 +106,0 @@ handleFlowControl?: boolean;

@@ -202,2 +202,5 @@ /**

for (let i = 0; i < keys.length; i++) {
if (keys[i] === undefined) {
continue;
}
pairs.push(keys[i] + '=' + env[keys[i]]);

@@ -204,0 +207,0 @@ }

@@ -64,3 +64,3 @@ /**

const gid = opt.gid || -1;
const env = assign({}, opt.env);
const env: IProcessEnv = assign({}, opt.env);

@@ -67,0 +67,0 @@ if (opt.env === process.env) {

@@ -45,3 +45,3 @@ /**

*/
env?: { [key: string]: string };
env?: { [key: string]: string | undefined };

@@ -48,0 +48,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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