@digipair/skill-factory 0.41.2 → 0.41.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +5 -4
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -27338,11 +27338,12 @@ const applyTemplate = (value, context)=>{
|
|
|
27338
27338
|
if (typeof value === 'string') {
|
|
27339
27339
|
if (result.startsWith('NOEVAL:')) {
|
|
27340
27340
|
result = value.substring(7);
|
|
27341
|
+
} else {
|
|
27342
|
+
const template = handlebars_min.exports.compile(value, {
|
|
27343
|
+
noEscape: true
|
|
27344
|
+
});
|
|
27345
|
+
result = template(context);
|
|
27341
27346
|
}
|
|
27342
|
-
const template = handlebars_min.exports.compile(value, {
|
|
27343
|
-
noEscape: true
|
|
27344
|
-
});
|
|
27345
|
-
result = template(context);
|
|
27346
27347
|
if (result.startsWith('EVALUATE:')) {
|
|
27347
27348
|
const path = result.replace(/^EVALUATE:/, '');
|
|
27348
27349
|
result = evaluate(path, _extends({}, context, {
|