@digipair/skill-dsp 0.32.4 → 0.32.6
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 +2 -4
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -23525,14 +23525,14 @@ function indent(str, spaces) {
|
|
|
23525
23525
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23526
23526
|
// match is required
|
|
23527
23527
|
if (!match) {
|
|
23528
|
-
return
|
|
23528
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
|
23529
23529
|
v: nextMatch1
|
|
23530
23530
|
};
|
|
23531
23531
|
}
|
|
23532
23532
|
var token = match.token, offset = match.offset;
|
|
23533
23533
|
i1 += offset;
|
|
23534
23534
|
if (token === " ") {
|
|
23535
|
-
return
|
|
23535
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
23536
23536
|
}
|
|
23537
23537
|
tokens1 = _to_consumable_array$6(tokens1).concat([
|
|
23538
23538
|
token
|
|
@@ -23551,7 +23551,7 @@ function indent(str, spaces) {
|
|
|
23551
23551
|
if (contextKeys.some(function(el) {
|
|
23552
23552
|
return el.startsWith(name);
|
|
23553
23553
|
})) {
|
|
23554
|
-
return
|
|
23554
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
23555
23555
|
}
|
|
23556
23556
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23557
23557
|
return el === name;
|
|
@@ -23570,9 +23570,9 @@ function indent(str, spaces) {
|
|
|
23570
23570
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23571
23571
|
return el.startsWith(name);
|
|
23572
23572
|
})) {
|
|
23573
|
-
return
|
|
23573
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
23574
23574
|
}
|
|
23575
|
-
return
|
|
23575
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
|
23576
23576
|
v: nextMatch1
|
|
23577
23577
|
};
|
|
23578
23578
|
};
|
|
@@ -27383,7 +27383,8 @@ const applyTemplate = (value, context)=>{
|
|
|
27383
27383
|
atob: (value)=>atob(value),
|
|
27384
27384
|
btoa: (value)=>btoa(value),
|
|
27385
27385
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
|
27386
|
-
decodeURIComponent: (value)=>decodeURIComponent(value)
|
|
27386
|
+
decodeURIComponent: (value)=>decodeURIComponent(value),
|
|
27387
|
+
JSONparse: (value)=>JSON.parse(value)
|
|
27387
27388
|
}));
|
|
27388
27389
|
}
|
|
27389
27390
|
} else if (typeof value === 'object' && Array.isArray(value)) {
|
|
@@ -27474,9 +27475,6 @@ const preparePinsSettings = async (settings, context)=>{
|
|
|
27474
27475
|
variables: context.variables || {},
|
|
27475
27476
|
conditions: context.conditions || {}
|
|
27476
27477
|
});
|
|
27477
|
-
for (const [key, value] of Object.entries(settings.variables || {})){
|
|
27478
|
-
localContext.variables[key] = applyTemplate(value, localContext);
|
|
27479
|
-
}
|
|
27480
27478
|
const conditions = {};
|
|
27481
27479
|
for (const [key, value] of Object.entries(settings.conditions || {})){
|
|
27482
27480
|
conditions[key] = await applyTemplate(value, localContext);
|
package/index.esm.js
CHANGED
|
@@ -27357,7 +27357,8 @@ const applyTemplate = (value, context)=>{
|
|
|
27357
27357
|
atob: (value)=>atob(value),
|
|
27358
27358
|
btoa: (value)=>btoa(value),
|
|
27359
27359
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
|
27360
|
-
decodeURIComponent: (value)=>decodeURIComponent(value)
|
|
27360
|
+
decodeURIComponent: (value)=>decodeURIComponent(value),
|
|
27361
|
+
JSONparse: (value)=>JSON.parse(value)
|
|
27361
27362
|
}));
|
|
27362
27363
|
}
|
|
27363
27364
|
} else if (typeof value === 'object' && Array.isArray(value)) {
|
|
@@ -27448,9 +27449,6 @@ const preparePinsSettings = async (settings, context)=>{
|
|
|
27448
27449
|
variables: context.variables || {},
|
|
27449
27450
|
conditions: context.conditions || {}
|
|
27450
27451
|
});
|
|
27451
|
-
for (const [key, value] of Object.entries(settings.variables || {})){
|
|
27452
|
-
localContext.variables[key] = applyTemplate(value, localContext);
|
|
27453
|
-
}
|
|
27454
27452
|
const conditions = {};
|
|
27455
27453
|
for (const [key, value] of Object.entries(settings.conditions || {})){
|
|
27456
27454
|
conditions[key] = await applyTemplate(value, localContext);
|