Comparing version 0.5.1 to 0.6.0
{ | ||
"name": "logfmt", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"description": "Key-Value log line parser", | ||
@@ -10,2 +10,6 @@ "main": "logfmt.js", | ||
"bin": { "logfmt": "./bin/logfmt" }, | ||
"dependencies" : { | ||
"split" : "*", | ||
"through" : "*" | ||
}, | ||
"devDependencies" : { | ||
@@ -12,0 +16,0 @@ "express" : "3.*", |
@@ -60,5 +60,5 @@ # node-logfmt | ||
```javascript | ||
var logfmt = require('logfmt-body-parser'); | ||
var logfmt = require('logfmt'); | ||
app.use(logfmt()); | ||
app.use(logfmt.bodyParser()); | ||
@@ -103,5 +103,1 @@ // req.body is now an array of objects | ||
{ "foo": "bar", "a": 14, "baz": "hello kitty", "cool%story": "bro", "f": true, "%^asdf": true } | ||
## caveats | ||
I use a regex and haven't optimized much for performance yet. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14672
2
2
102
+ Addedsplit@*
+ Addedthrough@*
+ Addedsplit@1.0.1(transitive)
+ Addedthrough@2.3.8(transitive)