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

mongo-throttle

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongo-throttle - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

4

defaults.json

@@ -11,4 +11,4 @@ {

"mongoose":{
"uri": false
}
"uri": false
}
}

@@ -6,3 +6,2 @@ /**

var mongoose = require('mongoose')
var ipRegex = require('ip-regex')
var Schema = mongoose.Schema

@@ -34,4 +33,3 @@ mongoose.Promise = global.Promise

required: true,
trim: true,
match: ipRegex()
trim: true
},

@@ -38,0 +36,0 @@ hits: {

{
"name": "mongo-throttle",
"version": "1.1.0",
"version": "1.2.0",
"description": "Basic IP rate-limiting middleware for Express stored in mongoDB. Use to throttle or limit incoming request rate.",

@@ -5,0 +5,0 @@ "main": "lib/throttler.js",

@@ -51,2 +51,5 @@ # Mongo Throttle

"message": "Rate Limit reached. Please wait and try again."
},
"mongoose":{
"uri": false // Optional Mongo URI connection string
}

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