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

alpha-lambda-bunyan

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alpha-lambda-bunyan - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

6

lib/middleware.js

@@ -18,3 +18,2 @@ 'use strict';

const newContext = _.cloneDeep(context);
const log = bunyan.createLogger({

@@ -32,3 +31,3 @@ name: context.functionName,

return _.assign(newContext, { log, child });
return _.assign(context, { log, child });
}

@@ -38,4 +37,3 @@

return function(event, context, next) {
const newContext = extend(context, options);
return next(null, newContext);
return next(null, extend(context, options));
};

@@ -42,0 +40,0 @@ };

{
"name": "alpha-lambda-bunyan",
"version": "1.0.2",
"version": "1.1.0",
"description": "Bunyan logger middleware for alpha-lambda",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is too big to display

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