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

@rettersoft/retter-log

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rettersoft/retter-log - npm Package Compare versions

Comparing version

to
1.2.3

16

dist/index.js

@@ -10,4 +10,4 @@ "use strict";

var records = [];
const origlog = console.log;
function overrideConsoleLog() {
const origlog = console.log;
console.log = function (...args) {

@@ -39,6 +39,12 @@ const message = arguments[0];

async function onExit() {
await Kinesis.putRecords({
StreamName: RETTERLOG_KINESIS,
Records: records,
}).promise();
try {
await Kinesis.putRecords({
StreamName: RETTERLOG_KINESIS,
Records: records,
}).promise();
}
catch (e) {
origlog("Catched!");
origlog(e);
}
process.exit();

@@ -45,0 +51,0 @@ }

@@ -11,4 +11,5 @@

var records : PutRecordsRequestEntryList = []
const origlog = console.log;
function overrideConsoleLog(){
const origlog = console.log;
console.log = function(...args: any) {

@@ -43,6 +44,12 @@

async function onExit(){
await Kinesis.putRecords({
StreamName: RETTERLOG_KINESIS!,
Records: records,
}).promise();
try{
await Kinesis.putRecords({
StreamName: RETTERLOG_KINESIS!,
Records: records,
}).promise();
}
catch(e){
origlog("Catched!")
origlog(e)
}
process.exit();

@@ -49,0 +56,0 @@ }

{
"name": "@rettersoft/retter-log",
"version": "1.2.2",
"version": "1.2.3",
"description": "Streams logs with certain format",

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