@digipair/skill-mongodb 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
@@ -23531,14 +23531,14 @@ function indent(str, spaces) {
23531
23531
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23532
23532
  // match is required
23533
23533
  if (!match) {
23534
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23534
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23535
23535
  v: nextMatch1
23536
23536
  };
23537
23537
  }
23538
23538
  var token = match.token, offset = match.offset;
23539
23539
  i1 += offset;
23540
23540
  if (token === " ") {
23541
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23541
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23542
23542
  }
23543
23543
  tokens1 = _to_consumable_array$a(tokens1).concat([
23544
23544
  token
@@ -23557,7 +23557,7 @@ function indent(str, spaces) {
23557
23557
  if (contextKeys.some(function(el) {
23558
23558
  return el.startsWith(name);
23559
23559
  })) {
23560
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23560
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23561
23561
  }
23562
23562
  if (dateTimeIdentifiers.some(function(el) {
23563
23563
  return el === name;
@@ -23576,9 +23576,9 @@ function indent(str, spaces) {
23576
23576
  if (dateTimeIdentifiers.some(function(el) {
23577
23577
  return el.startsWith(name);
23578
23578
  })) {
23579
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23579
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23580
23580
  }
23581
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23581
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23582
23582
  v: nextMatch1
23583
23583
  };
23584
23584
  };
@@ -27380,11 +27380,12 @@ const applyTemplate = (value, context)=>{
27380
27380
  if (typeof value === 'string') {
27381
27381
  if (result.startsWith('NOEVAL:')) {
27382
27382
  result = value.substring(7);
27383
+ } else {
27384
+ const template = handlebars_min.exports.compile(value, {
27385
+ noEscape: true
27386
+ });
27387
+ result = template(context);
27383
27388
  }
27384
- const template = handlebars_min.exports.compile(value, {
27385
- noEscape: true
27386
- });
27387
- result = template(context);
27388
27389
  if (result.startsWith('EVALUATE:')) {
27389
27390
  const path = result.replace(/^EVALUATE:/, '');
27390
27391
  result = evaluate(path, _extends$1({}, context, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-mongodb",
3
- "version": "0.41.2",
3
+ "version": "0.41.3",
4
4
  "dependencies": {
5
5
  "mongodb": "^6.10.0"
6
6
  },