New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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-55 to 0.1.0-beta-56

19

framework/core/controller.js

@@ -310,2 +310,21 @@ "use strict";

* @author Igor Ivanovic
* @method Controller#removeSession
*
* @description
* Remove session key
* @return {string}
*/
removeSession: function (key) {
var session = component.get('storage/session'),
session_id = this.getCookie(session.getCookieKey());
if (Type.isString(key)) {
return session.remove(session_id + key);
}
throw new error.HttpError(500, {key: key, session_id: session_id}, 'Controller.removeSession: key must be string type');
},
/**
* @since 0.0.1
* @author Igor Ivanovic
* @method Controller#setCookie

@@ -312,0 +331,0 @@ *

2

package.json

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

"description": "Powerful lightweight mvc framework for nodejs",
"version": "0.1.0-beta-55",
"version": "0.1.0-beta-56",
"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