Socket
Socket
Sign inDemoInstall

node-loggly-bulk

Package Overview
Dependencies
48
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.5 to 3.0.0

.idea/misc.xml

5

lib/loggly/client.js

@@ -192,2 +192,7 @@ /*

try {
if (logOptions.isBulk) {
callback(null, null);
return
}
if(body && res.statusCode.toString() === '200'){

@@ -194,0 +199,0 @@ var result = JSON.parse(body);

10

lib/loggly/common.js

@@ -230,2 +230,3 @@ /*

try {
// eslint-disable-next-line no-unused-vars
request(requestOptions, function (err, res, body) {

@@ -249,5 +250,3 @@ if (err) {

}
if (responseCode === httpStatusCode.success.code) {
success(res, body);
} else {
if (responseCode !== httpStatusCode.success.code) {
retryOnError(bulk, res);

@@ -262,2 +261,3 @@ }

}
if (isBulk && isValidToken) {

@@ -285,4 +285,6 @@ if (timerFunction === null) {

}
success()
}
else if(isValidToken) {
else if (isValidToken) {
if (requestBody) {

@@ -289,0 +291,0 @@ popMsgsAndSend();

2

package.json
{
"name": "node-loggly-bulk",
"description": "A client implementation for Loggly cloud Logging-as-a-Service API",
"version": "2.2.5",
"version": "3.0.0",
"author": "Charlie Robbins <charlie.robbins@gmail.com>",

@@ -6,0 +6,0 @@ "repository": {

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