Socket
Socket
Sign inDemoInstall

residue-winston

Package Overview
Dependencies
13
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.20 to 1.0.21

16

index.js

@@ -16,6 +16,8 @@ //

const util = require('util');
const residue_internal = require('residue');
const ResidueClient = require('residue');
const winston = require('winston')
const TransportStream = require('winston-transport');
const residueInstance = new ResidueClient();
const Residue = module.exports = function(options) {

@@ -31,10 +33,12 @@ if (!options) {

if (options.config_file) {
residue_internal.loadConfiguration(options.config_file);
residue_instance.loadConfiguration(options.config_file);
} else {
residue_internal.loadConfiguration(options);
residue_instance.loadConfiguration(options);
}
residue_internal.connect();
this.logger = residue_internal.getLogger(options.logger_id);
residueInstance.connect();
this.logger = residueInstance.getLogger(options.logger_id);
this.logger.log_sources = {

@@ -95,2 +99,2 @@ base_idx: this.logger.log_sources.base_idx + (options.log_source_layer_count || 6),

module.exports.residue_internal = residue_internal;
module.exports.instance = residueInstance;
{
"name": "residue-winston",
"version": "1.0.20",
"version": "1.0.21",
"description": "Winston transport for Residue",

@@ -19,3 +19,3 @@ "main": "index.js",

"dependencies": {
"residue": "^2.3.18",
"residue": "^3.0.5",
"winston": "^2.4.0",

@@ -22,0 +22,0 @@ "winston-transport": "^3.0.1"

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