diff --git a/terminus-terminal/package.json b/terminus-terminal/package.json index 0b06ac5c..0951d549 100644 --- a/terminus-terminal/package.json +++ b/terminus-terminal/package.json @@ -41,10 +41,10 @@ "terminus-settings": "*" }, "dependencies": { + "@terminus-term/node-pty": "^0.8.1", "font-manager": "0.3.0", "hterm-umdjs": "1.4.1", "mz": "^2.6.0", - "node-pty": "^0.8.0", "ps-node": "^0.1.6", "runes": "^0.4.2" }, diff --git a/terminus-terminal/src/services/sessions.service.ts b/terminus-terminal/src/services/sessions.service.ts index 4d8d7aef..3d9ca9eb 100644 --- a/terminus-terminal/src/services/sessions.service.ts +++ b/terminus-terminal/src/services/sessions.service.ts @@ -322,7 +322,7 @@ export class SessionsService { constructor ( log: LogService, ) { - nodePTY = require('node-pty') + nodePTY = require('@terminus-term/node-pty') nodePTY = require('../bufferizedPTY')(nodePTY) this.logger = log.create('sessions') } diff --git a/terminus-terminal/webpack.config.js b/terminus-terminal/webpack.config.js index 467e7f84..81826a80 100644 --- a/terminus-terminal/webpack.config.js +++ b/terminus-terminal/webpack.config.js @@ -62,7 +62,7 @@ module.exports = { 'windows-native-registry', 'mz/fs', 'mz/child_process', - 'node-pty', + '@terminus-term/node-pty', 'os', /^rxjs/, /^@angular/, diff --git a/terminus-terminal/yarn.lock b/terminus-terminal/yarn.lock index 1ef6ad82..7d06e14f 100644 --- a/terminus-terminal/yarn.lock +++ b/terminus-terminal/yarn.lock @@ -2,6 +2,13 @@ # yarn lockfile v1 +"@terminus-term/node-pty@^0.8.1": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@terminus-term/node-pty/-/node-pty-0.8.1.tgz#49edd0fe85c21fa2b00c7216a2c0c6ca4839b979" + integrity sha512-YbAiE1m+q8VC3BPPFuRzU5WsjG/giCMKYDmdyScfJmtAACA0TntiupQ2Zg8ZgOHn+aoAO2++ShaM4Gv8IakJtg== + dependencies: + nan "2.12.1" + "@types/deep-equal@^1.0.0": version "1.0.1" resolved "https://registry.yarnpkg.com/@types/deep-equal/-/deep-equal-1.0.1.tgz#71cfabb247c22bcc16d536111f50c0ed12476b03" @@ -155,13 +162,6 @@ nan@2.12.1, nan@>=2.10.0, nan@^2.10.0, nan@^2.12.1: resolved "https://registry.yarnpkg.com/nan/-/nan-2.12.1.tgz#7b1aa193e9aa86057e3c7bbd0ac448e770925552" integrity sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw== -node-pty@^0.8.0: - version "0.8.1" - resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-0.8.1.tgz#94b457bec013e7a09b8d9141f63b0787fa25c23f" - integrity sha512-j+/g0Q5dR+vkELclpJpz32HcS3O/3EdPSGPvDXJZVJQLCvgG0toEbfmymxAEyQyZEpaoKHAcoL+PvKM+4N9nlw== - dependencies: - nan "2.12.1" - object-assign@^4.0.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"