@digipair/skill-dsp 0.41.1 → 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 +8 -4
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -27349,10 +27349,14 @@ const isPinsSettings = (value)=>{
|
|
|
27349
27349
|
const applyTemplate = (value, context)=>{
|
|
27350
27350
|
let result = value;
|
|
27351
27351
|
if (typeof value === 'string') {
|
|
27352
|
-
|
|
27353
|
-
|
|
27354
|
-
}
|
|
27355
|
-
|
|
27352
|
+
if (result.startsWith('NOEVAL:')) {
|
|
27353
|
+
result = value.substring(7);
|
|
27354
|
+
} else {
|
|
27355
|
+
const template = handlebars_min.exports.compile(value, {
|
|
27356
|
+
noEscape: true
|
|
27357
|
+
});
|
|
27358
|
+
result = template(context);
|
|
27359
|
+
}
|
|
27356
27360
|
if (result.startsWith('EVALUATE:')) {
|
|
27357
27361
|
const path = result.replace(/^EVALUATE:/, '');
|
|
27358
27362
|
result = evaluate(path, _extends({}, context, {
|