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

gelf-pro

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gelf-pro - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

2

lib/gelf-pro.js

@@ -87,3 +87,3 @@ /**

_.forOwn(input, function (value, key) {
if ((/[^\w]/).test(key)) {
if ((/[^\w.-]/).test(key)) {
console.warn(key + ': the key format is not valid');

@@ -90,0 +90,0 @@ }

{
"name": "gelf-pro",
"version": "0.6.2",
"version": "0.6.3",
"main": "./lib/gelf-pro.js",

@@ -25,3 +25,3 @@ "author": "Kanstantsin Kamkou <kkamkou@gmail.com>",

"dependencies": {
"lodash": "~4.5",
"lodash": "~4.7",
"async": "~1.5"

@@ -31,8 +31,8 @@ },

"istanbul": "~0.4.2",
"should": "~8.2",
"should": "~8.3",
"mocha": "~2.4",
"mocha-lcov-reporter": "~1.2.0",
"coveralls": "~2.11.8",
"coveralls": "~2.11",
"sinon": "~1.17"
}
}
node-gelf pro
====================
The Graylog Extended Log Format. Pro - because of code-quality.
node-gelf - Graylog2 client library for Node.js. Pro - because of code-quality. GELF - The Graylog Extended Log Format.

@@ -55,2 +55,3 @@ ![Build Status](https://travis-ci.org/kkamkou/node-gelf-pro.svg?branch=master)

the library converts it to a readable format. Other values [are converted to string](https://lodash.com/docs#toString).
Acceptable format is: `^[\w.-]$`
```javascript

@@ -57,0 +58,0 @@ log.info(

@@ -97,3 +97,5 @@ 'use strict';

value2: 'value2'
}
},
'key.with.dot': 1,
'key-with-dash': 1
}

@@ -107,4 +109,7 @@ });

result.should.have.property('_level1_value1').equal('value1');
result.should.have.property('_level1_key.with.dot').equal(1);
result.should.have.property('_level1_key-with-dash').equal(1);
result.should.have.property('_level1_level2_value2').equal('value2');
result.should.have.property('_level1_level2_level3_value3').equal('value3');
},

@@ -111,0 +116,0 @@

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