From 267871012d4c94f197cff6028c79419737362916 Mon Sep 17 00:00:00 2001 From: Segev Finer Date: Sat, 2 Dec 2017 13:44:44 +0200 Subject: [PATCH] Replace the unmaintained pty.js with node-pty Note that this uses the npm version instead of a prebuilt tar. Which means users will have to build it, but it also means we will get semver compatible updates. Potentially fixes #422 and others. --- lib/process.coffee | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/process.coffee b/lib/process.coffee index a972bf4..e09bd62 100755 --- a/lib/process.coffee +++ b/lib/process.coffee @@ -1,4 +1,4 @@ -pty = require 'pty.js' +pty = require 'node-pty' path = require 'path' fs = require 'fs' _ = require 'underscore' diff --git a/package.json b/package.json index 458e4d8..3a5e45f 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "dependencies": { "atom-space-pen-views": "^2.1.0", - "pty.js": "https://github.com/platformio/pty.js/tarball/prebuilt", + "node-pty": "^0.7.3", "term.js": "https://github.com/jeremyramin/term.js/tarball/master", "underscore": "^1.8.3" },