Socket
Socket
Sign inDemoInstall

gelf-pro

Package Overview
Dependencies
2
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

package-lock.json

3

lib/adapter/udp.js

@@ -104,4 +104,5 @@ /**

bytesSentTotal += bytesSent;
/* istanbul ignore else */
if (idx >= chunksCount - 1) {
cb(err, bytesSentTotal);
cbOnce(err, bytesSentTotal);
}

@@ -108,0 +109,0 @@ }

@@ -106,3 +106,3 @@ /**

result[(prefix ? [null, prefix, key] : [null, key]).join('_')] =
_.isFinite(value) ? value : _.truncate(_.toString(value), {length: 32766});
_.isFinite(value) ? value : _.truncate(_.toString(value), {length: 32765}); // 32765 + 1
});

@@ -109,0 +109,0 @@ };

{
"name": "gelf-pro",
"version": "1.1.1",
"version": "1.1.2",
"main": "./lib/gelf-pro.js",

@@ -8,11 +8,19 @@ "types": "./lib/definition.d.ts",

"description": "The Graylog Extended Log Format for the Node.js",
"keywords": ["graylog", "gelf", "logging", "udp", "tcp", "tls", "ssl"],
"repository" : {
"type" : "git",
"url" : "https://github.com/kkamkou/node-gelf-pro.git"
"keywords": [
"graylog",
"gelf",
"logging",
"udp",
"tcp",
"tls",
"ssl"
],
"repository": {
"type": "git",
"url": "https://github.com/kkamkou/node-gelf-pro.git"
},
"bugs" : {
"url" : "https://github.com/kkamkou/node-gelf-pro/issues"
"bugs": {
"url": "https://github.com/kkamkou/node-gelf-pro/issues"
},
"license" : "MIT",
"license": "MIT",
"scripts": {

@@ -27,9 +35,9 @@ "test": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"

"coveralls": "^2.13.1",
"eslint": "^4.1.1",
"eslint": "^4.6.1",
"istanbul": "^0.4.5",
"mocha": "^3.4.2",
"mocha": "^3.5.3",
"mocha-lcov-reporter": "^1.3.0",
"should": "^11.2.1",
"sinon": "^2.3.6"
"should": "^13.0.1",
"sinon": "^3.2.1"
}
}

@@ -254,3 +254,3 @@ 'use strict';

msg.should.have.length(34545); // we need 32766
msg.should.have.length(34545); // we need 32765 (32765 + 1 = 32766, which is max)

@@ -262,3 +262,3 @@ sinon.spy(gelf, 'getStringFromObject');

var field = JSON.parse(gelf.getStringFromObject.firstCall.returnValue)._longField;
field.should.have.length(32766);
field.should.have.length(32765);
field.should.endWith('...');

@@ -265,0 +265,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc