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

@auth/express

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@auth/express - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

3

index.d.ts

@@ -126,3 +126,4 @@ /**

*/
import type { AuthConfig, Session } from "@auth/core/types";
import { type AuthConfig } from "@auth/core";
import type { Session } from "@auth/core/types";
import * as e from "express";

@@ -129,0 +130,0 @@ export { AuthError, CredentialsSignin } from "@auth/core/errors";

@@ -126,3 +126,3 @@ /**

*/
import { Auth, setEnvDefaults, createActionURL } from "@auth/core";
import { Auth, setEnvDefaults, createActionURL, } from "@auth/core";
import * as e from "express";

@@ -129,0 +129,0 @@ import { toWebRequest, toExpressResponse } from "./lib/index.js";

{
"name": "@auth/express",
"description": "Authentication for Express.",
"version": "0.5.2",
"version": "0.5.3",
"type": "module",

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

"dependencies": {
"@auth/core": "0.29.0"
"@auth/core": "0.30.0"
},

@@ -37,0 +37,0 @@ "devDependencies": {

<p align="center">
<br/>
<a href="https://authjs.dev" target="_blank"><img width="150px" src="https://authjs.dev/img/logo/logo-sm.png" /></a>
<a href="https://authjs.dev" target="_blank"><img width="150px" src="https://authjs.dev/img/logo-sm.png" /></a>
<h3 align="center">Express Auth</a></h3>

@@ -5,0 +5,0 @@ <h4 align="center">Authentication for Express.</h4>

@@ -26,3 +26,3 @@ /**

* // https://expressjs.com/en/guide/behind-proxies.html
* app.set('trust proxy', true)
* app.set('trust proxy', true)
* app.use("/auth/*", ExpressAuth({ providers: [ GitHub ] }))

@@ -128,4 +128,9 @@ * ```

import { Auth, setEnvDefaults, createActionURL } from "@auth/core"
import type { AuthConfig, Session } from "@auth/core/types"
import {
Auth,
type AuthConfig,
setEnvDefaults,
createActionURL,
} from "@auth/core"
import type { Session } from "@auth/core/types"
import * as e from "express"

@@ -132,0 +137,0 @@ import { toWebRequest, toExpressResponse } from "./lib/index.js"

Sorry, the diff of this file is not supported yet

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