Comparing version 2.3.2 to 2.3.3
@@ -0,1 +1,12 @@ | ||
2.3.3 / 2018-05-08 | ||
================== | ||
* deps: http-errors@1.6.3 | ||
- deps: depd@~1.1.2 | ||
- deps: setprototypeof@1.1.0 | ||
- deps: statuses@'>= 1.3.1 < 2' | ||
* deps: iconv-lite@0.4.23 | ||
- Fix loading encoding with year appended | ||
- Fix deprecation warnings on Node.js 10+ | ||
2.3.2 / 2017-09-09 | ||
@@ -2,0 +13,0 @@ ================== |
{ | ||
"name": "raw-body", | ||
"description": "Get and validate the raw body of a readable stream.", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)", | ||
@@ -14,19 +14,19 @@ "contributors": [ | ||
"bytes": "3.0.0", | ||
"http-errors": "1.6.2", | ||
"iconv-lite": "0.4.19", | ||
"http-errors": "1.6.3", | ||
"iconv-lite": "0.4.23", | ||
"unpipe": "1.0.0" | ||
}, | ||
"devDependencies": { | ||
"bluebird": "3.5.0", | ||
"eslint": "3.19.0", | ||
"eslint-config-standard": "10.2.1", | ||
"eslint-plugin-import": "2.7.0", | ||
"bluebird": "3.5.1", | ||
"eslint": "4.19.1", | ||
"eslint-config-standard": "11.0.0", | ||
"eslint-plugin-import": "2.11.0", | ||
"eslint-plugin-markdown": "1.0.0-beta.6", | ||
"eslint-plugin-node": "5.1.1", | ||
"eslint-plugin-promise": "3.5.0", | ||
"eslint-plugin-standard": "3.0.1", | ||
"eslint-plugin-node": "6.0.1", | ||
"eslint-plugin-promise": "3.7.0", | ||
"eslint-plugin-standard": "3.1.0", | ||
"istanbul": "0.4.5", | ||
"mocha": "2.5.3", | ||
"readable-stream": "2.3.3", | ||
"safe-buffer": "5.1.1" | ||
"readable-stream": "2.3.6", | ||
"safe-buffer": "5.1.2" | ||
}, | ||
@@ -33,0 +33,0 @@ "engines": { |
@@ -26,3 +26,3 @@ # raw-body | ||
This module includes a [TypeScript](https://www.typescriptlang.org/) | ||
declarition file to enable auto complete in compatible editors and type | ||
declaration file to enable auto complete in compatible editors and type | ||
information for TypeScript projects. This module depends on the Node.js | ||
@@ -173,10 +173,10 @@ types, so install `@types/node`: | ||
getRawBody(req) | ||
.then(function (buf) { | ||
res.statusCode = 200 | ||
res.end(buf.length + ' bytes submitted') | ||
}) | ||
.catch(function (err) { | ||
res.statusCode = 500 | ||
res.end(err.message) | ||
}) | ||
.then(function (buf) { | ||
res.statusCode = 200 | ||
res.end(buf.length + ' bytes submitted') | ||
}) | ||
.catch(function (err) { | ||
res.statusCode = 500 | ||
res.end(err.message) | ||
}) | ||
}) | ||
@@ -183,0 +183,0 @@ |
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
22411
+ Addeddepd@1.1.2(transitive)
+ Addedhttp-errors@1.6.3(transitive)
+ Addediconv-lite@0.4.23(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsetprototypeof@1.1.0(transitive)
- Removeddepd@1.1.1(transitive)
- Removedhttp-errors@1.6.2(transitive)
- Removediconv-lite@0.4.19(transitive)
- Removedsetprototypeof@1.0.3(transitive)
Updatedhttp-errors@1.6.3
Updatediconv-lite@0.4.23