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.6.0 to 0.6.1

3

lib/telnet-client.js

@@ -38,2 +38,3 @@ // Node.js Telnet client

self.echoLines = (typeof opts.echoLines !== 'undefined' ? opts.echoLines : 1)
self.stripShellPrompt = (typeof opts.stripShellPrompt !== 'undefined' ? opts.stripShellPrompt : true)
self.pageSeparator = (typeof opts.pageSeparator !== 'undefined'

@@ -204,3 +205,3 @@ ? opts.pageSeparator : '---- More')

// remove prompt
telnetObj.cmdOutput.pop()
if (telnetObj.stripShellPrompt) telnetObj.cmdOutput.pop()

@@ -207,0 +208,0 @@ telnetObj.emit('responseready')

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

},
"version": "0.6.0",
"version": "0.6.1",
"main": "./lib/telnet-client.js",

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

@@ -135,2 +135,3 @@ [![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/mkozjak/node-telnet-client/blob/master/LICENSE)

* `echoLines`: The number of lines used to cut off the response. Defaults to 1.
* `stripShellPrompt`: Whether shell prompt should be excluded from the results. Defaults to true.
* `pageSeparator`: The pattern used (and removed from final output) for breaking the number of lines on output. Defaults to '---- More'.

@@ -137,0 +138,0 @@ * `debug`: Enable/disable debug logs on console. Defaults to false.

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