Comparing version 1.1.3 to 1.1.4
@@ -10,2 +10,6 @@ var StringDecoder = require('string_decoder').StringDecoder | ||
options = {} | ||
} else if (options === true) { | ||
options = { | ||
encoding: 'utf8' | ||
} | ||
} | ||
@@ -12,0 +16,0 @@ |
{ | ||
"name": "raw-body", | ||
"description": "Get and validate the raw body of a readable stream.", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"author": { | ||
@@ -21,3 +21,3 @@ "name": "Jonathan Ong", | ||
"dependencies": { | ||
"bytes": "~0.2.1" | ||
"bytes": "~0.3.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
# Raw Body [![Build Status](https://travis-ci.org/stream-utils/raw-body.png)](https://travis-ci.org/stream-utils/raw-body) | ||
# Raw Body [![Build Status](https://travis-ci.org/stream-utils/raw-body.svg?branch=master)](https://travis-ci.org/stream-utils/raw-body) | ||
@@ -3,0 +3,0 @@ Gets the entire buffer of a stream either as a `Buffer` or a string. |
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
8737
142
+ Addedbytes@0.3.0(transitive)
- Removedbytes@0.2.1(transitive)
Updatedbytes@~0.3.0