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.4.2 to 0.4.3

dslam.js

5

lib/telnet-client.js

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

var promptIndex = stringData.search(telnetObj.shellPrompt)
if (promptIndex !== -1) {

@@ -251,3 +252,5 @@ telnetObj.shellPrompt = stringData.substring(promptIndex)

try {
return new RegExp(str)
return new RegExp(
str.toString()
.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'))
}

@@ -254,0 +257,0 @@ catch(error) {

2

package.json

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

},
"version": "0.4.2",
"version": "0.4.3",
"main": "./lib/telnet-client.js",

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

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