Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/passport-oauth2

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/passport-oauth2 - npm Package Compare versions

Comparing version 1.4.11 to 1.4.12

32

passport-oauth2/index.d.ts

@@ -8,2 +8,3 @@ // Type definitions for passport-oauth2 1.4

// Daphne Smit <https://github.com/daphnesmit>
// Joel Klint <https://github.com/JoelKlint>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -58,8 +59,27 @@ // TypeScript Version: 2.3

type VerifyFunction =
((accessToken: string, refreshToken: string, profile: any, verified: VerifyCallback) => void) |
((accessToken: string, refreshToken: string, results: any, profile: any, verified: VerifyCallback) => void);
type VerifyFunctionWithRequest =
((req: Request, accessToken: string, refreshToken: string, profile: any, verified: VerifyCallback) => void) |
((req: Request, accessToken: string, refreshToken: string, results: any, profile: any, verified: VerifyCallback) => void);
type VerifyFunction<TProfile = any, TResults = any> =
| ((accessToken: string, refreshToken: string, profile: TProfile, verified: VerifyCallback) => void)
| ((
accessToken: string,
refreshToken: string,
results: TResults,
profile: TProfile,
verified: VerifyCallback,
) => void);
type VerifyFunctionWithRequest<TProfile = any, TResults = any> =
| ((
req: Request,
accessToken: string,
refreshToken: string,
profile: TProfile,
verified: VerifyCallback,
) => void)
| ((
req: Request,
accessToken: string,
refreshToken: string,
results: TResults,
profile: TProfile,
verified: VerifyCallback,
) => void);

@@ -66,0 +86,0 @@ interface _StrategyOptionsBase {

11

passport-oauth2/package.json
{
"name": "@types/passport-oauth2",
"version": "1.4.11",
"version": "1.4.12",
"description": "TypeScript definitions for passport-oauth2",

@@ -32,2 +32,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-oauth2",

"githubUsername": "daphnesmit"
},
{
"name": "Joel Klint",
"url": "https://github.com/JoelKlint",
"githubUsername": "JoelKlint"
}

@@ -48,4 +53,4 @@ ],

},
"typesPublisherContentHash": "8292deb6e550442b9ab287dfb78c71ba9066b722f865f2794103c4d6ec047837",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "017e3e2f67b0ec83fc98da7a31aaf683daad40112ca0ca14aba2c5175367ee48",
"typeScriptVersion": "4.2"
}

@@ -11,7 +11,7 @@ # Installation

### Additional Details
* Last updated: Wed, 07 Jul 2021 17:02:27 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/passport](https://npmjs.com/package/@types/passport), [@types/oauth](https://npmjs.com/package/@types/oauth)
* Last updated: Thu, 09 Feb 2023 11:32:38 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/oauth](https://npmjs.com/package/@types/oauth), [@types/passport](https://npmjs.com/package/@types/passport)
* Global values: none
# Credits
These definitions were written by [Pasi Eronen](https://github.com/pasieronen), [Wang Zishi](https://github.com/WangZishi), [Eduardo AC](https://github.com/EduardoAC), [Ivan Fernandes](https://github.com/ivan94), and [Daphne Smit](https://github.com/daphnesmit).
These definitions were written by [Pasi Eronen](https://github.com/pasieronen), [Wang Zishi](https://github.com/WangZishi), [Eduardo AC](https://github.com/EduardoAC), [Ivan Fernandes](https://github.com/ivan94), [Daphne Smit](https://github.com/daphnesmit), and [Joel Klint](https://github.com/JoelKlint).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc