@digipair/skill-vespa 0.32.4 → 0.32.7
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 +7 -9
- package/index.esm.js +7 -9
- 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 nextMatch = nextMatch1, tokens = tokens1, 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 nextMatch = nextMatch1, tokens = tokens1, 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 nextMatch = nextMatch1, tokens = tokens1, 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 nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
63931
63931
|
}
|
63932
|
-
return
|
63932
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
63933
63933
|
v: nextMatch1
|
63934
63934
|
};
|
63935
63935
|
};
|
@@ -67740,7 +67740,8 @@ const applyTemplate = (value, context)=>{
|
|
67740
67740
|
atob: (value)=>atob(value),
|
67741
67741
|
btoa: (value)=>btoa(value),
|
67742
67742
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
67743
|
-
decodeURIComponent: (value)=>decodeURIComponent(value)
|
67743
|
+
decodeURIComponent: (value)=>decodeURIComponent(value),
|
67744
|
+
JSONparse: (value)=>JSON.parse(value)
|
67744
67745
|
}));
|
67745
67746
|
}
|
67746
67747
|
} else if (typeof value === 'object' && Array.isArray(value)) {
|
@@ -67831,9 +67832,6 @@ const preparePinsSettings = async (settings, context)=>{
|
|
67831
67832
|
variables: context.variables || {},
|
67832
67833
|
conditions: context.conditions || {}
|
67833
67834
|
});
|
67834
|
-
for (const [key, value] of Object.entries(settings.variables || {})){
|
67835
|
-
localContext.variables[key] = applyTemplate(value, localContext);
|
67836
|
-
}
|
67837
67835
|
const conditions = {};
|
67838
67836
|
for (const [key, value] of Object.entries(settings.conditions || {})){
|
67839
67837
|
conditions[key] = await applyTemplate(value, localContext);
|
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 tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
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 tokens = tokens1, nextMatch = nextMatch1, i = i1, "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 tokens = tokens1, nextMatch = nextMatch1, i = i1, "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 tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
63909
63909
|
}
|
63910
|
-
return
|
63910
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
63911
63911
|
v: nextMatch1
|
63912
63912
|
};
|
63913
63913
|
};
|
@@ -67718,7 +67718,8 @@ const applyTemplate = (value, context)=>{
|
|
67718
67718
|
atob: (value)=>atob(value),
|
67719
67719
|
btoa: (value)=>btoa(value),
|
67720
67720
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
67721
|
-
decodeURIComponent: (value)=>decodeURIComponent(value)
|
67721
|
+
decodeURIComponent: (value)=>decodeURIComponent(value),
|
67722
|
+
JSONparse: (value)=>JSON.parse(value)
|
67722
67723
|
}));
|
67723
67724
|
}
|
67724
67725
|
} else if (typeof value === 'object' && Array.isArray(value)) {
|
@@ -67809,9 +67810,6 @@ const preparePinsSettings = async (settings, context)=>{
|
|
67809
67810
|
variables: context.variables || {},
|
67810
67811
|
conditions: context.conditions || {}
|
67811
67812
|
});
|
67812
|
-
for (const [key, value] of Object.entries(settings.variables || {})){
|
67813
|
-
localContext.variables[key] = applyTemplate(value, localContext);
|
67814
|
-
}
|
67815
67813
|
const conditions = {};
|
67816
67814
|
for (const [key, value] of Object.entries(settings.conditions || {})){
|
67817
67815
|
conditions[key] = await applyTemplate(value, localContext);
|