Socket
Socket
Sign inDemoInstall

compression

Package Overview
Dependencies
11
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.2 to 1.7.3

10

HISTORY.md

@@ -0,1 +1,11 @@

1.7.3 / 2018-07-15
==================
* deps: accepts@~1.3.5
- deps: mime-types@~2.1.18
* deps: compressible@~2.0.14
- Mark all XML-derived types as compressible
- deps: mime-db@'>= 1.34.0 < 2'
* deps: safe-buffer@5.1.2
1.7.2 / 2018-02-18

@@ -2,0 +12,0 @@ ==================

19

package.json
{
"name": "compression",
"description": "Node.js compression middleware",
"version": "1.7.2",
"version": "1.7.3",
"contributors": [

@@ -12,18 +12,19 @@ "Douglas Christopher Wilson <doug@somethingdoug.com>",

"dependencies": {
"accepts": "~1.3.4",
"accepts": "~1.3.5",
"bytes": "3.0.0",
"compressible": "~2.0.13",
"compressible": "~2.0.14",
"debug": "2.6.9",
"on-headers": "~1.0.1",
"safe-buffer": "5.1.1",
"safe-buffer": "5.1.2",
"vary": "~1.1.2"
},
"devDependencies": {
"eslint": "4.18.0",
"after": "0.8.2",
"eslint": "4.19.1",
"eslint-config-standard": "11.0.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-import": "2.13.0",
"eslint-plugin-markdown": "1.0.0-beta.6",
"eslint-plugin-node": "6.0.0",
"eslint-plugin-promise": "3.6.0",
"eslint-plugin-standard": "3.0.1",
"eslint-plugin-node": "6.0.1",
"eslint-plugin-promise": "3.8.0",
"eslint-plugin-standard": "3.1.0",
"istanbul": "0.4.5",

@@ -30,0 +31,0 @@ "mocha": "2.5.3",

@@ -129,4 +129,4 @@ # compression

The byte threshold for the response body size before compression is considered
for the response, defaults to `1kb`. This is a number of bytes, any string
accepted by the [bytes](https://www.npmjs.com/package/bytes) module, or `false`.
for the response, defaults to `1kb`. This is a number of bytes or any string
accepted by the [bytes](https://www.npmjs.com/package/bytes) module.

@@ -133,0 +133,0 @@ **Note** this is only an advisory setting; if the response size cannot be determined

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc