Comparing version 0.0.6 to 0.1.0
@@ -0,1 +1,2 @@ | ||
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, curly:true, devel:true, node:true, indent:2, maxerr:50, white:true */ | ||
/* | ||
@@ -15,3 +16,2 @@ * SANS ISC 404Project v1 | ||
*/ | ||
/*jshint devel:true, node:true, indent:2, maxerr:50 */ | ||
(function() { | ||
@@ -62,3 +62,3 @@ "use strict"; | ||
if (!arguments[0].url) { | ||
return submit(userID, key, arguments[0], arguments[1], arguments[2], arguments[3] || new Date); | ||
return submit(userID, key, arguments[0], arguments[1], arguments[2], arguments[3] || new Date()); | ||
} | ||
@@ -68,3 +68,3 @@ var request = arguments[0]; | ||
if (!response) { | ||
return submit(userID, key, request.url, request.connection.remoteAddress, request.headers["user-agent"], new Date); | ||
return submit(userID, key, request.url, request.connection.remoteAddress, request.headers["user-agent"], new Date()); | ||
} | ||
@@ -77,3 +77,3 @@ var next = arguments[2]; | ||
if (response.statusCode === 404) { | ||
submit(userID, key, request.url, request.connection.remoteAddress, request.headers["user-agent"], new Date); | ||
submit(userID, key, request.url, request.connection.remoteAddress, request.headers["user-agent"], new Date()); | ||
} | ||
@@ -84,2 +84,2 @@ }; | ||
}; | ||
})(); | ||
})(); |
{ | ||
"name": "404project", | ||
"version": "0.0.6", | ||
"version": "0.1.0", | ||
"description": "Report 404 errors to http://www.dshield.org/tools/404project.html", | ||
@@ -26,2 +26,2 @@ "keywords": ["security", "http", "https", "connect", "express"], | ||
"engines": { "node": ">= 0.4.0 < 0.7.0" } | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
7441
9
86