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

kazana-config

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kazana-config - npm Package Compare versions

Comparing version 4.0.0 to 5.0.0

3

index.js

@@ -18,7 +18,6 @@ module.exports = getConfig

function getConfig (main) {
var name = main.name
var plugins = getPluginDefaults(main)
_.merge(defaults, main.config, {plugin: plugins})
return module.exports.rc(name, defaults)
return module.exports.rc('kazana', defaults)
}

@@ -14,5 +14,5 @@ module.exports = {

// location option as it gets passed to levelup https://github.com/Level/levelup#leveluplocation-options-callback
// If KAZANA_BACKEND_NAME="couchdb", set the couchdb url without credententials, e.g. "https://my.couch.com"
// If backend.name="couchdb", set the couchdb url without credententials, e.g. "https://my.couch.com"
location: './.db/',
// Does not apply if KAZANA_BACKEND_NAME="couchdb"
// Does not apply if backend.name="couchdb"
log: {

@@ -22,3 +22,3 @@ file: './.db/pouch.log',

},
// Does not apply if KAZANA_BACKEND_NAME="couchdb"
// Does not apply if backend.name="couchdb"
config: {

@@ -25,0 +25,0 @@ file: './.db/config.json'

@@ -40,11 +40,11 @@ {

"gh-pages-deploy": "^0.3.0",
"istanbul": "^0.3.17",
"istanbul": "^0.3.18",
"istanbul-coveralls": "^1.0.3",
"rimraf": "^2.4.2",
"semantic-release": "^4.0.3",
"semantic-release": "^4.3.4",
"standard": "^5.1.0",
"tap-spec": "^4.0.2",
"tape": "^4.1.0"
"tap-spec": "^4.1.0",
"tape": "^4.2.0"
},
"version": "4.0.0"
"version": "5.0.0"
}

@@ -6,2 +6,3 @@ # kazana-config

[![NPM version](https://badge.fury.io/js/kazana-config.svg)](https://www.npmjs.com/package/kazana-config)
[![Dependency Status](https://david-dm.org/eHealthAfrica/kazana-config.svg)](https://david-dm.org/eHealthAfrica/kazana-config)
[![Build Status](https://travis-ci.org/eHealthAfrica/kazana-config.svg?branch=master)](https://travis-ci.org/eHealthAfrica/kazana-config)

@@ -61,3 +62,2 @@ [![Coverage Status](https://coveralls.io/repos/eHealthAfrica/kazana-config/badge.svg?branch=master)](https://coveralls.io/r/eHealthAfrica/kazana-config?branch=master)

<th>Setting Path</th>
<th>Description</th>
<th>Default / Example</th>

@@ -68,3 +68,3 @@ </tr>

<tr>
<td colspan="2">
<td>
<strong>port</strong>

@@ -75,3 +75,3 @@ </td>

<tr>
<td colspan="2">
<td>
<strong>backend.port</strong>

@@ -83,5 +83,3 @@ </td>

<td>
<strong>admin.username</strong>
</td>
<td>
<strong>admin.username</strong><br>
Database admin username

@@ -93,5 +91,3 @@ </td>

<td>
<strong>admin.password</strong>
</td>
<td>
<strong>admin.password</strong><br>
Database admin password

@@ -103,5 +99,3 @@ </td>

<td>
<strong>backend.name</strong>
</td>
<td>
<strong>backend.name</strong><br>
When undefined, defaults to pouchdb-server's built-in "leveldown". Can be set to "couchdb" or any levelup storage back-ends: https://github.com/Level/levelup/wiki/Modules#storage-back-ends

@@ -113,7 +107,6 @@ </td>

<td>
<strong>backendLocation</strong>
<strong>backend.location</strong><br>
Location option as it gets passed to levelup https://github.com/Level/levelup#leveluplocation-options-callback
If backend.name="couchdb", set the couchdb url without credententials, e.g. "https://my.couch.com"
</td>
<td>
Location option as it gets passed to levelup https://github.com/Level/levelup#leveluplocation-options-callback If KAZANA_BACKEND_NAME="couchdb", set the couchdb url without credententials, e.g. "https://my.couch.com"
</td>
<td><code>./.db</code></td>

@@ -123,7 +116,5 @@ </tr>

<td>
<strong>backend.log.file</strong>
<strong>backend.log.file</strong><br>
Does not apply if backend.name="couchdb"
</td>
<td>
Does not apply if KAZANA_BACKEND_NAME="couchdb"
</td>
<td><code>./.db/pouch.log</code></td>

@@ -133,7 +124,5 @@ </tr>

<td>
<strong>backend.log.level</strong>
<strong>backend.log.level</strong><br>
Does not apply if backend.name="couchdb"
</td>
<td>
Does not apply if KAZANA_BACKEND_NAME="couchdb"
</td>
<td><code>info</code></td>

@@ -143,7 +132,5 @@ </tr>

<td>
<strong>backend.config.file</strong>
<strong>backend.config.file</strong><br>
Does not apply if backend.name="couchdb"
</td>
<td>
Does not apply if KAZANA_BACKEND_NAME="couchdb"
</td>
<td><code>./.db/config.json</code></td>

@@ -153,5 +140,3 @@ </tr>

<td>
<strong>db.rawData</strong>
</td>
<td>
<strong>db.rawData</strong><br>
Name of database containing submitted raw data

@@ -163,5 +148,3 @@ </td>

<td>
<strong>db.integratedData</strong>
</td>
<td>
<strong>db.integratedData</strong><br>
Name of database containing integrated data

@@ -173,5 +156,3 @@ </td>

<td>
<strong>emailService</strong>
</td>
<td>
<strong>email.service</strong><br>
Nodemailer Email Service

@@ -183,5 +164,3 @@ </td>

<td>
<strong>email.auth.username</strong>
</td>
<td>
<strong>email.auth.username</strong><br>
Nodemailer Email Service Username

@@ -193,5 +172,3 @@ </td>

<td>
<strong>email.auth.password</strong>
</td>
<td>
<strong>email.auth.password</strong><br>
Nodemailer Email Service Password

@@ -216,3 +193,2 @@ </td>

[![Dependency Status](https://david-dm.org/eHealthAfrica/kazana-config.svg)](https://david-dm.org/eHealthAfrica/kazana-config)
[![devDependency Status](https://david-dm.org/eHealthAfrica/kazana-config/dev-status.svg)](https://david-dm.org/eHealthAfrica/kazana-config#info=devDependencies)

@@ -219,0 +195,0 @@

@@ -27,3 +27,3 @@ var test = require('tape')

t.is(getConfig(kazanaApp).foo, 'bar', 'parses app.config')
t.is(rcName, 'myapp', 'passes main name to rc')
t.is(rcName, 'kazana', 'passes "kazana" as name to rc')
t.end()

@@ -34,4 +34,4 @@ })

t.is(getConfig(kazanaApp).plugin.myplugin.foo, 'baz', 'parses app.plugins configs')
t.is(rcName, 'myapp', 'passes main name to rc')
t.is(rcName, 'kazana', 'passes "kazana" as name to rc')
t.end()
})
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