@fastify/compress
Advanced tools
Comparing version 6.1.0 to 6.1.1
@@ -11,3 +11,3 @@ 'use strict' | ||
const pumpify = require('pumpify') | ||
const encodingNegotiator = require('encoding-negotiator') | ||
const encodingNegotiator = require('@fastify/accept-negotiator') | ||
const { inherits, format } = require('util') | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "@fastify/compress", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "Fastify compression utils", | ||
@@ -8,4 +8,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"encoding-negotiator": "^2.0.1", | ||
"fastify-plugin": "^3.0.0", | ||
"@fastify/accept-negotiator": "^1.0.0", | ||
"fastify-plugin": "^4.0.0", | ||
"into-stream": "^6.0.0", | ||
@@ -19,3 +19,4 @@ "mime-db": "^1.51.0", | ||
"devDependencies": { | ||
"@types/node": "^17.0.8", | ||
"@fastify/pre-commit": "^2.0.2", | ||
"@types/node": "^18.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.9.0", | ||
@@ -26,6 +27,5 @@ "@typescript-eslint/parser": "^5.9.0", | ||
"jsonstream": "^1.0.3", | ||
"pre-commit": "^1.2.2", | ||
"standard": "^17.0.0", | ||
"tap": "^16.0.0", | ||
"tsd": "^0.21.0", | ||
"tsd": "^0.22.0", | ||
"typescript": "^4.5.4" | ||
@@ -32,0 +32,0 @@ }, |
@@ -88,3 +88,3 @@ # @fastify/compress | ||
await app.listen(3000) | ||
await app.listen({ port: 3000 }) | ||
``` | ||
@@ -167,3 +167,3 @@ | ||
zlibOptions: { | ||
level: 9, // default is 9, max is 9, min is 0 | ||
level: 6, // default is typically 6, max is 9, min is 0 | ||
} | ||
@@ -170,0 +170,0 @@ }); |
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
160172
+ Added@fastify/accept-negotiator@1.1.0(transitive)
+ Addedfastify-plugin@4.5.1(transitive)
- Removedencoding-negotiator@^2.0.1
- Removedencoding-negotiator@2.0.1(transitive)
- Removedfastify-plugin@3.0.1(transitive)
Updatedfastify-plugin@^4.0.0