diff --git a/HISTORY.md b/HISTORY.md index b038e53..6a2852a 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -5,6 +5,10 @@ unreleased - Fix sorting encoding with extra parameters - deps: mime-types@~2.1.34 - deps: negotiator@0.6.3 + * deps: bytes@3.1.2 + - Add petabyte (`pb`) support + - Fix "thousandsSeparator" incorrecting formatting fractional part + - Fix return value for un-parsable strings * deps: compressible@~2.0.18 - Mark `font/ttf` as compressible - Remove compressible from `multipart/mixed` diff --git a/README.md b/README.md index 287ab71..2eb3845 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ var compression = require('compression') ### compression([options]) Returns the compression middleware using the given `options`. The middleware -will attempt to compress response bodies for all request that traverse through +will attempt to compress response bodies for all requests that traverse through the middleware, based on the given `options`. This middleware will never compress responses that include a `Cache-Control` diff --git a/package.json b/package.json index 91802aa..a5d3e5f 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "repository": "expressjs/compression", "dependencies": { "negotiator": "0.6.4", - "bytes": "3.0.0", + "bytes": "3.1.2", "compressible": "~2.0.18", "debug": "2.6.9", "object-assign": "4.1.1",