Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

404project

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

404project - npm Package Compare versions

Comparing version 0.0.6 to 0.1.0

.gitignore~

10

lib/404project.js

@@ -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

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