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

mongodb-rest

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-rest - npm Package Compare versions

Comparing version 0.10.5 to 0.10.6

2

package.json
{
"name": "mongodb-rest",
"description": "REST API Server for MongoDB",
"version": "0.10.5",
"version": "0.10.6",
"author": "Ashley Davis <ashleydavis@insanefx.com>",

@@ -6,0 +6,0 @@ "contributors": [

@@ -41,4 +41,7 @@ /*

startServer: function (config) {
var curDir = process.cwd();
console.log("Current directory: " + curDir);
if (!config) {
var configFilePath = path.join(process.cwd(), "config.json");
var configFilePath = path.join(curDir, "config.json");
if (fs.existsSync(configFilePath)) {

@@ -50,2 +53,4 @@ console.log("Loading configuration from: " + configFilePath);

console.log("Using default configuration.");
console.log("Please put config.json in current directory to customize configuration.");
config = defaultConfig;
}

@@ -52,0 +57,0 @@ }

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