Socket
Socket
Sign inDemoInstall

http-parser-js

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-parser-js - npm Package Compare versions

Comparing version 0.5.7 to 0.5.8

3

http-parser.js

@@ -13,2 +13,3 @@ /*jshint node:true */

}
this.maxHeaderSize=HTTPParser.maxHeaderSize
}

@@ -140,3 +141,3 @@ HTTPParser.prototype.initialize = function (type, async_resource) {

this.headerSize += length;
if (this.headerSize > HTTPParser.maxHeaderSize) {
if (this.headerSize > (this.maxHeaderSize||HTTPParser.maxHeaderSize)) {
return new Error('max header size exceeded');

@@ -143,0 +144,0 @@ }

{
"name": "http-parser-js",
"version": "0.5.7",
"version": "0.5.8",
"description": "A pure JS HTTP parser for node.",

@@ -5,0 +5,0 @@ "main": "http-parser.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