@types/passport
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -13,2 +13,4 @@ // Type definitions for Passport 1.0 | ||
import { IncomingMessage } from 'http'; | ||
declare global { | ||
@@ -76,3 +78,5 @@ namespace Express { | ||
serializeUser<TUser, TID>(fn: (user: TUser, done: (err: any, id?: TID) => void) => void): void; | ||
serializeUser<TUser, TID, TR extends IncomingMessage = express.Request>(fn: (req: TR, user: TUser, done: (err: any, id?: TID) => void) => void): void; | ||
deserializeUser<TUser, TID>(fn: (id: TID, done: (err: any, user?: TUser) => void) => void): void; | ||
deserializeUser<TUser, TID, TR extends IncomingMessage = express.Request>(fn: (req: TR, id: TID, done: (err: any, user?: TUser) => void) => void): void; | ||
transformAuthInfo(fn: (info: any, done: (err: any, info: any) => void) => void): void; | ||
@@ -79,0 +83,0 @@ } |
{ | ||
"name": "@types/passport", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "TypeScript definitions for Passport", | ||
@@ -44,3 +44,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -55,4 +55,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "4c71cf6412abdea9ea8792064ef7a4e486d601fee1509b3fe9df877edf713879", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "4f99db2997dbfebb5a8fdb81126391072b39dc46d42d1cc16d24f6114a1359c9", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport. | ||
Additional Details | ||
* Last updated: Thu, 22 Aug 2019 15:19:48 GMT | ||
* Dependencies: @types/express | ||
### Additional Details | ||
* Last updated: Tue, 19 Nov 2019 20:11:04 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Horiuchi_H <https://github.com/horiuchi>, Eric Naeseth <https://github.com/enaeseth>, Igor Belagorudsky <https://github.com/theigor>, Tomek Łaziuk <https://github.com/tlaziuk>, Daniel Perez Alvarez <https://github.com/danielpa9708>, Kevin Stiehl <https://github.com/kstiehl>, and Oleg Vaskevich <https://github.com/vaskevich>. | ||
These definitions were written by Horiuchi_H (https://github.com/horiuchi), Eric Naeseth (https://github.com/enaeseth), Igor Belagorudsky (https://github.com/theigor), Tomek Łaziuk (https://github.com/tlaziuk), Daniel Perez Alvarez (https://github.com/danielpa9708), Kevin Stiehl (https://github.com/kstiehl), and Oleg Vaskevich (https://github.com/vaskevich). |
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
10834
152