Socket
Socket
Sign inDemoInstall

chlid-proxy

Package Overview
Dependencies
11
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 1.0.5

2

middleware/rateLimitMiddleware.js
const rateLimit = require('express-rate-limit');
const limiter = rateLimit({
windowMs: 1500, // 1 seconds cooldown period
windowMs: 100, // 1 seconds cooldown period
max: 1, // Allow only 1 request during the cooldown period

@@ -6,0 +6,0 @@ handler: (req, res) => {

{
"name": "chlid-proxy",
"version": "1.0.4",
"version": "1.0.5",
"description": "Private Package",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc