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

hapi-ot-logger

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-ot-logger - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

6

lib/logger.js

@@ -6,2 +6,3 @@ var os = require("os"),

consoleWriter = require("./console-writer"),
once = require("lodash.once"),
client, cfg, connectionTimer,

@@ -31,2 +32,3 @@ _commonFields = function(log, type){

module.exports.config = function(config, cb){
var callback = once(cb);
var defaults = {

@@ -57,6 +59,6 @@ redis: {

connectionTimer = setTimeout(cb, 2000);
connectionTimer = setTimeout(callback, 2000);
client.on('ready', function(){
clearTimeout(connectionTimer);
cb();
callback();
});

@@ -63,0 +65,0 @@ };

{
"name": "hapi-ot-logger",
"version": "2.1.0",
"version": "2.1.1",
"description": "logger conforming to ot standards",

@@ -34,2 +34,3 @@ "main": "index.js",

"json-stringify-safe": "^5.0.0",
"lodash.once": "^3.0.0",
"redis": "^0.12.1"

@@ -36,0 +37,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