af-consul
Advanced tools
Comparing version 3.0.20 to 3.0.22
@@ -27,3 +27,3 @@ "use strict"; | ||
const substitute = (meta, data) => { | ||
const re = /%{([^}]+)}/g; | ||
const re = /%?{([^}]+)}/g; | ||
Object.entries(meta).forEach(([k, v]) => { | ||
@@ -30,0 +30,0 @@ if (typeof v === 'string') { |
@@ -22,3 +22,3 @@ import * as fs from 'fs'; | ||
export const substitute = (meta, data) => { | ||
const re = /%{([^}]+)}/g; | ||
const re = /%?{([^}]+)}/g; | ||
Object.entries(meta).forEach(([k, v]) => { | ||
@@ -25,0 +25,0 @@ if (typeof v === 'string') { |
{ | ||
"name": "af-consul", | ||
"version": "3.0.20", | ||
"version": "3.0.22", | ||
"description": "A highly specialized function library", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/src/index.js", |
@@ -26,3 +26,3 @@ import * as fs from 'fs'; | ||
export const substitute = (meta: object, data: object): void => { | ||
const re = /%{([^}]+)}/g; | ||
const re = /%?{([^}]+)}/g; | ||
Object.entries(meta).forEach(([k, v]) => { | ||
@@ -29,0 +29,0 @@ if (typeof v === 'string') { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
315258