Socket
Socket
Sign inDemoInstall

@ubleipzig/autoconfig

Package Overview
Dependencies
87
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.2.0

3

lib/commands/vufind/deploy.js

@@ -60,3 +60,3 @@ /**

boolean: true,
default: true
default: false
},

@@ -127,2 +127,3 @@ 'skip-config': {

dbName: hashId || dbName,
autoDb: argv.hashId,
dbServer: argv.dbServer,

@@ -129,0 +130,0 @@ args: argv.vf || {},

@@ -291,2 +291,3 @@ /**

function mergeRuntimeConfigs(targetFiles) {
const defaults = {

@@ -308,2 +309,10 @@ 'config.ini': {

const overrides = {};
if (options.autoDb) {
overrides['config.ini'] = {
Database: defaults['config.ini'].Database
};
}
const envVars = nconf.env({

@@ -334,3 +343,3 @@ parseValues: true,

} else {
target[prop] = source[prop];
target[prop] = JSON.parse(JSON.stringify(source[prop]));
}

@@ -343,3 +352,3 @@ }

// the order of precedence (left-to-right)
var result = [args, envVars, targetFiles, settings, defaults].reduceRight(deepExtend, {});
var result = [args, envVars, overrides, targetFiles, settings, defaults].reduceRight(deepExtend, {});
return result;

@@ -346,0 +355,0 @@ });

@@ -56,2 +56,3 @@ /**

try {
dsn = dsn.replace(/^["']+|["']+$/gm,'');
var dbCredentials = url.parse(dsn, true);

@@ -58,0 +59,0 @@

{
"name": "@ubleipzig/autoconfig",
"version": "2.1.1",
"version": "2.2.0",
"description": "generates config for deployed instances",

@@ -5,0 +5,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc