@polka/parse
Advanced tools
Comparing version 1.0.0-next.15 to 1.0.0-next.21
@@ -33,3 +33,3 @@ const { decode } = require('querystring'); | ||
let err = new Error('Exceeded "Content-Length" limit'); | ||
err.code = 413; | ||
err.status = 413; | ||
next(err); | ||
@@ -43,3 +43,3 @@ } | ||
} catch (err) { | ||
err.code = 422; | ||
err.status = 422; | ||
err.details = err.message; | ||
@@ -46,0 +46,0 @@ err.message = 'Invalid content'; |
{ | ||
"version": "1.0.0-next.15", | ||
"version": "1.0.0-next.21", | ||
"name": "@polka/parse", | ||
@@ -29,3 +29,3 @@ "repository": "lukeed/polka", | ||
}, | ||
"gitHead": "e0e131dd28b03e26652a96b9a1428c017209e187" | ||
"gitHead": "8d6e31871225f4449e645ecba13de7014f772b34" | ||
} |
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
5862