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

express-scaffold

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-scaffold - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "express-scaffold",
"version": "0.2.0",
"version": "0.2.1",
"description": "a simple but sexy MVC wrapper of Express",

@@ -5,0 +5,0 @@ "logo":"http://ww3.sinaimg.cn/large/61ff0de3jw1e91jmudlz8j201o01o0sj.jpg",

@@ -19,4 +19,5 @@ var http = require('http'),

var app = express(),
settings = _.extend(defaults, configs);
settings = _.extend(_.clone(defaults), configs);
if (!settings.session.secret) settings.session.secret = defaults.session.secret;
if (settings.database) json.save(path.join(__dirname, '/configs/database.json'), settings.database);

@@ -23,0 +24,0 @@ if (settings.session.store) settings.session.store = new mongoStore({ db: settings.session.secret });

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