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

avrodh-session

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avrodh-session - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

4

lib/index.js

@@ -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

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