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

@geek/logger

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geek/logger - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

49

config/formats.js

@@ -165,36 +165,35 @@ /* eslint-disable eqeqeq */

const { message = '' } = clone;
let extra;
// let extra;
//TODO: Need to move some of these to a new home...
switch (message) {
case 'screen_view':
extra = args.screen_name;
break;
// switch (message) {
// case 'screen_view':
// extra = args.screen_name;
// break;
case 'app_first_launch_update':
extra = args.app_previous_version;
break;
// case 'app_first_launch_update':
// extra = args.app_previous_version;
// break;
case 'toggle_beta':
extra = args.allow_beta_updates;
break;
// case 'toggle_beta':
// extra = args.allow_beta_updates;
// break;
case 'toggle_anonymous':
extra = args.anonymize_name;
break;
// case 'toggle_anonymous':
// extra = args.anonymize_name;
// break;
case 'article_open':
extra = args.article_id;
break;
// case 'article_open':
// extra = args.article_id;
// break;
case 'office_select':
extra = args.new_office_id;
break;
// case 'office_select':
// extra = args.new_office_id;
// break;
default:
// default:
}
// }
if (![ undefined, null ].includes(extra)) {
clone.message = `${red.bold('Event Generated:')} ${cyan(message)} -- ${green(extra)}`;
if (![ undefined, null ].includes(args.event_value)) {
clone.message = `${red.bold('Event Generated:')} ${cyan(message)} -- ${green(args.event_value)}`;
} else {

@@ -201,0 +200,0 @@ clone.message = `${red.bold('Event Generated:')} ${cyan(message)}`;

{
"name": "@geek/logger",
"version": "1.0.6",
"version": "1.0.7",
"description": "Logging module for Node.js and Axway Titanium",

@@ -5,0 +5,0 @@ "main": "Logger.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