aws-kinesis-writable
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -163,3 +163,7 @@ var stream = require('stream'); | ||
if (isPrioMessage){ | ||
obj = JSON.parse(chunk.toString(encoding)); | ||
if (encoding === 'buffer'){ | ||
obj = JSON.parse(chunk.toString()); | ||
} else { | ||
obj = JSON.parse(chunk.toString(encoding)); | ||
} | ||
} | ||
@@ -166,0 +170,0 @@ } else if (typeof chunk === 'string') { |
{ | ||
"name": "aws-kinesis-writable", | ||
"description": "A bunyan stream for kinesis.", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"author": "José F. Romaniello <jfromaniello@gmail.com> (http://joseoncode.com)", | ||
@@ -6,0 +6,0 @@ "repository": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
26143
634
0