🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

pn-lambda-logger

Package Overview
Dependencies
Maintainers
49
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pn-lambda-logger - npm Package Compare versions

Comparing version

to
1.0.2

7

dist/src/logger.js

@@ -177,2 +177,9 @@ "use strict";

preProcessErrorProperties(logInput) {
if (logInput instanceof Error) {
return Object.assign({}, logInput, {
name: logInput.name,
message: logInput.message,
stack: logInput.stack ? logInput.stack.split('\n') : ''
});
}
for (let prop of Object.keys(logInput)) {

@@ -179,0 +186,0 @@ if (logInput[prop] instanceof Error) {

2

dist/src/types/LogOutput.d.ts

@@ -68,4 +68,4 @@ export interface LogOutput {

*/
'stack': string;
'stack'?: string[];
[x: string]: any;
}
{
"name": "pn-lambda-logger",
"version": "1.0.1",
"version": "1.0.2",
"description": "Logger for AWS Lambda nodejs.",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet