New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hapi-bunyan

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-bunyan - npm Package Compare versions

Comparing version 0.4.2 to 0.5.0

10

lib/index.js

@@ -7,3 +7,3 @@ 'use strict';

var hoek = require('hoek');
var lodash = require('lodash');

@@ -24,3 +24,3 @@ /**

if (ctx.includeTags) {
if (ctx.includeTags && Array.isArray(data.tags)) {
obj.tags = ctx.joinTags ? data.tags.join(ctx.joinTags) : data.tags;

@@ -36,3 +36,3 @@ }

try {
hoek.merge(obj, data.data);
lodash.assign(obj, data.data);

@@ -68,3 +68,3 @@ if (obj.id === obj.req_id) delete obj.id;

options = hoek.applyToDefaults({
options = lodash.defaults(options, {
includeTags: false,

@@ -74,3 +74,3 @@ includeData: true,

skipUndefined: true,
}, options);
});

@@ -77,0 +77,0 @@ var makeCtx = function(tags, defaultLevel) {

{
"name": "hapi-bunyan",
"version": "0.4.2",
"version": "0.5.0",
"main": "./lib",
"description": "Simple Bunyan logging in Hapi",
"dependencies": {
"hoek": "^2.4.1"
"lodash": "^3.0.0"
},

@@ -9,0 +9,0 @@ "devDependencies": {

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