Comparing version 5.1.0 to 5.1.1
5.1.1 / 2017-03-24 | ||
================== | ||
* fix: getOptions change to clone | ||
* fix: ensure options are independent in each request | ||
5.1.0 / 2017-03-21 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -9,2 +9,3 @@ | ||
var qs = require('qs'); | ||
var utils = require('./utils'); | ||
@@ -25,3 +26,3 @@ /** | ||
req = req.req || req; | ||
opts = opts || {}; | ||
opts = utils.clone(opts); | ||
var queryString = opts.queryString || {}; | ||
@@ -28,0 +29,0 @@ |
@@ -8,2 +8,3 @@ | ||
var inflate = require('inflation'); | ||
var utils = require('./utils'); | ||
@@ -28,3 +29,3 @@ // Allowed whitespace is defined in RFC 7159 | ||
req = req.req || req; | ||
opts = opts || {}; | ||
opts = utils.clone(opts); | ||
@@ -31,0 +32,0 @@ // defaults |
@@ -7,2 +7,3 @@ /** | ||
var inflate = require('inflation'); | ||
var utils = require('./utils'); | ||
@@ -23,3 +24,3 @@ /** | ||
req = req.req || req; | ||
opts = opts || {}; | ||
opts = utils.clone(opts); | ||
@@ -26,0 +27,0 @@ // defaults |
{ | ||
"name": "co-body", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"repository": "cojs/co-body", | ||
@@ -5,0 +5,0 @@ "description": "request body parsing for co", |
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
10893
9
194