@types/express-enforces-ssl
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -7,3 +7,3 @@ // Type definitions for express-enforces-ssl 1.1 | ||
import { Request, Response, NextFunction } from 'express'; | ||
import { NextFunction, Request, Response } from "express"; | ||
@@ -10,0 +10,0 @@ /** |
{ | ||
"name": "@types/express-enforces-ssl", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "TypeScript definitions for express-enforces-ssl", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-enforces-ssl", | ||
"license": "MIT", | ||
@@ -14,5 +15,7 @@ "contributors": [ | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/express-enforces-ssl" | ||
}, | ||
@@ -23,4 +26,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "f5facb56ec0e947f413d942b86d2031f73c3869c02c304e8bcf98eb7de2dabe1", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "865999ce68ad89405c38ca13573ab2965e781d1002bbcbc6601c15938f0e1049", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -8,10 +8,28 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-enforces-ssl | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-enforces-ssl. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-enforces-ssl/index.d.ts) | ||
````ts | ||
// Type definitions for express-enforces-ssl 1.1 | ||
// Project: https://github.com/aredo/express-enforces-ssl | ||
// Definitions by: Kevin Stubbs <https://github.com/kevinstubbs> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
Additional Details | ||
* Last updated: Wed, 25 Oct 2017 00:19:45 GMT | ||
* Dependencies: express | ||
import { NextFunction, Request, Response } from "express"; | ||
/** | ||
* Enforces HTTPS connections on any incoming requests. | ||
*/ | ||
declare function enforceHTTPS(): (req: Request, res: Response, next: NextFunction) => void; | ||
export = enforceHTTPS; | ||
```` | ||
### Additional Details | ||
* Last updated: Sat, 23 Sep 2023 17:07:22 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Kevin Stubbs <https://github.com/kevinstubbs>. | ||
These definitions were written by [Kevin Stubbs](https://github.com/kevinstubbs). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3765
0
35