Socket
Socket
Sign inDemoInstall

va-log-parser

Package Overview
Dependencies
73
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

7

commands/parseLogFile.js

@@ -30,4 +30,2 @@ import moment from "moment";

const sortedTimeStamps = timeStamps.sort((a, b) => b - a);
console.log(sortedTimeStamps[1]);
console.log(sortedTimeStamps[sortedTimeStamps.length - 1]);
const dateRange = `${moment(sortedTimeStamps[1]).format(

@@ -38,3 +36,2 @@ "YYYY-MM-DD[T]HHmmss"

)}`;
console.log(dateRange);
return dateRange;

@@ -70,5 +67,3 @@ }

saveParsedFile(parsedLoggerErrorsPath, loggerErrorArray);
console.log(
chalk.bgGreenBright(`Errors found for Logger: ${logger_name}`)
);
console.log(chalk.yellow(`Errors found for Logger: ${logger_name}`));
}

@@ -75,0 +70,0 @@ }

2

package.json
{
"name": "va-log-parser",
"version": "0.0.1",
"version": "0.0.2",
"description": "A Log Parser for SailPoint VA logs",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc