Comparing version 0.2.11 to 2.0.0
@@ -76,3 +76,3 @@ var ICAPServer = require('../').ICAPServer; | ||
// pass through if http error | ||
if (res.code !== '200') { | ||
if (res.code !== 200) { | ||
return next(); | ||
@@ -79,0 +79,0 @@ } |
{ | ||
"name": "nodecap2", | ||
"version": "0.2.11", | ||
"version": "2.0.0", | ||
"description": "ICAP server framework for node.js - create custom HTTP proxy filters for Squid, etc.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -99,3 +99,3 @@ "use strict"; | ||
version: version, | ||
code: code, | ||
code: parseInt(code) || 503, | ||
message: message, | ||
@@ -102,0 +102,0 @@ index: line.index |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
76592
1