Socket
Socket
Sign inDemoInstall

body-parser

Package Overview
Dependencies
8
Maintainers
6
Versions
72
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.3 to 1.5.0

16

HISTORY.md

@@ -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 @@ ==================

12

package.json
{
"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`).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc