@digipair/skill-vespa 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 +10 -9
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -71206,14 +71206,14 @@ function indent(str, spaces) {
|
|
71206
71206
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
71207
71207
|
// match is required
|
71208
71208
|
if (!match) {
|
71209
|
-
return
|
71209
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
71210
71210
|
v: nextMatch1
|
71211
71211
|
};
|
71212
71212
|
}
|
71213
71213
|
var token = match.token, offset = match.offset;
|
71214
71214
|
i1 += offset;
|
71215
71215
|
if (token === " ") {
|
71216
|
-
return
|
71216
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
71217
71217
|
}
|
71218
71218
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
71219
71219
|
token
|
@@ -71232,7 +71232,7 @@ function indent(str, spaces) {
|
|
71232
71232
|
if (contextKeys.some(function(el) {
|
71233
71233
|
return el.startsWith(name);
|
71234
71234
|
})) {
|
71235
|
-
return
|
71235
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
71236
71236
|
}
|
71237
71237
|
if (dateTimeIdentifiers.some(function(el) {
|
71238
71238
|
return el === name;
|
@@ -71251,9 +71251,9 @@ function indent(str, spaces) {
|
|
71251
71251
|
if (dateTimeIdentifiers.some(function(el) {
|
71252
71252
|
return el.startsWith(name);
|
71253
71253
|
})) {
|
71254
|
-
return
|
71254
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
71255
71255
|
}
|
71256
|
-
return
|
71256
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
71257
71257
|
v: nextMatch1
|
71258
71258
|
};
|
71259
71259
|
};
|
@@ -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, {
|