stringstream
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "stringstream", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Encode and decode streams into string streams", | ||
@@ -5,0 +5,0 @@ "author": "Michael Hart <michael.hart.au@gmail.com> (http://github.com/mhart)", |
@@ -31,3 +31,3 @@ var util = require('util') | ||
if (this.fromEncoding) { | ||
if (Buffer.isBuffer(data)) data = data.toString() | ||
if (Buffer.isBuffer(data) || typeof data === 'number') data = data.toString() | ||
data = new Buffer(data, this.fromEncoding) | ||
@@ -34,0 +34,0 @@ } |
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
6242
6