@auth/express
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -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
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
62060
987
+ Added@auth/core@0.30.0(transitive)
- Removed@auth/core@0.29.0(transitive)
Updated@auth/core@0.30.0