Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fastify/compress

Package Overview
Dependencies
Maintainers
20
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.1 to 6.2.0

types/index.d.ts

6

index.js

@@ -19,3 +19,3 @@ 'use strict'

function compressPlugin (fastify, opts, next) {
function fastifyCompress (fastify, opts, next) {
const globalCompressParams = processCompressParams(opts)

@@ -552,5 +552,7 @@ const globalDecompressParams = processDecompressParams(opts)

module.exports = fp(compressPlugin, {
module.exports = fp(fastifyCompress, {
fastify: '4.x',
name: '@fastify/compress'
})
module.exports.default = fastifyCompress
module.exports.fastifyCompress = fastifyCompress
{
"name": "@fastify/compress",
"version": "6.1.1",
"version": "6.2.0",
"description": "Fastify compression utils",
"main": "index.js",
"types": "index.d.ts",
"types": "types/index.d.ts",
"dependencies": {

@@ -27,3 +27,3 @@ "@fastify/accept-negotiator": "^1.0.0",

"tap": "^16.0.0",
"tsd": "^0.22.0",
"tsd": "^0.24.1",
"typescript": "^4.5.4"

@@ -30,0 +30,0 @@ },

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