Comparing version 4.4.1 to 5.0.0
@@ -61,3 +61,3 @@ 'use strict'; | ||
return next(Boom.badRequest('Payload content length greater than maximum allowed: ' + this.settings.maxBytes)); | ||
return next(Boom.entityTooLarge('Payload content length greater than maximum allowed: ' + this.settings.maxBytes)); | ||
} | ||
@@ -64,0 +64,0 @@ |
{ | ||
"name": "subtext", | ||
"description": "HTTP payload parsing", | ||
"version": "4.4.1", | ||
"version": "5.0.0", | ||
"repository": "git://github.com/hapijs/subtext", | ||
"main": "lib/index.js", | ||
"keywords": [ | ||
"http", | ||
"payload", | ||
"file", | ||
"stream", | ||
"multipart" | ||
], | ||
"keywords": ["http", "payload", "file", "stream", "multipart"], | ||
"engines": { | ||
@@ -26,4 +20,4 @@ "node": ">=4.0.0" | ||
"code": "4.x.x", | ||
"form-data": "2.1.x", | ||
"lab": "13.x.x" | ||
"form-data": "2.x.x", | ||
"lab": "14.x.x" | ||
}, | ||
@@ -30,0 +24,0 @@ "scripts": { |
@@ -1,2 +0,2 @@ | ||
#subtext | ||
# subtext | ||
@@ -9,7 +9,5 @@ HTTP payload parser. | ||
**subtext** is sponsored by [Sponsorama](http://www.sponsorama.io). | ||
subtext parses the request body and exposes it in a callback. | ||
## Example | ||
## Example | ||
@@ -16,0 +14,0 @@ ```javascript |
Sorry, the diff of this file is not supported yet
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
16215
39