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

pino-logflare

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-logflare - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

8

dist/utils.js

@@ -19,2 +19,3 @@ "use strict";

var lodash_1 = __importDefault(require("lodash"));
var lodash_2 = require("lodash");
function levelToStatus(level) {

@@ -39,3 +40,5 @@ if (level === 10 || level === 20) {

var timestamp = ts;
var logEntry = messages.join(" ");
var objMessages = lodash_1.default.filter(messages, lodash_2.isObject);
var strMessages = lodash_1.default.filter(messages, lodash_2.isString);
var logEntry = strMessages.join(" ");
var defaultMetadata = {

@@ -46,3 +49,4 @@ url: window.document.URL,

};
var metadata = lodash_1.default.reduce(bindings, function (acc, el) {
var bindingsAndMessages = bindings.concat(objMessages);
var metadata = lodash_1.default.reduce(bindingsAndMessages, function (acc, el) {
return Object.assign(acc, el);

@@ -49,0 +53,0 @@ }, defaultMetadata);

{
"name": "pino-logflare",
"version": "0.3.4",
"version": "0.3.5",
"description": "A transport for Pino that sends messages to Logflare",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/logflare/pino-logflare",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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