@digipair/skill-keycloak 0.32.4 → 0.32.7
Sign up to get free protection for your applications and to get access to all the features.
- package/index.cjs.js +7 -9
- package/index.esm.js +2 -4
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -23523,14 +23523,14 @@ function indent(str, spaces) {
|
|
23523
23523
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23524
23524
|
// match is required
|
23525
23525
|
if (!match) {
|
23526
|
-
return nextMatch = nextMatch1,
|
23526
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
23527
23527
|
v: nextMatch1
|
23528
23528
|
};
|
23529
23529
|
}
|
23530
23530
|
var token = match.token, offset = match.offset;
|
23531
23531
|
i1 += offset;
|
23532
23532
|
if (token === " ") {
|
23533
|
-
return nextMatch = nextMatch1,
|
23533
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
23534
23534
|
}
|
23535
23535
|
tokens1 = _to_consumable_array$3(tokens1).concat([
|
23536
23536
|
token
|
@@ -23549,7 +23549,7 @@ function indent(str, spaces) {
|
|
23549
23549
|
if (contextKeys.some(function(el) {
|
23550
23550
|
return el.startsWith(name);
|
23551
23551
|
})) {
|
23552
|
-
return nextMatch = nextMatch1,
|
23552
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
23553
23553
|
}
|
23554
23554
|
if (dateTimeIdentifiers.some(function(el) {
|
23555
23555
|
return el === name;
|
@@ -23568,9 +23568,9 @@ function indent(str, spaces) {
|
|
23568
23568
|
if (dateTimeIdentifiers.some(function(el) {
|
23569
23569
|
return el.startsWith(name);
|
23570
23570
|
})) {
|
23571
|
-
return nextMatch = nextMatch1,
|
23571
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
23572
23572
|
}
|
23573
|
-
return nextMatch = nextMatch1,
|
23573
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
23574
23574
|
v: nextMatch1
|
23575
23575
|
};
|
23576
23576
|
};
|
@@ -27381,7 +27381,8 @@ const applyTemplate = (value, context)=>{
|
|
27381
27381
|
atob: (value)=>atob(value),
|
27382
27382
|
btoa: (value)=>btoa(value),
|
27383
27383
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
27384
|
-
decodeURIComponent: (value)=>decodeURIComponent(value)
|
27384
|
+
decodeURIComponent: (value)=>decodeURIComponent(value),
|
27385
|
+
JSONparse: (value)=>JSON.parse(value)
|
27385
27386
|
}));
|
27386
27387
|
}
|
27387
27388
|
} else if (typeof value === 'object' && Array.isArray(value)) {
|
@@ -27472,9 +27473,6 @@ const preparePinsSettings = async (settings, context)=>{
|
|
27472
27473
|
variables: context.variables || {},
|
27473
27474
|
conditions: context.conditions || {}
|
27474
27475
|
});
|
27475
|
-
for (const [key, value] of Object.entries(settings.variables || {})){
|
27476
|
-
localContext.variables[key] = applyTemplate(value, localContext);
|
27477
|
-
}
|
27478
27476
|
const conditions = {};
|
27479
27477
|
for (const [key, value] of Object.entries(settings.conditions || {})){
|
27480
27478
|
conditions[key] = await applyTemplate(value, localContext);
|
package/index.esm.js
CHANGED
@@ -27352,7 +27352,8 @@ const applyTemplate = (value, context)=>{
|
|
27352
27352
|
atob: (value)=>atob(value),
|
27353
27353
|
btoa: (value)=>btoa(value),
|
27354
27354
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
27355
|
-
decodeURIComponent: (value)=>decodeURIComponent(value)
|
27355
|
+
decodeURIComponent: (value)=>decodeURIComponent(value),
|
27356
|
+
JSONparse: (value)=>JSON.parse(value)
|
27356
27357
|
}));
|
27357
27358
|
}
|
27358
27359
|
} else if (typeof value === 'object' && Array.isArray(value)) {
|
@@ -27443,9 +27444,6 @@ const preparePinsSettings = async (settings, context)=>{
|
|
27443
27444
|
variables: context.variables || {},
|
27444
27445
|
conditions: context.conditions || {}
|
27445
27446
|
});
|
27446
|
-
for (const [key, value] of Object.entries(settings.variables || {})){
|
27447
|
-
localContext.variables[key] = applyTemplate(value, localContext);
|
27448
|
-
}
|
27449
27447
|
const conditions = {};
|
27450
27448
|
for (const [key, value] of Object.entries(settings.conditions || {})){
|
27451
27449
|
conditions[key] = await applyTemplate(value, localContext);
|