🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@types/vhost

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/vhost - npm Package Compare versions

Comparing version
3.0.2
to
3.0.3
+1
-1
vhost/index.d.ts
// Type definitions for vhost 3.0
// Project: https://github.com/expressjs/vhost
// Definitions by: Vincenzo Chianese <https://github.com/DefinitelyTyped>
// Definitions by: Vincenzo Chianese <https://github.com/XVincentX>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -5,0 +5,0 @@

{
"name": "@types/vhost",
"version": "3.0.2",
"version": "3.0.3",
"description": "TypeScript definitions for vhost",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vhost",
"license": "MIT",

@@ -9,4 +10,4 @@ "contributors": [

"name": "Vincenzo Chianese",
"url": "https://github.com/DefinitelyTyped",
"githubUsername": "DefinitelyTyped"
"url": "https://github.com/XVincentX",
"githubUsername": "XVincentX"
}

@@ -25,4 +26,4 @@ ],

},
"typesPublisherContentHash": "c81197e6146c58b61786e42a218fc6531b449d53eed002d6f61168f8dfc21285",
"typeScriptVersion": "3.3"
"typesPublisherContentHash": "98ccb3a532a818666fd4ffbc9431a8420a2219f05aa75029e350583ced05d12b",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,19 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vhost.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vhost/index.d.ts)
````ts
// Type definitions for vhost 3.0
// Project: https://github.com/expressjs/vhost
// Definitions by: Vincenzo Chianese <https://github.com/XVincentX>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import express = require('express');
declare function vhost(hostname: string | RegExp, handler: express.Handler): express.Handler;
export = vhost;
````
### Additional Details
* Last updated: Thu, 03 Dec 2020 01:54:42 GMT
* Last updated: Thu, 08 Jul 2021 22:42:19 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express)

@@ -17,2 +31,2 @@ * Global values: none

# Credits
These definitions were written by [Vincenzo Chianese](https://github.com/DefinitelyTyped).
These definitions were written by [Vincenzo Chianese](https://github.com/XVincentX).