Socket
Socket
Sign inDemoInstall

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.6 to 1.0.7

10

index.js

@@ -20,3 +20,3 @@ //

var Residue = module.exports = function(options) {
const Residue = module.exports = function(options) {
if (!options) {

@@ -30,3 +30,8 @@ throw "Please provide residue-node options";

TransportStream.call(this, options);
residue.connect(options);
if (options.config_file) {
residue.loadConfiguration(options.config_file);
} else {
residue.loadConfiguration(options);
}
residue.connect();
this._residue = residue; // for export purposes

@@ -82,1 +87,2 @@ this.logger = residue.getLogger(options.logger_id);

};

4

package.json
{
"name": "residue-winston",
"version": "1.0.6",
"version": "1.0.7",
"description": "Winston transport for Residue",

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

"dependencies": {
"residue": "^2.3.3",
"residue": "^2.3.4",
"winston": "^2.4.0",

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

@@ -19,5 +19,6 @@

new Residue({
url: '127.0.0.1:8777',
// ... more configs
logger_id: 'sample-app'
logger_id: 'sample-app',
// following is optional, if config_file not provided
// all these options are used as config
config_file: 'path to config file'
})

@@ -24,0 +25,0 @@ ]

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