Socket
Socket
Sign inDemoInstall

chrome-net

Package Overview
Dependencies
3
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.2.0

26

index.js

@@ -280,14 +280,2 @@ /**

Socket.prototype.destroySoon = function () {
var self = this
if (self.writable)
self.end()
if (self._writableState.finished)
self.destroy()
else
self.once('finish', self._destroy.bind(self))
}
/**

@@ -449,3 +437,3 @@ * Returns the bound address, the address family name and port of the socket

* @param {Object} options
* @param {function} [connectListener]
* @param {function} cb
* @return {Socket} this socket (for chaining)

@@ -671,2 +659,14 @@ */

Socket.prototype.destroySoon = function () {
var self = this
if (self.writable)
self.end()
if (self._writableState.finished)
self.destroy()
else
self.once('finish', self._destroy.bind(self))
}
/**

@@ -673,0 +673,0 @@ * Sets the socket to timeout after timeout milliseconds of inactivity on the socket.

{
"name": "chrome-net",
"description": "Use the Node `net` API in Chrome Apps",
"version": "2.1.0",
"version": "2.2.0",
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)",

@@ -6,0 +6,0 @@ "bugs": {

Sorry, the diff of this file is too big to display

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