New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fastify-rate-limit

Package Overview
Dependencies
Maintainers
8
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-rate-limit - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

package.json
{
"name": "fastify-rate-limit",
"version": "2.0.0",
"version": "2.0.1",
"description": "A low overhead rate limiter for your routes",

@@ -26,3 +26,3 @@ "main": "index.js",

"devDependencies": {
"fastify": "next",
"fastify": "^2.0.0",
"ioredis": "^4.2.0",

@@ -36,4 +36,4 @@ "standard": "^12.0.1",

"ms": "^2.1.1",
"tiny-lru": "^4.0.4"
"tiny-lru": "^6.0.1"
}
}

@@ -56,3 +56,3 @@ # fastify-rate-limit

skipOnError: true, // default false
keyGenerator: function(req) { /* ... */ }, // default (req) => req.ip
keyGenerator: function(req) { /* ... */ }, // default (req) => req.raw.ip
})

@@ -76,3 +76,3 @@ ```

|| req.session.username // you can limit based on any session value
|| req.ip // fallback to default
|| req.raw.ip // fallback to default
})

@@ -79,0 +79,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