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

@types/express-slow-down

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/express-slow-down - npm Package Compare versions

Comparing version 1.1.1 to 1.3.0

12

express-slow-down/index.d.ts

@@ -1,8 +0,9 @@

// Type definitions for express-slow-down 1.1
// Type definitions for express-slow-down 1.3
// Project: https://github.com/nfriedly/express-slow-down
// Definitions by: Jeremy Forsythe <https://github.com/jdforsythe>
// Josh Henderson <https://github.com/joshhendo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import express = require("express");
import express = require('express');

@@ -76,2 +77,9 @@ declare namespace SlowDown {

/**
* Maximum value for `delayMs` after many consecutive attempts, that is, after the n-th request,
* the delay will be always `maxDelayMs`. Important when your application is running behind a
* load balancer or reverse proxy that has a request timeout. Defaults to Infinity.
*/
maxDelayMs?: number;
/**
* When `true` failed requests (response status >= 400) won't be counted. Defaults to `false`.

@@ -78,0 +86,0 @@ */

13

express-slow-down/package.json
{
"name": "@types/express-slow-down",
"version": "1.1.1",
"version": "1.3.0",
"description": "TypeScript definitions for express-slow-down",

@@ -11,6 +11,11 @@ "license": "MIT",

"githubUsername": "jdforsythe"
},
{
"name": "Josh Henderson",
"url": "https://github.com/joshhendo",
"githubUsername": "joshhendo"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -25,4 +30,4 @@ "type": "git",

},
"typesPublisherContentHash": "5e38c1b3df2024742d042e3544c0578b0972c9f109e4c6af4cee553d0d986646",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "a03417e761840761825e10ac42ce45eebb52aa6194c5b5fc20a32b6e6c7b3217",
"typeScriptVersion": "2.8"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-slow-down
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-slow-down.
Additional Details
* Last updated: Mon, 19 Aug 2019 00:51:15 GMT
* Dependencies: @types/express
### Additional Details
* Last updated: Fri, 31 Jan 2020 22:06:33 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express)
* Global values: none
# Credits
These definitions were written by Jeremy Forsythe <https://github.com/jdforsythe>.
These definitions were written by Jeremy Forsythe (https://github.com/jdforsythe), and Josh Henderson (https://github.com/joshhendo).
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