Comparing version 1.0.0 to 1.1.0
{ | ||
"listenPort": "{{PORT}}", | ||
"listenPort": "{{ PORT }}", | ||
"apiPath": "https://{{DOMAIN}}:{{PORT}}/api/v1", | ||
@@ -4,0 +4,0 @@ "staticUrl": "https://{{DOMAIN}}:{{PORT}}/static", |
{ | ||
"name": "confme", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Opinionated config library that allows you to have complex config and behaves according to Twelve Factor App rules", | ||
@@ -46,3 +46,3 @@ "main": "src/confme.js", | ||
"json5": "^2.1.3", | ||
"livr": "^2.2.4", | ||
"livr": "^2.3.1", | ||
"livr-extra-rules": "^1.2.1" | ||
@@ -49,0 +49,0 @@ }, |
@@ -48,3 +48,3 @@ require("dotenv-defaults").config(); | ||
function replace(template, vars) { | ||
return template.replace(/\{\{(.+?)\}\}/g, (match, p1) => { | ||
return template.replace(/\{\{\s*(.+?)\s*\}\}/g, (match, p1) => { | ||
if (vars.hasOwnProperty(p1)) { | ||
@@ -51,0 +51,0 @@ return vars[p1]; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10327
Updatedlivr@^2.3.1