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 2.0.3 to 2.0.4

2

lib/index.js

@@ -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

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