You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

lambda-log-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambda-log-wrapper - npm Package Compare versions

Comparing version

to
1.0.1

8

index.js

@@ -31,5 +31,9 @@ 'use strict';

event.caller = caller;
event.Caller = caller;
// Copy by reference then delete the FunctionName property from the event (it is repetetative)
var eventCopy = JSON.parse(JSON.stringify(event));
delete event.FunctionName;
const request = {
FunctionName: event.FunctionName,
FunctionName: eventCopy.FunctionName,
InvocationType: 'RequestResponse',

@@ -36,0 +40,0 @@ Payload: JSON.stringify(event),

{
"name": "lambda-log-wrapper",
"version": "1.0.0",
"version": "1.0.1",
"description": "This is wrapper around node lambda which calls and logs ",

@@ -5,0 +5,0 @@ "main": "lib/index.js",