@digipair/skill-kafka 0.143.0 → 0.144.1
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/dist/index.esm.js +10 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -44421,7 +44421,8 @@ const _config = globalInstance.__DIGIPAIR_CONFIG__ = globalInstance.__DIGIPAIR_C
|
|
|
44421
44421
|
LIBRARIES: {},
|
|
44422
44422
|
BASE_URL: 'https://cdn.jsdelivr.net/npm',
|
|
44423
44423
|
ALIAS: [],
|
|
44424
|
-
LOGGER: (level, path, message, context, data)=>{}
|
|
44424
|
+
LOGGER: (level, path, message, context, data)=>{},
|
|
44425
|
+
DIGIPAIR_FUNCTIONS: {}
|
|
44425
44426
|
};
|
|
44426
44427
|
const isRemoteVersion = /^https?:\/\/[^\s/$.?#].[^\s]*$/;
|
|
44427
44428
|
const isPinsSettings = (value)=>{
|
|
@@ -44436,19 +44437,24 @@ const applyTemplate = (value, context)=>{
|
|
|
44436
44437
|
const path = result.replace(/^EVALUATE:/, '');
|
|
44437
44438
|
result = evaluate$1(path, {
|
|
44438
44439
|
...context,
|
|
44439
|
-
...DIGIPAIR_FUNCTIONS
|
|
44440
|
+
...DIGIPAIR_FUNCTIONS,
|
|
44441
|
+
..._config.DIGIPAIR_FUNCTIONS
|
|
44440
44442
|
});
|
|
44441
44443
|
} else if (result.startsWith('FEEL:')) {
|
|
44442
44444
|
const path = result.replace(/^FEEL:/, '');
|
|
44443
44445
|
result = evaluate$1(path, {
|
|
44444
44446
|
...context,
|
|
44445
|
-
...DIGIPAIR_FUNCTIONS
|
|
44447
|
+
...DIGIPAIR_FUNCTIONS,
|
|
44448
|
+
..._config.DIGIPAIR_FUNCTIONS
|
|
44446
44449
|
});
|
|
44447
44450
|
} else if (result.startsWith('CEL:')) {
|
|
44448
44451
|
const path = result.replace(/^CEL:/, '');
|
|
44449
44452
|
result = evaluate(path, {
|
|
44450
44453
|
...context
|
|
44451
|
-
},
|
|
44454
|
+
}, {
|
|
44455
|
+
...DIGIPAIR_FUNCTIONS,
|
|
44456
|
+
..._config.DIGIPAIR_FUNCTIONS
|
|
44457
|
+
});
|
|
44452
44458
|
} else {
|
|
44453
44459
|
const template = Handlebars.compile(value, {
|
|
44454
44460
|
noEscape: true
|