@digipair/skill-vespa 0.22.1 → 0.23.2
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 +6 -5
- package/index.esm.js +1 -0
- 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 i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
63931
63931
|
}
|
63932
|
-
return
|
63932
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
63933
63933
|
v: nextMatch1
|
63934
63934
|
};
|
63935
63935
|
};
|
@@ -67736,6 +67736,7 @@ const applyTemplate = (value, context)=>{
|
|
67736
67736
|
const path = result.replace(/^EVALUATE:/, '');
|
67737
67737
|
result = evaluate(path, _extends({}, context, {
|
67738
67738
|
getTime: (time)=>new Date(time).getTime(),
|
67739
|
+
fromTime: (time)=>new Date(time).toISOString(),
|
67739
67740
|
atob: (value)=>atob(value),
|
67740
67741
|
btoa: (value)=>btoa(value),
|
67741
67742
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
package/index.esm.js
CHANGED
@@ -67714,6 +67714,7 @@ const applyTemplate = (value, context)=>{
|
|
67714
67714
|
const path = result.replace(/^EVALUATE:/, '');
|
67715
67715
|
result = evaluate(path, _extends({}, context, {
|
67716
67716
|
getTime: (time)=>new Date(time).getTime(),
|
67717
|
+
fromTime: (time)=>new Date(time).toISOString(),
|
67717
67718
|
atob: (value)=>atob(value),
|
67718
67719
|
btoa: (value)=>btoa(value),
|
67719
67720
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|