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

mvcjs

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mvcjs - npm Package Compare versions

Comparing version 0.1.0-beta-58 to 0.1.0-beta-59

2

framework/core/controller.js

@@ -311,3 +311,3 @@ "use strict";

} else if (!session_id) {
session_id = new Buffer(this.__requestApi__.uuid() + '_' + (new Date).toString() + '_' + Math.random()).toString("base64");
session_id = this.__requestApi__.uuid() + '_' + (new Date).getTime();
this.setCookie(session.getCookieKey(), session_id, session.getExpiredTime());

@@ -314,0 +314,0 @@ }

@@ -97,3 +97,3 @@ "use strict";

// clear old timeout to avoid memory leak
clearTimeout(this.config.storage.get(tKey));
clearTimeout(parseInt(this.config.storage.get(tKey)));
// remove old time key

@@ -110,3 +110,3 @@ this.config.storage.remove(tKey);

// set id value
this.config.storage.set(tKey, id, this.getExpiredTime());
this.config.storage.set(tKey, id.toString(), this.getExpiredTime());
},

@@ -113,0 +113,0 @@ /**

@@ -5,3 +5,3 @@ {

"description": "Powerful lightweight mvc framework for nodejs",
"version": "0.1.0-beta-58",
"version": "0.1.0-beta-59",
"dependencies" : {

@@ -8,0 +8,0 @@ "mongoose": "3.8.x",

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