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

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 0.5.7 to 0.5.8

6

lib/needle.js

@@ -256,3 +256,5 @@ //////////////////////////////////////////

// build the body by merging all the chunks we received
resp.body = new Buffer(length), pos = 0;
var pos = 0;
resp.bytes = length;
resp.body = new Buffer(resp.bytes);
for (var i = 0, len = chunks.length; i < len; i++) {

@@ -263,4 +265,2 @@ chunks[i].copy(resp.body, pos);

resp.bytes = length;
// if no unzip support, or no deflated body requested, return

@@ -267,0 +267,0 @@ if (!compressed || typeof unzip == 'undefined')

{
"name": "needle"
, "version": "0.5.7"
, "version": "0.5.8"
, "description": "Tiny yet feature-packed HTTP client. With multipart, charset decoding and proxy support."

@@ -5,0 +5,0 @@ , "keywords": ["http", "https", "simple", "request", "client", "multipart", "upload", "proxy", "deflate", "timeout", "charset", "iconv"]

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