nginxparser
Advanced tools
+9
| var NginxParser = require('./'); | ||
| var source = '$remote_addr'; | ||
| var parser = new NginxParser(source); | ||
| parser.read('-', function (row) { | ||
| console.log(row); | ||
| }); |
+2
| 127.0.0.1 - - [11/May/2016:16:57:53 +0800] "GET /v_19rrgy5z28.html HTTP/1.1" 200 70343 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1" | ||
+1
-1
@@ -97,3 +97,3 @@ var fs = require('fs') | ||
| stream.on('data', function (data) { | ||
| var buffer = Buffer.concat(overflow, data), newline = 0; | ||
| var buffer = Buffer.concat([overflow, data]), newline = 0; | ||
| for (var i = 0, len = buffer.length; i < len; i++) { | ||
@@ -100,0 +100,0 @@ if (buffer[i] === 10) { |
+15
-10
@@ -1,6 +0,7 @@ | ||
| { "name" : "nginxparser", | ||
| "description" : "Parse Nginx log files", | ||
| "version" : "2.0.0", | ||
| "homepage" : "http://github.com/chriso/nginx-parser", | ||
| "author" : "Chris O'Hara <cohara87@gmail.com>", | ||
| { | ||
| "name": "nginxparser", | ||
| "description": "Parse Nginx log files", | ||
| "version": "2.1.0", | ||
| "homepage": "http://github.com/chriso/nginx-parser", | ||
| "author": "Chris O'Hara <cohara87@gmail.com>", | ||
| "bugs": { | ||
@@ -14,7 +15,11 @@ "mail": "cohara87@gmail.com", | ||
| }, | ||
| "engines": { "node": ">=0.7.11" }, | ||
| "licenses": [{ | ||
| "type": "MIT", | ||
| "url": "http://github.com/chriso/nginx-parser/raw/master/LICENSE" | ||
| }] | ||
| "engines": { | ||
| "node": ">=0.7.11" | ||
| }, | ||
| "licenses": [ | ||
| { | ||
| "type": "MIT", | ||
| "url": "http://github.com/chriso/nginx-parser/raw/master/LICENSE" | ||
| } | ||
| ] | ||
| } |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
8017
4.96%7
40%192
3.23%