@digipair/skill-keycloak 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 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 tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23526
+ return tokens = tokens1, nextMatch = nextMatch1, 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 tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23533
+ return tokens = tokens1, nextMatch = nextMatch1, 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 tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23552
+ return tokens = tokens1, nextMatch = nextMatch1, 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 tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23571
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23572
23572
  }
23573
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23573
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23574
23574
  v: nextMatch1
23575
23575
  };
23576
23576
  };
@@ -27377,6 +27377,7 @@ const applyTemplate = (value, context)=>{
27377
27377
  const path = result.replace(/^EVALUATE:/, '');
27378
27378
  result = evaluate(path, _extends({}, context, {
27379
27379
  getTime: (time)=>new Date(time).getTime(),
27380
+ fromTime: (time)=>new Date(time).toISOString(),
27380
27381
  atob: (value)=>atob(value),
27381
27382
  btoa: (value)=>btoa(value),
27382
27383
  encodeURIComponent: (value)=>encodeURIComponent(value),
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 i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23497
+ return i = i1, tokens = tokens1, 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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23504
+ return i = i1, tokens = tokens1, 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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23523
+ return i = i1, tokens = tokens1, 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 i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23542
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23543
23543
  }
23544
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23544
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23545
23545
  v: nextMatch1
23546
23546
  };
23547
23547
  };
@@ -27348,6 +27348,7 @@ const applyTemplate = (value, context)=>{
27348
27348
  const path = result.replace(/^EVALUATE:/, '');
27349
27349
  result = evaluate(path, _extends({}, context, {
27350
27350
  getTime: (time)=>new Date(time).getTime(),
27351
+ fromTime: (time)=>new Date(time).toISOString(),
27351
27352
  atob: (value)=>atob(value),
27352
27353
  btoa: (value)=>btoa(value),
27353
27354
  encodeURIComponent: (value)=>encodeURIComponent(value),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.22.1",
3
+ "version": "0.23.2",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"