@digipair/skill-kafka 0.142.0 → 0.144.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.
- package/dist/index.esm.js +15 -9
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -22846,14 +22846,14 @@ function indent(str, spaces) {
|
|
|
22846
22846
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
22847
22847
|
// match is required
|
|
22848
22848
|
if (!match) {
|
|
22849
|
-
return
|
|
22849
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
|
22850
22850
|
v: nextMatch1
|
|
22851
22851
|
};
|
|
22852
22852
|
}
|
|
22853
22853
|
var token = match.token, offset = match.offset;
|
|
22854
22854
|
i1 += offset;
|
|
22855
22855
|
if (token === ' ') {
|
|
22856
|
-
return
|
|
22856
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
|
22857
22857
|
}
|
|
22858
22858
|
tokens1 = _to_consumable_array$4$1(tokens1).concat([
|
|
22859
22859
|
token
|
|
@@ -22872,7 +22872,7 @@ function indent(str, spaces) {
|
|
|
22872
22872
|
if (contextKeys.some(function(el) {
|
|
22873
22873
|
return el.startsWith(name);
|
|
22874
22874
|
})) {
|
|
22875
|
-
return
|
|
22875
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
|
22876
22876
|
}
|
|
22877
22877
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22878
22878
|
return el === name;
|
|
@@ -22891,9 +22891,9 @@ function indent(str, spaces) {
|
|
|
22891
22891
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22892
22892
|
return el.startsWith(name);
|
|
22893
22893
|
})) {
|
|
22894
|
-
return
|
|
22894
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
|
22895
22895
|
}
|
|
22896
|
-
return
|
|
22896
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
|
22897
22897
|
v: nextMatch1
|
|
22898
22898
|
};
|
|
22899
22899
|
};
|
|
@@ -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
|