body-parser
Advanced tools
Comparing version 1.4.3 to 1.5.0
@@ -0,1 +1,17 @@ | ||
1.5.0 / 2014-07-20 | ||
================== | ||
* deps: depd@0.4.2 | ||
- Add `TRACE_DEPRECATION` environment variable | ||
- Remove non-standard grey color from color output | ||
- Support `--no-deprecation` argument | ||
- Support `--trace-deprecation` argument | ||
* deps: iconv-lite@0.4.4 | ||
- Added encoding UTF-7 | ||
* deps: raw-body@1.3.0 | ||
- deps: iconv-lite@0.4.4 | ||
- Added encoding UTF-7 | ||
- Fix `Cannot switch to old mode now` error on Node.js 0.10+ | ||
* deps: type-is@~1.3.2 | ||
1.4.3 / 2014-06-19 | ||
@@ -2,0 +18,0 @@ ================== |
{ | ||
"name": "body-parser", | ||
"description": "Node.js body parsing middleware", | ||
"version": "1.4.3", | ||
"version": "1.5.0", | ||
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)", | ||
@@ -13,11 +13,11 @@ "contributors": [ | ||
"bytes": "1.0.0", | ||
"depd": "0.3.0", | ||
"iconv-lite": "0.4.3", | ||
"depd": "0.4.2", | ||
"iconv-lite": "0.4.4", | ||
"media-typer": "0.2.0", | ||
"qs": "0.6.6", | ||
"raw-body": "1.2.2", | ||
"type-is": "1.3.1" | ||
"raw-body": "1.3.0", | ||
"type-is": "~1.3.2" | ||
}, | ||
"devDependencies": { | ||
"istanbul": "0.2.10", | ||
"istanbul": "0.3.0", | ||
"mocha": "~1.20.1", | ||
@@ -24,0 +24,0 @@ "should": "~4.0.4", |
@@ -36,3 +36,3 @@ # body-parser | ||
// parse application/x-www-form-urlencoded | ||
app.use(bodyParser.urlencoded()) | ||
app.use(bodyParser.urlencoded({ extended: false })) | ||
@@ -113,3 +113,3 @@ // parse application/json | ||
The `extended` argument allows to choose between parsing the urlencoded data with the `querystring` library (when `false`) or the `qs` library (when `true`). The "extended" syntax allows for rich objects and arrays to be encoded into the urlencoded format, allowing for a JSON-like exterience with urlencoded. For more information, please [see the qs library](https://www.npmjs.org/package/qs#readme). | ||
The `extended` argument allows to choose between parsing the urlencoded data with the `querystring` library (when `false`) or the `qs` library (when `true`). The "extended" syntax allows for rich objects and arrays to be encoded into the urlencoded format, allowing for a JSON-like experience with urlencoded. For more information, please [see the qs library](https://www.npmjs.org/package/qs#readme). | ||
@@ -116,0 +116,0 @@ The `type` argument is passed directly to the [type-is](https://www.npmjs.org/package/type-is#readme) library. This can be an extension name (like `urlencoded`), a mime type (like `application/x-www-form-urlencoded`), or a mime time with a wildcard (like `*/x-www-form-urlencoded`). |
22048
+ Addeddepd@0.4.2(transitive)
+ Addediconv-lite@0.4.4(transitive)
+ Addedmime-types@1.0.2(transitive)
+ Addedraw-body@1.3.0(transitive)
+ Addedtype-is@1.3.2(transitive)
- Removeddepd@0.3.0(transitive)
- Removediconv-lite@0.4.3(transitive)
- Removedmime-types@1.0.0(transitive)
- Removedraw-body@1.2.2(transitive)
- Removedtype-is@1.3.1(transitive)
Updateddepd@0.4.2
Updatediconv-lite@0.4.4
Updatedraw-body@1.3.0
Updatedtype-is@~1.3.2