New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/passport-http-bearer

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/passport-http-bearer - npm Package Compare versions

Comparing version 1.0.37 to 1.0.38

16

passport-http-bearer/index.d.ts

@@ -29,10 +29,20 @@ // Type definitions for passport-http-bearer 1.0.1

interface IKoaContextContainer { ctx: koa.Context; }
interface IKoaContextContainer {
ctx: koa.Context;
}
type KoaPassportExpressRequestMock = Partial<express.Request> & IKoaContextContainer;
interface VerifyFunctionWithRequest {
(req: express.Request, token: string, done: (error: any, user?: any, options?: IVerifyOptions | string) => void): void;
(
req: express.Request,
token: string,
done: (error: any, user?: any, options?: IVerifyOptions | string) => void,
): void;
}
interface VerifyFunctionWithContext {
(req: KoaPassportExpressRequestMock, token: string, done: (error: any, user?: any, options?: IVerifyOptions | string) => void): void;
(
req: KoaPassportExpressRequestMock,
token: string,
done: (error: any, user?: any, options?: IVerifyOptions | string) => void,
): void;
}

@@ -39,0 +49,0 @@

6

passport-http-bearer/package.json
{
"name": "@types/passport-http-bearer",
"version": "1.0.37",
"version": "1.0.38",
"description": "TypeScript definitions for passport-http-bearer",

@@ -27,4 +27,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-http-bearer",

},
"typesPublisherContentHash": "174115ca98d2a192ce15ae4e5dcc80ddc016f8bf9d17bd5d44dabd3544359e9a",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "bc7b4d446740ec572f0f0eca1a54b568908661617876a6881ad93f4ffbbf09b8",
"typeScriptVersion": "4.5"
}

@@ -39,10 +39,20 @@ # Installation

interface IKoaContextContainer { ctx: koa.Context; }
interface IKoaContextContainer {
ctx: koa.Context;
}
type KoaPassportExpressRequestMock = Partial<express.Request> & IKoaContextContainer;
interface VerifyFunctionWithRequest {
(req: express.Request, token: string, done: (error: any, user?: any, options?: IVerifyOptions | string) => void): void;
(
req: express.Request,
token: string,
done: (error: any, user?: any, options?: IVerifyOptions | string) => void,
): void;
}
interface VerifyFunctionWithContext {
(req: KoaPassportExpressRequestMock, token: string, done: (error: any, user?: any, options?: IVerifyOptions | string) => void): void;
(
req: KoaPassportExpressRequestMock,
token: string,
done: (error: any, user?: any, options?: IVerifyOptions | string) => void,
): void;
}

@@ -66,4 +76,4 @@

### Additional Details
* Last updated: Wed, 07 Jul 2021 17:02:26 GMT
* Dependencies: [@types/passport](https://npmjs.com/package/@types/passport), [@types/express](https://npmjs.com/package/@types/express), [@types/koa](https://npmjs.com/package/@types/koa)
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/koa](https://npmjs.com/package/@types/koa), [@types/passport](https://npmjs.com/package/@types/passport)
* Global values: none

@@ -70,0 +80,0 @@

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