Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

timed-out

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timed-out - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

9

index.js

@@ -23,10 +23,9 @@ 'use strict';

req.on('socket', function assign(socket) {
// Socket may come from Agent pool and may be already connected
if (socket._timedOutHandlerSet) {
clear();
// Socket may come from Agent pool and may be already connected.
if (!(socket.connecting || socket._connecting)) {
connect.call(socket);
return;
}
socket._timedOutHandlerSet = true;
socket.on('connect', connect);
socket.once('connect', connect);
});

@@ -33,0 +32,0 @@

{
"name": "timed-out",
"version": "3.1.2",
"version": "3.1.3",
"description": "Emit `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged",

@@ -5,0 +5,0 @@ "license": "MIT",

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