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

nestjs-rate-limiter

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-rate-limiter - npm Package Compare versions

Comparing version 2.7.2 to 2.7.3

2

dist/rate-limiter.interceptor.js

@@ -176,3 +176,3 @@ "use strict";

const rateLimiter = yield this.getRateLimiter(reflectedOptions);
const key = (_c = request.ip) === null || _c === void 0 ? void 0 : _c.replace(/^.*:/, '');
const key = (_c = request.ip) === null || _c === void 0 ? void 0 : _c.match(/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/)[0];
yield this.responseHandler(response, key, rateLimiter, points, pointsConsumed);

@@ -179,0 +179,0 @@ return next.handle();

{
"name": "nestjs-rate-limiter",
"version": "2.7.2",
"version": "2.7.3",
"description": "Highly configurable rate limiter library",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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