@digipair/skill-mongodb 0.84.7 → 0.85.0

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 +11 -12
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -23947,14 +23947,14 @@ function indent(str, spaces) {
23947
23947
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23948
23948
  // match is required
23949
23949
  if (!match) {
23950
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
23950
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23951
23951
  v: nextMatch1
23952
23952
  };
23953
23953
  }
23954
23954
  var token = match.token, offset = match.offset;
23955
23955
  i1 += offset;
23956
23956
  if (token === " ") {
23957
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23957
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23958
23958
  }
23959
23959
  tokens1 = _to_consumable_array$c(tokens1).concat([
23960
23960
  token
@@ -23973,7 +23973,7 @@ function indent(str, spaces) {
23973
23973
  if (contextKeys.some(function(el) {
23974
23974
  return el.startsWith(name);
23975
23975
  })) {
23976
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23976
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23977
23977
  }
23978
23978
  if (dateTimeIdentifiers.some(function(el) {
23979
23979
  return el === name;
@@ -23992,9 +23992,9 @@ function indent(str, spaces) {
23992
23992
  if (dateTimeIdentifiers.some(function(el) {
23993
23993
  return el.startsWith(name);
23994
23994
  })) {
23995
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23995
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23996
23996
  }
23997
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
23997
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23998
23998
  v: nextMatch1
23999
23999
  };
24000
24000
  };
@@ -27895,13 +27895,7 @@ const applyTemplate = (value, context)=>{
27895
27895
  if (typeof value === 'string') {
27896
27896
  if (result.startsWith('NOEVAL:')) {
27897
27897
  result = value.substring(7);
27898
- } else {
27899
- const template = handlebars_min.exports.compile(value, {
27900
- noEscape: true
27901
- });
27902
- result = template(context);
27903
- }
27904
- if (result.startsWith('EVALUATE:')) {
27898
+ } else if (result.startsWith('EVALUATE:')) {
27905
27899
  const path = result.replace(/^EVALUATE:/, '');
27906
27900
  result = evaluate(path, _extends$1({}, context, {
27907
27901
  getTime: (time)=>new Date(time).getTime(),
@@ -27912,6 +27906,11 @@ const applyTemplate = (value, context)=>{
27912
27906
  decodeURIComponent: (value)=>decodeURIComponent(value),
27913
27907
  JSONparse: (value)=>JSON.parse(value)
27914
27908
  }));
27909
+ } else {
27910
+ const template = handlebars_min.exports.compile(value, {
27911
+ noEscape: true
27912
+ });
27913
+ result = template(context);
27915
27914
  }
27916
27915
  } else if (typeof value === 'object' && Array.isArray(value)) {
27917
27916
  result = value.map((item)=>isPinsSettings(item) ? item : applyTemplate(item, context));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-mongodb",
3
- "version": "0.84.7",
3
+ "version": "0.85.0",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service",