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

@coya/logs

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coya/logs - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

10

logs.js

@@ -28,3 +28,3 @@ const fs = require('fs');

if(config.executionMode) {
if(config.executionMode !== undefined) {
if(config.executionMode == PROD_MODE || config.executionMode == 'prod')

@@ -60,6 +60,6 @@ this.executionMode = PROD_MODE;

this.error = (this.executionMode === PROD_MODE && logsFilePath) ? errorProd : errorDev;
this.warning = (this.executionMode === PROD_MODE && logsFilePath) ? warningProd : warningDev;
this.notice = (this.executionMode === PROD_MODE && logsFilePath) ? noticeProd : noticeDev;
this.info = (this.executionMode === PROD_MODE && logsFilePath) ? infoProd : infoDev;
this.error = (this.executionMode === PROD_MODE && this.logsFilePath) ? errorProd : errorDev;
this.warning = (this.executionMode === PROD_MODE && this.logsFilePath) ? warningProd : warningDev;
this.notice = (this.executionMode === PROD_MODE && this.logsFilePath) ? noticeProd : noticeDev;
this.info = (this.executionMode === PROD_MODE && this.logsFilePath) ? infoProd : infoDev;
this.debug = (this.executionMode === DEBUG_MODE) ? debugDebug : debugDevOrProd;

@@ -66,0 +66,0 @@

{
"name": "@coya/logs",
"version": "0.0.4",
"version": "0.0.5",
"description": "Logs service",

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