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

express-socket.io-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

express-socket.io-session - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

.jshintrc

8

example/index.js

@@ -9,3 +9,3 @@ var app = require('express')(),

}),
sharedSession = require("../");
sharedsession = require("../");

@@ -17,3 +17,3 @@

io.use(sharedSession(session));
io.use(sharedsession(session));

@@ -29,3 +29,3 @@

req.session.save();
res.redirect("/ ")
res.redirect("/ ");
});

@@ -36,3 +36,3 @@ // Unset session data via express request

req.session.save();
res.redirect("/ ")
res.redirect("/ ");
});

@@ -39,0 +39,0 @@

@@ -39,6 +39,6 @@ var cookieParser = require('cookie-parser')();

session(req, res, function(req, res) {
next()
next();
});
});
};
}
};
{
"name": "express-socket.io-session",
"version": "1.0.2",
"version": "1.0.3",
"description": "Share a cookie-based express-session middleware with socket.io",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -38,3 +38,3 @@ express-socket.io-session

}),
sharedSession = require("express-socket.io-session");
sharedsession = require("express-socket.io-session");

@@ -47,3 +47,3 @@

io.use(sharedSession(session));
io.use(sharedsession(session));

@@ -50,0 +50,0 @@ server.listen(3000);

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