We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 671d373 + 71b4f7f commit 88d5056Copy full SHA for 88d5056
index.js
@@ -152,4 +152,7 @@ function shouldCompress (type) {
152
return data.compressible
153
}
154
155
-module.exports = fp(compressPlugin, '>=0.20.0')
+module.exports = fp(compressPlugin, {
156
+ fastify: '>=0.39.1',
157
+ name: 'fastify-compress'
158
+})
package.json
@@ -10,10 +10,10 @@
10
"string-to-stream": "^1.1.0"
11
},
12
"devDependencies": {
13
- "fastify": "^0.35.3",
+ "fastify": "^0.39.1",
14
"iltorb": "^2.0.3",
15
"standard": "^10.0.3",
16
- "tap": "^11.0.0"
+ "tap": "^11.0.1"
17
18
"scripts": {
19
"unit": "tap test.js",
0 commit comments