@digipair/skill-mongodb 0.41.1 → 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.
package/index.esm.js
CHANGED
|
@@ -27378,10 +27378,14 @@ const isPinsSettings = (value)=>{
|
|
|
27378
27378
|
const applyTemplate = (value, context)=>{
|
|
27379
27379
|
let result = value;
|
|
27380
27380
|
if (typeof value === 'string') {
|
|
27381
|
-
|
|
27382
|
-
|
|
27383
|
-
}
|
|
27384
|
-
|
|
27381
|
+
if (result.startsWith('NOEVAL:')) {
|
|
27382
|
+
result = value.substring(7);
|
|
27383
|
+
} else {
|
|
27384
|
+
const template = handlebars_min.exports.compile(value, {
|
|
27385
|
+
noEscape: true
|
|
27386
|
+
});
|
|
27387
|
+
result = template(context);
|
|
27388
|
+
}
|
|
27385
27389
|
if (result.startsWith('EVALUATE:')) {
|
|
27386
27390
|
const path = result.replace(/^EVALUATE:/, '');
|
|
27387
27391
|
result = evaluate(path, _extends$1({}, context, {
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|