New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-session

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-session - npm Package Compare versions

Comparing version 1.1.1-beta to 1.2.1-beta

18

lib/store/Store.js

@@ -443,3 +443,21 @@ /**

/**
* Migrates the current session to a new session id while maintaining all
* session attributes.
*
* @param {boolean} destroy Whether to delete the old session or leave it to garbage collection.
* @return {boolean} True if session migrated, false if error.
*/
Store.prototype.migrate = function (destroy) {
if (destroy) {
this.__handler.destroy(this.getId());
}
this.setExists(false);
this.setId();
return true;
};
module.exports = Store;

2

package.json
{
"name": "node-session",
"version": "1.1.1-beta",
"version": "1.2.1-beta",
"description": "Session management for NodeJS",

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

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