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

parlog

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parlog - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "parlog",
"version": "0.1.0",
"version": "0.1.1",
"description": "Log Parser for ExpressJS/Morgan Middleware",

@@ -5,0 +5,0 @@ "author": "Gregory Langlais",

@@ -44,3 +44,3 @@ # parlog

-f, --format [format] format of logs
-d, --directory [path] directory of log files
-i, --directory [path] directory of log files
-t, --transform [filepath] filepath of transform function

@@ -50,3 +50,3 @@ -o, --output [filepath] filepath of output

Additional details of *some options* provide below:
Additional details of *some options* provided below:

@@ -53,0 +53,0 @@ ### -s, --start | -e, --end

@@ -53,3 +53,3 @@ var util = require('util');

files.forEach(function (filename) {
if ('' !== filename.match(self.logFileMatch)[0]) {
if (null !== filename.match(self.logFileMatch)) {
self.emit('debug', 'log file match', filename);

@@ -70,5 +70,5 @@ logFiles.push(filename);

directory = path.resolve(__dirname, '..', directory);
self.getLogFiles(directory, function(err, logFiles) {
if (err) return false;
self.getLogFiles(directory, function(err, logFiles) {
self.emit('debug', 'parsing', logFiles.length, 'log files');

@@ -75,0 +75,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