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

to
2.6.3

7

CHANGELOG.md
## Changelog
## [2.6.3](https://github.com/logdna/logger-node/compare/v2.6.2...v2.6.3) (2022-04-21)
### Code Refactoring
* extract _getPayloadSize method [68a7e54](https://github.com/logdna/logger-node/commit/68a7e54e168a20c14d31a9f416842151e63a25f7) - Eric Melski
## [2.6.2](https://github.com/logdna/logger-node/compare/v2.6.1...v2.6.2) (2022-04-14)

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

6

lib/logger.js

@@ -472,4 +472,8 @@ 'use strict'

_getPayloadSize(payload) {
return payload.line.length
}
bufferLog(payload) {
const lineLength = payload.line.length
const lineLength = this._getPayloadSize(payload)

@@ -476,0 +480,0 @@ this[kLineLengthTotal] += lineLength

2

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

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