New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lightning-request-net

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightning-request-net - npm Package Compare versions

Comparing version 0.1.1-beta.1 to 0.1.1-beta.2

2

package.json
{
"name": "lightning-request-net",
"version": "0.1.1-beta.1",
"version": "0.1.1-beta.2",
"description": "Lightweight Node.js HTTP client based on net.",

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

@@ -82,3 +82,3 @@ const net = require('net');

const zeroIndex = chunk.indexOf('\r\n0\r\n');
const zeroIndex = chunk.lastIndexOf('\r\n0');
if ((this.bodySize && this.bodySize >= this.contentLength) || zeroIndex > -1) {

@@ -85,0 +85,0 @@ this.successCall(this.data);

@@ -57,3 +57,3 @@ const CRLF = '\r\n';

}
const idx2 = responseBodyText.indexOf('\r\n0');
const idx2 = responseBodyText.lastIndexOf('\r\n0');
if (idx2 > -1) {

@@ -60,0 +60,0 @@ responseBodyText = responseBodyText.slice(0, idx2);

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