avrodh-session
Advanced tools
Comparing version 3.0.0 to 4.0.0
@@ -19,3 +19,3 @@ "use strict"; | ||
const assert_1 = __importDefault(require("assert")); | ||
const csurf_1 = __importDefault(require("csurf")); | ||
const csurf_sep_1 = __importDefault(require("csurf-sep")); | ||
__exportStar(require("./login"), exports); | ||
@@ -32,3 +32,3 @@ __exportStar(require("./errors"), exports); | ||
assert_1.default.ok(COOKIE_SLAVE_KEY); | ||
const csurf = csurf_1.default(); | ||
const csurf = csurf_sep_1.default(); | ||
app.use(cookie_session_1.default({ | ||
@@ -35,0 +35,0 @@ keys: [COOKIE_MASTER_KEY, COOKIE_SLAVE_KEY], |
@@ -1,2 +0,2 @@ | ||
import CSURF from "csurf"; | ||
import CSURF from "csurf-sep"; | ||
import type express from "express-serve-static-core"; | ||
@@ -3,0 +3,0 @@ export * from "./login"; |
{ | ||
"name": "avrodh-session", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "", | ||
@@ -11,3 +11,3 @@ "main": "lib/index.js", | ||
"cookie-session": "^2.0.0-rc.1", | ||
"csurf": "github:sushantdhiman/csurf" | ||
"csurf-sep": "^1.0.0" | ||
}, | ||
@@ -18,3 +18,3 @@ "devDependencies": { | ||
"cookie-session": "^2.0.0-rc.1", | ||
"csurf": "github:sushantdhiman/csurf", | ||
"csurf-sep": "^1.0.0", | ||
"typescript": "^4.3.2" | ||
@@ -21,0 +21,0 @@ }, |
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
6934