Make node-pty not required

This commit is contained in:
KernelDeimos 2024-04-13 13:56:57 -04:00
parent 199b68a964
commit df45e22813
2 changed files with 11 additions and 3 deletions

10
package-lock.json generated
View File

@ -8493,7 +8493,8 @@
"node_modules/nan": { "node_modules/nan": {
"version": "2.19.0", "version": "2.19.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz", "resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz",
"integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==" "integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==",
"optional": true
}, },
"node_modules/napi-build-utils": { "node_modules/napi-build-utils": {
"version": "1.0.2", "version": "1.0.2",
@ -8608,6 +8609,7 @@
"resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.0.0.tgz", "resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.0.0.tgz",
"integrity": "sha512-wtBMWWS7dFZm/VgqElrTvtfMq4GzJ6+edFI0Y0zyzygUSZMgZdraDUMUhCIvkjhJjme15qWmbyJbtAx4ot4uZA==", "integrity": "sha512-wtBMWWS7dFZm/VgqElrTvtfMq4GzJ6+edFI0Y0zyzygUSZMgZdraDUMUhCIvkjhJjme15qWmbyJbtAx4ot4uZA==",
"hasInstallScript": true, "hasInstallScript": true,
"optional": true,
"dependencies": { "dependencies": {
"nan": "^2.17.0" "nan": "^2.17.0"
} }
@ -11786,6 +11788,7 @@
} }
}, },
"packages/phoenix": { "packages/phoenix": {
"name": "dev-ansi-terminal",
"version": "0.0.0", "version": "0.0.0",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"workspaces": [ "workspaces": [
@ -11801,7 +11804,6 @@
"columnify": "^1.6.0", "columnify": "^1.6.0",
"fs-mode-to-string": "^0.0.2", "fs-mode-to-string": "^0.0.2",
"json-query": "^2.2.2", "json-query": "^2.2.2",
"node-pty": "^1.0.0",
"path-browserify": "^1.0.1", "path-browserify": "^1.0.1",
"sinon": "^17.0.1", "sinon": "^17.0.1",
"xterm": "^5.1.0", "xterm": "^5.1.0",
@ -11814,6 +11816,9 @@
"mocha": "^10.2.0", "mocha": "^10.2.0",
"rollup": "^3.21.4", "rollup": "^3.21.4",
"rollup-plugin-copy": "^3.4.0" "rollup-plugin-copy": "^3.4.0"
},
"optionalDependencies": {
"node-pty": "^1.0.0"
} }
}, },
"packages/phoenix/node_modules/@sinonjs/fake-timers": { "packages/phoenix/node_modules/@sinonjs/fake-timers": {
@ -11863,6 +11868,7 @@
"license": "UNLICENSED" "license": "UNLICENSED"
}, },
"packages/terminal": { "packages/terminal": {
"name": "@putersh/terminal-emulator",
"version": "0.0.0", "version": "0.0.0",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"dependencies": { "dependencies": {

View File

@ -25,12 +25,14 @@
"columnify": "^1.6.0", "columnify": "^1.6.0",
"fs-mode-to-string": "^0.0.2", "fs-mode-to-string": "^0.0.2",
"json-query": "^2.2.2", "json-query": "^2.2.2",
"node-pty": "^1.0.0",
"path-browserify": "^1.0.1", "path-browserify": "^1.0.1",
"sinon": "^17.0.1", "sinon": "^17.0.1",
"xterm": "^5.1.0", "xterm": "^5.1.0",
"xterm-addon-fit": "^0.7.0" "xterm-addon-fit": "^0.7.0"
}, },
"optionalDependencies": {
"node-pty": "^1.0.0"
},
"workspaces": [ "workspaces": [
"packages/pty", "packages/pty",
"packages/strataparse", "packages/strataparse",