diff --git a/lib/tty.js b/lib/tty.js index 78849eb8..efe78d50 100644 --- a/lib/tty.js +++ b/lib/tty.js @@ -14,7 +14,7 @@ var path = require('path') var express = require('express') , io = require('socket.io') - , pty = require('pty.js') + , pty = require('node-pty') , term = require('term.js'); var config = require('./config') diff --git a/package.json b/package.json index 73f4c7cd..52b5f3d1 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "tags": ["tty", "terminal", "term", "xterm"], "dependencies": { "express": "3.4.4", - "socket.io": "0.9.16", - "pty.js": ">= 0.2.13", + "socket.io": "2.1.1", + "node-pty": ">= 0.7.7", "term.js": ">= 0.0.5" }, "engines": { "node": ">= 0.8.0" }