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-16 to 0.1.0-beta-17

20

framework/bootstrap.js

@@ -15,3 +15,4 @@ "use strict";

initalized: Type.BOOLEAN,
listenPort: Type.NUMBER
listenPort: Type.NUMBER,
listenHost: Type.STRING
}, {

@@ -31,2 +32,4 @@ /**

this.listenPort = 8080;
this.listenHost = "127.0.0.1";
},

@@ -177,3 +180,3 @@ /**

// this must be last !
server.listen(this.listenPort);
server.listen(this.listenPort, this.listenHost);
// logger

@@ -187,2 +190,15 @@ logger.print(env);

* @author Igor Ivanovic
* @method Bootstrap#setListenHost
*
* @description
* Set listen host
*/
setListenHost: function Bootstrap_setListenHost(host) {
if (Type.isString(host)) {
this.listenHost = host;
}
},
/**
* @since 0.0.1
* @author Igor Ivanovic
* @method Bootstrap#setListenPort

@@ -189,0 +205,0 @@ *

2

package.json

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

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