@digipair/skill-basic 0.41.1 → 0.41.3
Sign up to get free protection for your applications and to get access to all the features.
- package/index.esm.js +8 -4
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -27336,10 +27336,14 @@ const isPinsSettings = (value)=>{
|
|
27336
27336
|
const applyTemplate = (value, context)=>{
|
27337
27337
|
let result = value;
|
27338
27338
|
if (typeof value === 'string') {
|
27339
|
-
|
27340
|
-
|
27341
|
-
}
|
27342
|
-
|
27339
|
+
if (result.startsWith('NOEVAL:')) {
|
27340
|
+
result = value.substring(7);
|
27341
|
+
} else {
|
27342
|
+
const template = handlebars_min.exports.compile(value, {
|
27343
|
+
noEscape: true
|
27344
|
+
});
|
27345
|
+
result = template(context);
|
27346
|
+
}
|
27343
27347
|
if (result.startsWith('EVALUATE:')) {
|
27344
27348
|
const path = result.replace(/^EVALUATE:/, '');
|
27345
27349
|
result = evaluate(path, _extends({}, context, {
|