@types/passport
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -13,3 +13,3 @@ // Type definitions for Passport 1.0 | ||
import { IncomingMessage } from 'http'; | ||
import { IncomingMessage } from "http"; | ||
@@ -94,3 +94,3 @@ declare global { | ||
import express = require('express'); | ||
import express = require("express"); | ||
@@ -627,11 +627,11 @@ declare namespace passport { | ||
*/ | ||
Authenticator: { new (): Authenticator }; | ||
Authenticator: { new(): Authenticator }; | ||
/** | ||
* Create a new `Authenticator` object. | ||
*/ | ||
Passport: PassportStatic['Authenticator']; | ||
Passport: PassportStatic["Authenticator"]; | ||
/** | ||
* Creates an instance of `Strategy`. | ||
*/ | ||
Strategy: { new (): Strategy & StrategyCreatedStatic }; | ||
Strategy: { new(): Strategy & StrategyCreatedStatic }; | ||
strategies: { | ||
@@ -672,4 +672,4 @@ /** | ||
SessionStrategy: { | ||
new (deserializeUser: DeserializeUserFunction): SessionStrategy; | ||
new (options: SessionStrategyOptions, deserializeUser: DeserializeUserFunction): SessionStrategy; | ||
new(deserializeUser: DeserializeUserFunction): SessionStrategy; | ||
new(options: SessionStrategyOptions, deserializeUser: DeserializeUserFunction): SessionStrategy; | ||
}; | ||
@@ -694,3 +694,3 @@ }; | ||
*/ | ||
readonly name: 'session'; | ||
readonly name: "session"; | ||
/** | ||
@@ -726,3 +726,3 @@ * Authenticate request based on current session data. | ||
*/ | ||
authenticate(req: IncomingMessage, options?: Pick<AuthenticateOptions, 'pauseStream'>): void; | ||
authenticate(req: IncomingMessage, options?: Pick<AuthenticateOptions, "pauseStream">): void; | ||
} | ||
@@ -785,17 +785,17 @@ | ||
| { | ||
familyName: string; | ||
givenName: string; | ||
middleName?: string | undefined; | ||
} | ||
familyName: string; | ||
givenName: string; | ||
middleName?: string | undefined; | ||
} | ||
| undefined; | ||
emails?: | ||
| Array<{ | ||
value: string; | ||
type?: string | undefined; | ||
}> | ||
value: string; | ||
type?: string | undefined; | ||
}> | ||
| undefined; | ||
photos?: | ||
| Array<{ | ||
value: string; | ||
}> | ||
value: string; | ||
}> | ||
| undefined; | ||
@@ -802,0 +802,0 @@ } |
{ | ||
"name": "@types/passport", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "TypeScript definitions for Passport", | ||
@@ -55,4 +55,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport", | ||
}, | ||
"typesPublisherContentHash": "6a4620746face1f14c30cb75cd941d37e259cdb72ba08ad6f49a2d40416f6414", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "0c796288b8bc20bbbbcde57bbb9e8651e6f8eee32ed57ce2482a80bc1f478754", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 16 Feb 2023 02:32:42 GMT | ||
* Last updated: Sun, 24 Sep 2023 06:37:27 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
45569