Comparing version 1.2.0 to 1.2.1
@@ -8,2 +8,3 @@ 'use strict'; | ||
const Wreck = require('wreck'); | ||
const FastSafeStringify = require('fast-safe-stringify'); | ||
@@ -41,3 +42,3 @@ | ||
const payload = holder.map(JSON.stringify).join('\n'); | ||
const payload = holder.map(FastSafeStringify).join('\n'); | ||
Wreck.post(uri, { payload, headers: { 'content-type': 'application/json' }, json: true }, callback); | ||
@@ -44,0 +45,0 @@ }; |
{ | ||
"name": "bananas", | ||
"description": "Minimal Loggly hapi plugin", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": "Eran Hammer <eran@hammer.io> (http://hueniverse.com)", | ||
@@ -18,3 +18,4 @@ "repository": "git://github.com/hueniverse/bananas", | ||
"hoek": "3.x.x", | ||
"wreck": "7.x.x" | ||
"wreck": "7.x.x", | ||
"fast-safe-stringify": "1.x.x" | ||
}, | ||
@@ -21,0 +22,0 @@ "devDependencies": { |
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
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
8628
177
3
+ Addedfast-safe-stringify@1.x.x
+ Addedfast-safe-stringify@1.2.3(transitive)