Socket
Socket
Sign inDemoInstall

starttls

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

7

index.js

@@ -109,8 +109,7 @@ /**

// It's possible for a SecurePair to emit an 'error' event (see SecurePair.prototype.error in tls.js in at least node v0.8.21).
securePair.on('error', function(err) {
clearText.emit('error', err);
});
// It's possible for a SecurePair to emit an 'error' event (see SecurePair.prototype.error in tls.js in at least node v0.8.21). This happens when a server closes the connection prematurely.
securePair.on('error', onError);
securePair.encrypted.on('error', onError);
return clearText;
}
{
"name": "starttls",
"description": "Upgrade a regular `net.Stream` connection to a secure `tls` connection.",
"version": "0.1.3",
"version": "0.1.4",
"main": "index.js",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/mattcg/starttls",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc