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

flaschenpost

Package Overview
Dependencies
Maintainers
4
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flaschenpost - npm Package Compare versions

Comparing version 0.12.0 to 0.12.1

15

lib/flaschenpost.js

@@ -26,13 +26,20 @@ 'use strict';

const requestedFormatter =
processenv('FLASCHENPOST_FORMATTER') ||
(process.stdout.isTTY ? 'human' : 'json');
let formatter;
switch (processenv('FLASCHENPOST_FORMATTER')) {
switch (requestedFormatter) {
case 'gelf':
formatter = new FormatterGelf();
break;
case 'human':
formatter = new FormatterHumanReadable();
break;
case 'gelf':
formatter = new FormatterGelf();
case 'json':
formatter = new FormatterJson();
break;
default:
formatter = new FormatterJson();
throw new Error('Unsupported formatter.');
}

@@ -39,0 +46,0 @@

{
"name": "flaschenpost",
"version": "0.12.0",
"version": "0.12.1",
"description": "flaschenpost is a logger for cloud-based applications.",

@@ -5,0 +5,0 @@ "contributors": [

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