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

bananas

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bananas - npm Package Compare versions

Comparing version 1.8.1 to 1.9.0

20

lib/index.js

@@ -20,3 +20,4 @@ 'use strict';

signals: false,
stopTimeoutMsec: 15 * 1000 // 15 seconds
stopTimeoutMsec: 15 * 1000, // 15 seconds
tags: null
}

@@ -48,2 +49,9 @@ };

holder.forEach((update) => {
if (settings.tags) {
update.tags = (update.tags ? settings.tags.concat(update.tags) : settings.tags);
}
});
const payload = holder.map(FastSafeStringify).join('\n');

@@ -87,3 +95,2 @@ Wreck.post(uri, { payload, headers: { 'content-type': 'application/json' }, json: true }, callback);

updates.push(end);
server.root.stop({ timeout: settings.stopTimeoutMsec }, process.exit);

@@ -93,4 +100,4 @@ };

process.on('SIGTERM', shutdown('SIGTERM'));
process.on('SIGINT', shutdown('SIGINT'));
process.once('SIGTERM', shutdown('SIGTERM'));
process.once('SIGINT', shutdown('SIGINT'));
}

@@ -104,2 +111,7 @@

if (settings.signals) {
process.removeAllListeners('SIGTERM');
process.removeAllListeners('SIGINT');
}
const end = internals.update('server');

@@ -106,0 +118,0 @@ end.tags = ['bananas', 'stopped'];

4

package.json
{
"name": "bananas",
"description": "Minimal Loggly hapi plugin",
"version": "1.8.1",
"version": "1.9.0",
"author": "Eran Hammer <eran@hammer.io> (http://hueniverse.com)",

@@ -23,3 +23,3 @@ "repository": "git://github.com/hueniverse/bananas",

"code": "3.x.x",
"hapi": "13.x.x",
"hapi": "14.x.x",
"lab": "10.x.x"

@@ -26,0 +26,0 @@ },

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