@digipair/skill-vespa 0.41.2 → 0.41.4
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
@@ -75055,11 +75055,12 @@ const applyTemplate = (value, context)=>{
|
|
75055
75055
|
if (typeof value === 'string') {
|
75056
75056
|
if (result.startsWith('NOEVAL:')) {
|
75057
75057
|
result = value.substring(7);
|
75058
|
+
} else {
|
75059
|
+
const template = handlebars_min.exports.compile(value, {
|
75060
|
+
noEscape: true
|
75061
|
+
});
|
75062
|
+
result = template(context);
|
75058
75063
|
}
|
75059
|
-
const template = handlebars_min.exports.compile(value, {
|
75060
|
-
noEscape: true
|
75061
|
-
});
|
75062
|
-
result = template(context);
|
75063
75064
|
if (result.startsWith('EVALUATE:')) {
|
75064
75065
|
const path = result.replace(/^EVALUATE:/, '');
|
75065
75066
|
result = evaluate(path, _extends({}, context, {
|