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

residue-winston

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

residue-winston - npm Package Compare versions

Comparing version 1.0.21 to 1.0.30

22

index.js
//
// Winston transport for residue
//
// Copyright 2017-present Muflihun Labs
// Copyright 2017-present Zuhd Web Services
//

@@ -9,4 +9,4 @@ // Author: @abumusamq

// https://muflihun.com
// https://muflihun.github.io/residue
// https://github.com/muflihun/residue-winston
// https://zuhd.org
// https://github.com/zuhd-org/residue-winston
//

@@ -17,8 +17,6 @@

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

@@ -34,12 +32,10 @@ if (!options) {

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

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

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

@@ -12,10 +12,10 @@ "main": "index.js",

},
"author": "Muflihun Labs <info@muflihun.com>",
"author": "Zuhd Web Services <opensource@zuhd.org>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/muflihun/residue-winston/issues"
"url": "https://github.com/zuhd-org/residue-winston/issues"
},
"homepage": "https://github.com/muflihun/residue-winston#readme",
"homepage": "https://github.com/zuhd-org/residue-winston#readme",
"dependencies": {
"residue": "^3.0.5",
"residue": "^2.3.17",
"winston": "^2.4.0",

@@ -26,3 +26,3 @@ "winston-transport": "^3.0.1"

"type": "git",
"url": "git+https://github.com/muflihun/residue-winston.git"
"url": "git+https://github.com/zuhd-org/residue-winston.git"
},

@@ -29,0 +29,0 @@ "keywords": [

@@ -6,7 +6,8 @@

[![Version](https://img.shields.io/npm/v/residue-winston.svg)](https://www.npmjs.com/package/residue-winston)
[![GitHub license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/muflihun/residue-winston/blob/master/LICENSE)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/MuflihunDotCom/25)
[![GitHub license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/zuhd-org/residue-winston/blob/master/LICENSE)
For options, please refer to [Residue for Node.js](https://github.com/muflihun/residue-node#connectoptions)
[![Donate](https://muflihun.github.io/donate.png?v2)](https://www.paypal.me/zuhd/25)
For options, please refer to [Residue for Node.js](https://github.com/zuhd-org/residue-node#connectoptions)
Simply enable the transport on winston

@@ -32,3 +33,3 @@

console.log(`Residue library version ${residue_internal.version()}-${residue_internal.type()}`);
console.log(`Residue library version ${residue_internal.version()}-${residue_internal.type()}`);
```

@@ -44,11 +45,11 @@

Learn more [here](https://github.com/muflihun/residue-node#usage)
Learn more [here](https://github.com/zuhd-org/residue-node#usage)
## License
```
Copyright 2017-present Muflihun Labs
Copyright 2017-present Zuhd Web Services
Copyright 2017-present @abumusamq
https://github.com/muflihun/
https://muflihun.github.io/
https://github.com/zuhd-org/
https://zuhd.org
https://muflihun.com/

@@ -55,0 +56,0 @@

Sorry, the diff of this file is not supported yet

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