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

cuddle

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cuddle - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

11

index.js

@@ -334,2 +334,3 @@ 'use strict';

req.on('response', this.handle_response.bind(this));
req.on('socket', this.handle_timeout.bind(this));
req.on('error', this.handle_error.bind(this));

@@ -439,2 +440,12 @@

handle_timeout (socket) {
socket.setTimeout(1000 * 30);
socket.on('timeout', () => {
this.request.abort();
});
}
handle_error (err) {

@@ -441,0 +452,0 @@

2

package.json
{
"name": "cuddle",
"version": "1.1.5",
"version": "1.1.6",
"description": "Cuddle is a minimal, chainable and readability first http client",

@@ -5,0 +5,0 @@ "main": "index.js",

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