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

@logdna/logger

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logdna/logger - npm Package Compare versions

Comparing version 2.6.3 to 2.6.4

7

CHANGELOG.md
## Changelog
## [2.6.4](https://github.com/logdna/logger-node/compare/v2.6.3...v2.6.4) (2022-04-21)
### Code Refactoring
* extract _serializeBuffer method [d23b0c1](https://github.com/logdna/logger-node/commit/d23b0c1c4236ffa173e552ee6fdbb2e7b750e03f) - Eric Melski
## [2.6.3](https://github.com/logdna/logger-node/compare/v2.6.2...v2.6.3) (2022-04-21)

@@ -4,0 +11,0 @@

6

lib/logger.js

@@ -688,2 +688,6 @@ 'use strict'

_serializeBuffer(buffer) {
return stringify({e: 'ls', ls: buffer})
}
send(calledByFlush = true) {

@@ -730,3 +734,3 @@ if (this[kIsSending] && calledByFlush) return

const data = stringify({e: 'ls', ls: buffer})
const data = this._serializeBuffer(buffer)

@@ -733,0 +737,0 @@ this._getSendPayload(data, (error, payload) => {

2

package.json
{
"name": "@logdna/logger",
"version": "2.6.3",
"version": "2.6.4",
"description": "LogDNA's Node.js Logging Module.",

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

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