Add support for npm group level endpoints in compressed json middleware
🔍 Context
In #299834 (closed) we're adding the support for group level endpoints for npm Registry
Among the all group level endpoints we want to enable, there are two npm audit endpoints that receive compressed JSON
data:
-/npm/v1/security/advisories/bulk
-/npm/v1/security/audits/quick
🛠 What does this MR do and why?
This MR changes the CompressedJson
middleware to also support the audit group level endpoints for npm Registry and extract the compressed data.
📸 Screenshots or screen recordings
No
🔬 How to set up and validate locally
There is nothing to validate. The group level endpoints are not handled yet.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #299834 (closed)
Edited by Dzmitry (Dima) Meshcharakou