telnet-client
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -385,3 +385,3 @@ "use strict"; | ||
const promptIndex = (0, utils_1.search)(this.inputBuffer, this.opts.shellPrompt); | ||
if (promptIndex < 0 && stringData.length > 0) { | ||
if (promptIndex < 0 && (stringData === null || stringData === void 0 ? void 0 : stringData.length) > 0) { | ||
if ((0, utils_1.search)(stringData, this.opts.pageSeparator) >= 0) | ||
@@ -388,0 +388,0 @@ this.socket.write(Buffer.from('20', 'hex')); |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"main": "./lib/index.js", | ||
@@ -11,0 +11,0 @@ "types": "./lib/index.d.ts", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63354