New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

logagent-js

Package Overview
Dependencies
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logagent-js - npm Package Compare versions

Comparing version 1.1.56 to 1.1.57

34

bin/logagent.js

@@ -208,10 +208,13 @@ #!/bin/sh

if (data) {
parseLine(data.message, data.app || 'undefined', function (e, d) {
if (d) {
Object.keys(d).forEach(function (key) {
data[key] = d[key]
})
}
if (process.env.ENABLE_MESSAGE_PARSER !== 'true') {
getLoggerForToken(token, 'heroku')(err, data)
})
} else {
parseLine(data.message, data.app || 'undefined', function (e, d) {
if (d) {
data.message=d.message
data.parsed_message = d
}
getLoggerForToken(token, 'heroku')(err, data)
})
}
}

@@ -271,10 +274,13 @@ })

if (data) {
parseLine(data.message, 'undefined', function (e, d) {
if (d) {
Object.keys(d).forEach(function (key) {
data[key] = d[key]
})
}
if (process.env.ENABLE_MESSAGE_PARSER !== 'true') {
getLoggerForToken(token, 'cloudfoundry')(err, data)
})
} else {
parseLine(data.message, data.app || 'undefined', function (e, d) {
if (d) {
data.message=d.message
data.parsed_message = d
}
getLoggerForToken(token, 'cloudfoundry')(err, data)
})
}
}

@@ -281,0 +287,0 @@ })

{
"name": "logagent-js",
"version": "1.1.56",
"version": "1.1.57",
"description": "Smart log parser written in Node",

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

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