@digipair/skill-vespa 0.21.13 → 0.21.15
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.cjs.js +10 -6
- package/index.esm.js +10 -6
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -63882,14 +63882,14 @@ function indent(str, spaces) {
|
|
63882
63882
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
63883
63883
|
// match is required
|
63884
63884
|
if (!match) {
|
63885
|
-
return
|
63885
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
63886
63886
|
v: nextMatch1
|
63887
63887
|
};
|
63888
63888
|
}
|
63889
63889
|
var token = match.token, offset = match.offset;
|
63890
63890
|
i1 += offset;
|
63891
63891
|
if (token === " ") {
|
63892
|
-
return
|
63892
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
63893
63893
|
}
|
63894
63894
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
63895
63895
|
token
|
@@ -63908,7 +63908,7 @@ function indent(str, spaces) {
|
|
63908
63908
|
if (contextKeys.some(function(el) {
|
63909
63909
|
return el.startsWith(name);
|
63910
63910
|
})) {
|
63911
|
-
return
|
63911
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
63912
63912
|
}
|
63913
63913
|
if (dateTimeIdentifiers.some(function(el) {
|
63914
63914
|
return el === name;
|
@@ -63927,9 +63927,9 @@ function indent(str, spaces) {
|
|
63927
63927
|
if (dateTimeIdentifiers.some(function(el) {
|
63928
63928
|
return el.startsWith(name);
|
63929
63929
|
})) {
|
63930
|
-
return
|
63930
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
63931
63931
|
}
|
63932
|
-
return
|
63932
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
63933
63933
|
v: nextMatch1
|
63934
63934
|
};
|
63935
63935
|
};
|
@@ -67735,7 +67735,11 @@ const applyTemplate = (value, context)=>{
|
|
67735
67735
|
if (result.startsWith('EVALUATE:')) {
|
67736
67736
|
const path = result.replace(/^EVALUATE:/, '');
|
67737
67737
|
result = evaluate(path, _extends({}, context, {
|
67738
|
-
getTime: (time)=>new Date(time).getTime()
|
67738
|
+
getTime: (time)=>new Date(time).getTime(),
|
67739
|
+
atob: (value)=>atob(value),
|
67740
|
+
btoa: (value)=>btoa(value),
|
67741
|
+
encodeURIComponent: (value)=>encodeURIComponent(value),
|
67742
|
+
decodeURIComponent: (value)=>decodeURIComponent(value)
|
67739
67743
|
}));
|
67740
67744
|
}
|
67741
67745
|
} else if (typeof value === 'object' && Array.isArray(value)) {
|
package/index.esm.js
CHANGED
@@ -63860,14 +63860,14 @@ function indent(str, spaces) {
|
|
63860
63860
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
63861
63861
|
// match is required
|
63862
63862
|
if (!match) {
|
63863
|
-
return
|
63863
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
63864
63864
|
v: nextMatch1
|
63865
63865
|
};
|
63866
63866
|
}
|
63867
63867
|
var token = match.token, offset = match.offset;
|
63868
63868
|
i1 += offset;
|
63869
63869
|
if (token === " ") {
|
63870
|
-
return
|
63870
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
63871
63871
|
}
|
63872
63872
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
63873
63873
|
token
|
@@ -63886,7 +63886,7 @@ function indent(str, spaces) {
|
|
63886
63886
|
if (contextKeys.some(function(el) {
|
63887
63887
|
return el.startsWith(name);
|
63888
63888
|
})) {
|
63889
|
-
return
|
63889
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
63890
63890
|
}
|
63891
63891
|
if (dateTimeIdentifiers.some(function(el) {
|
63892
63892
|
return el === name;
|
@@ -63905,9 +63905,9 @@ function indent(str, spaces) {
|
|
63905
63905
|
if (dateTimeIdentifiers.some(function(el) {
|
63906
63906
|
return el.startsWith(name);
|
63907
63907
|
})) {
|
63908
|
-
return
|
63908
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
63909
63909
|
}
|
63910
|
-
return
|
63910
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
63911
63911
|
v: nextMatch1
|
63912
63912
|
};
|
63913
63913
|
};
|
@@ -67713,7 +67713,11 @@ const applyTemplate = (value, context)=>{
|
|
67713
67713
|
if (result.startsWith('EVALUATE:')) {
|
67714
67714
|
const path = result.replace(/^EVALUATE:/, '');
|
67715
67715
|
result = evaluate(path, _extends({}, context, {
|
67716
|
-
getTime: (time)=>new Date(time).getTime()
|
67716
|
+
getTime: (time)=>new Date(time).getTime(),
|
67717
|
+
atob: (value)=>atob(value),
|
67718
|
+
btoa: (value)=>btoa(value),
|
67719
|
+
encodeURIComponent: (value)=>encodeURIComponent(value),
|
67720
|
+
decodeURIComponent: (value)=>decodeURIComponent(value)
|
67717
67721
|
}));
|
67718
67722
|
}
|
67719
67723
|
} else if (typeof value === 'object' && Array.isArray(value)) {
|