Socket
Socket
Sign inDemoInstall

needle

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

needle - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

3

lib/needle.js

@@ -715,5 +715,6 @@ //////////////////////////////////////////

// console.log(socket);
if (!socket.on_socket_end) {
socket.on_socket_end = on_socket_end;
socket.on('end', socket.on_socket_end);
socket.once('end', function() { process.nextTick(on_socket_end.bind(socket)) });
}

@@ -720,0 +721,0 @@ })

{
"name": "needle",
"version": "2.2.3",
"version": "2.2.4",
"description": "The leanest and most handsome HTTP client in the Nodelands.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -27,3 +27,3 @@ var needle = require('../'),

try {
needle.post('http://google.com', { data: get_string(Math.pow(2, 20)) }, finished)
needle.post('https://google.com', { data: get_string(Math.pow(2, 20)) }, finished)
} catch(e) {

@@ -30,0 +30,0 @@ error = e;

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