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.9.4 to 0.10.0

app.js

7

lib/telnet-client.js

@@ -261,3 +261,8 @@ // Node.js Telnet client

// remove prompt
if (telnetObj.stripShellPrompt) telnetObj.cmdOutput.pop()
if (telnetObj.stripShellPrompt) {
telnetObj.cmdOutput.pop()
// add a blank line so that command output
// maintains the trailing new line
telnetObj.cmdOutput.push('');
}

@@ -264,0 +269,0 @@ telnetObj.emit('responseready')

4

package.json

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

},
"version": "0.9.4",
"version": "0.10.0",
"main": "./lib/telnet-client.js",

@@ -14,3 +14,3 @@ "engine": "node >= 0.10.29",

"dependencies": {
"bluebird": "3.0.5"
"bluebird": "3.4.x"
},

@@ -17,0 +17,0 @@ "devDependencies": {

@@ -33,3 +33,3 @@ var telnet = process.env.NODETELNETCLIENT_COV

host: '127.0.0.1',
port: 2323 //not using 23 is a service port could need sudo
port: 2323 // not using 23, as that one could require sudo
})

@@ -36,0 +36,0 @@

@@ -47,3 +47,3 @@ var telnet = process.env.NODETELNETCLIENT_COV

test.strictEqual(resp, '23:14 up 1 day, 21:50, 6 users, load averages: 1.41 1.43 1.41')
test.strictEqual(resp, '23:14 up 1 day, 21:50, 6 users, load averages: 1.41 1.43 1.41\n')
test.done()

@@ -70,3 +70,3 @@ })

test.strictEqual(resp, '23:14 up 1 day, 21:50, 6 users, load averages: 1.41 1.43 1.41')
test.strictEqual(resp, '23:14 up 1 day, 21:50, 6 users, load averages: 1.41 1.43 1.41\n')
test.done()

@@ -73,0 +73,0 @@ })

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