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

base

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

2

package.json

@@ -6,3 +6,3 @@ {

"keywords": ["framework", "api", "web", "mvc", "extensible", "micro", "connect"],
"version": "0.2.4",
"version": "0.2.5",
"homepage": "http://github.com/antz29/node-base",

@@ -9,0 +9,0 @@ "repository": {

@@ -37,5 +37,7 @@ module.exports = (function() {

var root = path.resolve(path.dirname(process.argv[1]));
console.log("Initializing Base...");
options = _.defaults(opt,{
'root' : path.resolve(path.dirname(process.argv[0])),
'root' : root,
'config' : '/config',

@@ -47,5 +49,5 @@ 'controllers' : '/controllers',

console.log("Loading the configuration in " + options.root + options.config);
configr.setDirectory(options.root + options.config);
console.log("Loading the configuration in " + options.root + options.config);
configr.load(function() {

@@ -52,0 +54,0 @@ twister.addRules(configr.get().routes || []);

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