http-parser-js
Advanced tools
Comparing version 0.4.4 to 0.4.5
@@ -31,2 +31,8 @@ /*jshint node:true */ | ||
// Some handler stubs, needed for compatibility | ||
HTTPParser.prototype[kOnHeaders] = | ||
HTTPParser.prototype[kOnHeadersComplete] = | ||
HTTPParser.prototype[kOnBody] = | ||
HTTPParser.prototype[kOnMessageComplete] = function () {}; | ||
var compatMode0_12 = true; | ||
@@ -81,2 +87,3 @@ Object.defineProperty(HTTPParser, 'kOnExecute', { | ||
HTTPParser.prototype._compatMode0_11 = false; | ||
HTTPParser.prototype.getAsyncId = function() { return false; }; | ||
@@ -83,0 +90,0 @@ var headerState = { |
{ | ||
"name": "http-parser-js", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "A pure JS HTTP parser for node.", | ||
@@ -5,0 +5,0 @@ "main": "http-parser.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18438
385
0