Socket
Socket
Sign inDemoInstall

node-pty

Package Overview
Dependencies
Maintainers
99
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-beta6 to 0.11.0-beta7

3

lib/windowsConoutConnection.js

@@ -72,3 +72,4 @@ "use strict";

var workerData = { conoutPipeName: _conoutPipeName };
this._worker = new worker_threads_1.Worker(path_1.join(__dirname, 'worker/conoutSocketWorker.js'), { workerData: workerData });
var scriptPath = __dirname.replace('node_modules.asar', 'node_modules.asar.unpacked');
this._worker = new worker_threads_1.Worker(path_1.join(scriptPath, 'worker/conoutSocketWorker.js'), { workerData: workerData });
this._worker.on('message', function (message) {

@@ -75,0 +76,0 @@ switch (message) {

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

},
"version": "0.11.0-beta6",
"version": "0.11.0-beta7",
"license": "MIT",

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

@@ -43,3 +43,4 @@ /**

const workerData: IWorkerData = { conoutPipeName: _conoutPipeName };
this._worker = new Worker(join(__dirname, 'worker/conoutSocketWorker.js'), { workerData });
const scriptPath = __dirname.replace('node_modules.asar', 'node_modules.asar.unpacked');
this._worker = new Worker(join(scriptPath, 'worker/conoutSocketWorker.js'), { workerData });
this._worker.on('message', (message: ConoutWorkerMessage) => {

@@ -46,0 +47,0 @@ switch (message) {

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