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

vweb-mvc

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vweb-mvc - npm Package Compare versions

Comparing version 1.0.39 to 1.0.40

6

lib/session/index.js

@@ -19,2 +19,5 @@ "use strict";

};
var uuid = require('uuid');
var defaultConfig = {

@@ -26,3 +29,4 @@ redis: false,

name: 'vweb.sid',
secret: 'vweb.secret'
secret: 'vweb.secret',
genid: uuid.v4
};

@@ -29,0 +33,0 @@ /**

@@ -33,2 +33,3 @@ "use strict";

if (!attributes) session.attributes = {};
this.id = session.id;
this.attributes = new Proxy(session.attributes, {

@@ -35,0 +36,0 @@ set: function set(target, prop, value, proxy) {

5

package.json
{
"name": "vweb-mvc",
"version": "1.0.39",
"version": "1.0.40",
"description": "mvc ",

@@ -47,4 +47,5 @@ "main": "./lib/index",

"http-errors": "latest",
"querystring": "^0.2.1"
"querystring": "^0.2.1",
"uuid": "^8.3.2"
}
}

@@ -9,2 +9,3 @@ const session = require("express-session");

};
let uuid = require('uuid');

@@ -17,3 +18,4 @@ const defaultConfig = {

name: 'vweb.sid',
secret: 'vweb.secret'
secret: 'vweb.secret',
genid: uuid.v4
};

@@ -20,0 +22,0 @@

@@ -14,2 +14,3 @@ const {KEYS, ALL} = {

if (!attributes) session.attributes = {};
this.id = session.id;
this.attributes = new Proxy(session.attributes, {

@@ -44,2 +45,2 @@ set(target, prop, value, proxy) {

export default Wrapper;
export default Wrapper;
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