@digipair/skill-keycloak 0.41.2 → 0.41.3

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.
Files changed (2) hide show
  1. package/index.esm.js +10 -9
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -23494,14 +23494,14 @@ function indent(str, spaces) {
23494
23494
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23495
23495
  // match is required
23496
23496
  if (!match) {
23497
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23497
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23498
23498
  v: nextMatch1
23499
23499
  };
23500
23500
  }
23501
23501
  var token = match.token, offset = match.offset;
23502
23502
  i1 += offset;
23503
23503
  if (token === " ") {
23504
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23504
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23505
23505
  }
23506
23506
  tokens1 = _to_consumable_array$3(tokens1).concat([
23507
23507
  token
@@ -23520,7 +23520,7 @@ function indent(str, spaces) {
23520
23520
  if (contextKeys.some(function(el) {
23521
23521
  return el.startsWith(name);
23522
23522
  })) {
23523
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23523
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23524
23524
  }
23525
23525
  if (dateTimeIdentifiers.some(function(el) {
23526
23526
  return el === name;
@@ -23539,9 +23539,9 @@ function indent(str, spaces) {
23539
23539
  if (dateTimeIdentifiers.some(function(el) {
23540
23540
  return el.startsWith(name);
23541
23541
  })) {
23542
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23542
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23543
23543
  }
23544
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23544
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23545
23545
  v: nextMatch1
23546
23546
  };
23547
23547
  };
@@ -27343,11 +27343,12 @@ const applyTemplate = (value, context)=>{
27343
27343
  if (typeof value === 'string') {
27344
27344
  if (result.startsWith('NOEVAL:')) {
27345
27345
  result = value.substring(7);
27346
+ } else {
27347
+ const template = handlebars_min.exports.compile(value, {
27348
+ noEscape: true
27349
+ });
27350
+ result = template(context);
27346
27351
  }
27347
- const template = handlebars_min.exports.compile(value, {
27348
- noEscape: true
27349
- });
27350
- result = template(context);
27351
27352
  if (result.startsWith('EVALUATE:')) {
27352
27353
  const path = result.replace(/^EVALUATE:/, '');
27353
27354
  result = evaluate(path, _extends({}, context, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.41.2",
3
+ "version": "0.41.3",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"