@types/basic-auth
Advanced tools
Comparing version 1.1.2 to 1.1.3
// Type definitions for basic-auth 1.1 | ||
// Project: https://github.com/jshttp/basic-auth | ||
// Definitions by: Clément Bourgeois <https://github.com/moonpyk>, Vesa Poikajärvi <https://github.com/vesse> | ||
// Definitions by: Clément Bourgeois <https://github.com/moonpyk>, Vesa Poikajärvi <https://github.com/vesse>, Ryo Ota <https://github.com/nwtgck> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -9,5 +9,6 @@ | ||
import * as http from 'http'; | ||
import * as http2 from 'http2'; | ||
// See https://github.com/jshttp/basic-auth/blob/v1.1.0/index.js#L49 | ||
declare function auth(req: http.IncomingMessage): auth.BasicAuthResult | undefined; | ||
declare function auth(req: http.IncomingMessage | http2.Http2ServerRequest): auth.BasicAuthResult | undefined; | ||
@@ -14,0 +15,0 @@ declare namespace auth { |
{ | ||
"name": "@types/basic-auth", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "TypeScript definitions for basic-auth", | ||
@@ -9,13 +9,22 @@ "license": "MIT", | ||
"name": "Clément Bourgeois", | ||
"url": "https://github.com/moonpyk" | ||
"url": "https://github.com/moonpyk", | ||
"githubUsername": "moonpyk" | ||
}, | ||
{ | ||
"name": "Vesa Poikajärvi", | ||
"url": "https://github.com/vesse" | ||
"url": "https://github.com/vesse", | ||
"githubUsername": "vesse" | ||
}, | ||
{ | ||
"name": "Ryo Ota", | ||
"url": "https://github.com/nwtgck", | ||
"githubUsername": "nwtgck" | ||
} | ||
], | ||
"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/basic-auth" | ||
}, | ||
@@ -26,4 +35,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "82b1438b5337aafeb903e5d5f2052ab25d928ee9c02bd790c848e96337834ae3", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "773434e2dc6f9a51d6b1e2d12f428e2074fef047e15eb37af841efc638ac8a14", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/basic-auth | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/basic-auth. | ||
Additional Details | ||
* Last updated: Mon, 21 Aug 2017 21:47:08 GMT | ||
* Dependencies: http, node | ||
### Additional Details | ||
* Last updated: Mon, 03 Feb 2020 17:24:23 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Clément Bourgeois <https://github.com/moonpyk>, Vesa Poikajärvi <https://github.com/vesse>. | ||
These definitions were written by Clément Bourgeois (https://github.com/moonpyk), Vesa Poikajärvi (https://github.com/vesse), and Ryo Ota (https://github.com/nwtgck). |
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
3677
20