diff --git a/app/package.json b/app/package.json index 94b4a1e9..a94269fc 100644 --- a/app/package.json +++ b/app/package.json @@ -23,7 +23,6 @@ "@angular/platform-browser-dynamic": "^11.1.1", "@electron/remote": "^1.0.4", "@ng-bootstrap/ng-bootstrap": "^7.0.0", - "@terminus-term/node-pty": "0.10.0-terminus.3", "electron-config": "2.0.0", "electron-debug": "^3.2.0", "electron-promise-ipc": "^2.2.4", @@ -34,6 +33,7 @@ "mz": "^2.7.0", "native-process-working-directory": "^1.0.2", "ngx-toastr": "^13.2.1", + "node-pty": "^0.10.0", "npm": "6", "path": "0.12.7", "rxjs": "^6.6.6", diff --git a/app/yarn.lock b/app/yarn.lock index 6a02be12..82e02d35 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -874,11 +874,6 @@ electron-is-accelerator@^0.1.0: resolved "https://registry.npmjs.org/electron-is-accelerator/-/electron-is-accelerator-0.1.2.tgz" integrity sha1-UJ5RDCala1Xhf4Y6SwThEYRqsns= -electron-is-dev@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/electron-is-dev/-/electron-is-dev-1.2.0.tgz#2e5cea0a1b3ccf1c86f577cee77363ef55deb05e" - integrity sha512-R1oD5gMBPS7PVU8gJwH6CtT0e6VSoD0+SzSnYpNm+dBkcijgA+K7VAMHDfnRq/lkKPZArpzplTW6jfiMYosdzw== - electron-is-dev@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/electron-is-dev/-/electron-is-dev-1.1.0.tgz" @@ -2163,6 +2158,13 @@ node-gyp@^5.0.2, node-gyp@^5.1.0: tar "^4.4.12" which "^1.3.1" +node-pty@^0.10.0: + version "0.10.0" + resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-0.10.0.tgz#c98d23967b076b35c9fb216c542a04d0b5db4821" + integrity sha512-Q65ookKbjhqWUYKmtZ6iPn0nnqNdzpm3YJOBmzwWJde/TrenBxK9FgqGGtSW0Wjz4YsR1grQF4a7RS5nBwuW9A== + dependencies: + nan "^2.14.0" + noop-logger@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz" diff --git a/scripts/sentry-upload.js b/scripts/sentry-upload.js index 819980e5..83e38619 100755 --- a/scripts/sentry-upload.js +++ b/scripts/sentry-upload.js @@ -9,7 +9,7 @@ sh.exec(`${sentryCli} releases new ${vars.version}`) if (process.platform === 'darwin') { for (const path of [ 'app/node_modules/@serialport/bindings/build/Release/bindings.node', - 'app/node_modules/@terminus-term/node-pty/build/Release/pty.node', + 'app/node_modules/node-pty/build/Release/pty.node', 'app/node_modules/fontmanager-redux/build/Release/fontmanager.node', 'app/node_modules/macos-native-processlist/build/Release/native.node', ]) { diff --git a/webpack.plugin.config.js b/webpack.plugin.config.js index e826effa..a00cf539 100644 --- a/webpack.plugin.config.js +++ b/webpack.plugin.config.js @@ -77,6 +77,7 @@ module.exports = options => { 'native-process-working-directory', 'net', 'ngx-toastr', + 'node-pty', 'os', 'path', 'readline',