Socket
Socket
Sign inDemoInstall

@fastify/compress

Package Overview
Dependencies
Maintainers
19
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastify/compress - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

2

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc