1.13.0
版本发布时间: 2015-06-15 08:42:58
expressjs/body-parser最新发布版本:2.0.1(2024-09-10 12:14:44)
- Add
statusCode
property onError
s, in addition tostatus
- Change
type
default toapplication/json
for JSON parser - Change
type
default toapplication/x-www-form-urlencoded
for urlencoded parser - Provide static
require
analysis - Use the
http-errors
module to generate errors - deps: bytes@2.1.0
- Slight optimizations
- deps: iconv-lite@0.4.10
- The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails
- Leading BOM is now removed when decoding
- deps: on-finished@~2.3.0
- Add defined behavior for HTTP
CONNECT
requests - Add defined behavior for HTTP
Upgrade
requests - deps: ee-first@1.1.1
- Add defined behavior for HTTP
- deps: qs@3.1.0
- Fix dropping parameters like
hasOwnProperty
- Fix various parsing edge cases
- Parsed object now has
null
prototype
- Fix dropping parameters like
- deps: raw-body@~2.1.1
- Use
unpipe
module for unpiping requests - deps: iconv-lite@0.4.10
- Use
- deps: type-is@~1.6.3
- deps: mime-types@~2.1.1
- perf: reduce try block size
- perf: remove bitwise operations
- perf: enable strict mode
- perf: remove argument reassignment
- perf: remove delete call