@digipair/skill-html 0.71.2 → 0.71.4
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.cjs.js +3 -2
- package/index.esm.js +8 -7
- package/libs/engine/src/lib/engine.d.ts +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -27949,7 +27949,6 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
27949
27949
|
}
|
|
27950
27950
|
results.push(itemResult);
|
|
27951
27951
|
}
|
|
27952
|
-
_config.LOGGER('INFO', context.__PATH__, 'execute:end', context, results);
|
|
27953
27952
|
return results;
|
|
27954
27953
|
}
|
|
27955
27954
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
|
@@ -27960,7 +27959,9 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
27960
27959
|
if (!pins) {
|
|
27961
27960
|
throw new Error(`Element ${settings.element} not found in library ${settings.library}`);
|
|
27962
27961
|
}
|
|
27963
|
-
|
|
27962
|
+
const result = await pins(settings.properties, settings.pins, context);
|
|
27963
|
+
_config.LOGGER('INFO', context.__PATH__, 'execute:end', context, result);
|
|
27964
|
+
return result;
|
|
27964
27965
|
};
|
|
27965
27966
|
const executePinsList = async (pinsSettingsList, context, path = 'root')=>{
|
|
27966
27967
|
let previous = {};
|
package/index.esm.js
CHANGED
|
@@ -23901,14 +23901,14 @@ function indent(str, spaces) {
|
|
|
23901
23901
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23902
23902
|
// match is required
|
|
23903
23903
|
if (!match) {
|
|
23904
|
-
return
|
|
23904
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23905
23905
|
v: nextMatch1
|
|
23906
23906
|
};
|
|
23907
23907
|
}
|
|
23908
23908
|
var token = match.token, offset = match.offset;
|
|
23909
23909
|
i1 += offset;
|
|
23910
23910
|
if (token === " ") {
|
|
23911
|
-
return
|
|
23911
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23912
23912
|
}
|
|
23913
23913
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
|
23914
23914
|
token
|
|
@@ -23927,7 +23927,7 @@ function indent(str, spaces) {
|
|
|
23927
23927
|
if (contextKeys.some(function(el) {
|
|
23928
23928
|
return el.startsWith(name);
|
|
23929
23929
|
})) {
|
|
23930
|
-
return
|
|
23930
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23931
23931
|
}
|
|
23932
23932
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23933
23933
|
return el === name;
|
|
@@ -23946,9 +23946,9 @@ function indent(str, spaces) {
|
|
|
23946
23946
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23947
23947
|
return el.startsWith(name);
|
|
23948
23948
|
})) {
|
|
23949
|
-
return
|
|
23949
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23950
23950
|
}
|
|
23951
|
-
return
|
|
23951
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23952
23952
|
v: nextMatch1
|
|
23953
23953
|
};
|
|
23954
23954
|
};
|
|
@@ -27927,7 +27927,6 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
27927
27927
|
}
|
|
27928
27928
|
results.push(itemResult);
|
|
27929
27929
|
}
|
|
27930
|
-
_config.LOGGER('INFO', context.__PATH__, 'execute:end', context, results);
|
|
27931
27930
|
return results;
|
|
27932
27931
|
}
|
|
27933
27932
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
|
@@ -27938,7 +27937,9 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
27938
27937
|
if (!pins) {
|
|
27939
27938
|
throw new Error(`Element ${settings.element} not found in library ${settings.library}`);
|
|
27940
27939
|
}
|
|
27941
|
-
|
|
27940
|
+
const result = await pins(settings.properties, settings.pins, context);
|
|
27941
|
+
_config.LOGGER('INFO', context.__PATH__, 'execute:end', context, result);
|
|
27942
|
+
return result;
|
|
27942
27943
|
};
|
|
27943
27944
|
const executePinsList = async (pinsSettingsList, context, path = 'root')=>{
|
|
27944
27945
|
let previous = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PinsSettings } from './pins-settings.interface';
|
|
2
|
-
type CONFIG_KEY = 'BASE_URL' | 'LIBRARIES' | 'ALIAS';
|
|
2
|
+
type CONFIG_KEY = 'BASE_URL' | 'LIBRARIES' | 'ALIAS' | 'LOGGER';
|
|
3
3
|
export declare const config: {
|
|
4
4
|
set: (key: CONFIG_KEY, value: any) => void;
|
|
5
5
|
log: (level: string, path: string, message: string, context: any, data?: any) => any;
|