Socket
Socket
Sign inDemoInstall

@auth/express

Package Overview
Dependencies
92
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.0 to 0.5.1

providers/passkey.d.ts

5

index.d.ts

@@ -34,3 +34,3 @@ /**

* ### Provider Configuration
* The callback URL used by the [providers](https://authjs.dev/reference/core/modules/providers) must be set to the following, unless you mount the `ExpressAuth` handler on a different path:
* The callback URL used by the [providers](https://authjs.dev/reference/core/providers) must be set to the following, unless you mount the `ExpressAuth` handler on a different path:
*

@@ -70,3 +70,3 @@ * ```

* ```ts
* export function authenticatedUser(
* export async function authenticatedUser(
* req: Request,

@@ -129,2 +129,3 @@ * res: Response,

import * as e from "express";
export { AuthError, CredentialsSignin } from "@auth/core/errors";
export type { Account, DefaultSession, Profile, Session, User, } from "@auth/core/types";

@@ -131,0 +132,0 @@ export declare function ExpressAuth(config: Omit<AuthConfig, "raw">): (req: e.Request, res: e.Response, next: e.NextFunction) => Promise<void>;

@@ -34,3 +34,3 @@ /**

* ### Provider Configuration
* The callback URL used by the [providers](https://authjs.dev/reference/core/modules/providers) must be set to the following, unless you mount the `ExpressAuth` handler on a different path:
* The callback URL used by the [providers](https://authjs.dev/reference/core/providers) must be set to the following, unless you mount the `ExpressAuth` handler on a different path:
*

@@ -70,3 +70,3 @@ * ```

* ```ts
* export function authenticatedUser(
* export async function authenticatedUser(
* req: Request,

@@ -130,2 +130,3 @@ * res: Response,

import { toWebRequest, toExpressResponse } from "./lib/index.js";
export { AuthError, CredentialsSignin } from "@auth/core/errors";
export function ExpressAuth(config) {

@@ -132,0 +133,0 @@ return async (req, res, next) => {

6

package.json
{
"name": "@auth/express",
"description": "Authentication for Express.",
"version": "0.5.0",
"version": "0.5.1",
"type": "module",

@@ -34,3 +34,3 @@ "files": [

"dependencies": {
"@auth/core": "0.25.0"
"@auth/core": "0.28.1"
},

@@ -60,5 +60,5 @@ "devDependencies": {

"clean": "rm -rf lib index.* src/lib/providers",
"test": "vitest -c ../utils/vitest.config.ts",
"test": "vitest run -c ../utils/vitest.config.ts",
"providers": "node ../utils/scripts/providers"
}
}

@@ -34,3 +34,3 @@ /**

* ### Provider Configuration
* The callback URL used by the [providers](https://authjs.dev/reference/core/modules/providers) must be set to the following, unless you mount the `ExpressAuth` handler on a different path:
* The callback URL used by the [providers](https://authjs.dev/reference/core/providers) must be set to the following, unless you mount the `ExpressAuth` handler on a different path:
*

@@ -70,3 +70,3 @@ * ```

* ```ts
* export function authenticatedUser(
* export async function authenticatedUser(
* req: Request,

@@ -133,2 +133,3 @@ * res: Response,

export { AuthError, CredentialsSignin } from "@auth/core/errors"
export type {

@@ -135,0 +136,0 @@ Account,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc