Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

telnet-client

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telnet-client - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

6

lib/telnet-client.js

@@ -33,3 +33,3 @@ // Node.js Telnet client

this.irs = (typeof opts.irs !== 'undefined' ? opts.irs : '\r\n');
this.ors = (typeof opts.ors !== 'undefined' ? opts.ors : '\r\n');
this.ors = (typeof opts.ors !== 'undefined' ? opts.ors : '\n');
this.echoLines = (typeof opts.echoLines !== 'undefined' ? opts.echoLines : 1);

@@ -162,3 +162,3 @@ this.response = '';

if (telnetObj.telnetSocket.writable) {
telnetObj.telnetSocket.write(telnetObj.username + '\r\n', function() {
telnetObj.telnetSocket.write(telnetObj.username + telnetObj.ors, function() {
telnetObj.telnetState = 'getprompt';

@@ -170,3 +170,3 @@ });

if (telnetObj.telnetSocket.writable) {
telnetObj.telnetSocket.write(telnetObj.password + '\r\n', function() {
telnetObj.telnetSocket.write(telnetObj.password + telnetObj.ors, function() {
telnetObj.telnetState = 'getprompt';

@@ -173,0 +173,0 @@ });

@@ -8,3 +8,3 @@ {

},
"version": "0.0.5",
"version": "0.0.6",
"main": "./lib/telnet-client.js",

@@ -11,0 +11,0 @@ "engine": "node >= 0.10.23",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc