@fastify/compress
Advanced tools
Comparing version 6.1.1 to 6.2.0
@@ -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 @@ }, |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
160948
4254
2