@digipair/engine 0.8.10 → 0.8.11
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 +5 -2
- package/index.esm.js +10 -7
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -27424,8 +27424,11 @@ const executePinsList = async (pinsSettingsList, context, options = {
|
|
27424
27424
|
for(let i = 0; i < pinsSettingsList.length; i++){
|
27425
27425
|
var _settings_conditions;
|
27426
27426
|
const settings = pinsSettingsList[i];
|
27427
|
-
if (typeof ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.if) !== 'undefined'
|
27428
|
-
|
27427
|
+
if (typeof ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.if) !== 'undefined') {
|
27428
|
+
const preparedSettings = await preparePinsSettings(settings, context);
|
27429
|
+
if (!preparedSettings.conditions.if) {
|
27430
|
+
continue;
|
27431
|
+
}
|
27429
27432
|
}
|
27430
27433
|
previous = await executePins(settings, _extends({}, context, {
|
27431
27434
|
previous,
|
package/index.esm.js
CHANGED
@@ -23488,14 +23488,14 @@ function indent(str, spaces) {
|
|
23488
23488
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23489
23489
|
// match is required
|
23490
23490
|
if (!match) {
|
23491
|
-
return
|
23491
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
23492
23492
|
v: nextMatch1
|
23493
23493
|
};
|
23494
23494
|
}
|
23495
23495
|
var token = match.token, offset = match.offset;
|
23496
23496
|
i1 += offset;
|
23497
23497
|
if (token === " ") {
|
23498
|
-
return
|
23498
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
23499
23499
|
}
|
23500
23500
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
23501
23501
|
token
|
@@ -23514,7 +23514,7 @@ function indent(str, spaces) {
|
|
23514
23514
|
if (contextKeys.some(function(el) {
|
23515
23515
|
return el.startsWith(name);
|
23516
23516
|
})) {
|
23517
|
-
return
|
23517
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
23518
23518
|
}
|
23519
23519
|
if (dateTimeIdentifiers.some(function(el) {
|
23520
23520
|
return el === name;
|
@@ -23533,9 +23533,9 @@ function indent(str, spaces) {
|
|
23533
23533
|
if (dateTimeIdentifiers.some(function(el) {
|
23534
23534
|
return el.startsWith(name);
|
23535
23535
|
})) {
|
23536
|
-
return
|
23536
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
23537
23537
|
}
|
23538
|
-
return
|
23538
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
23539
23539
|
v: nextMatch1
|
23540
23540
|
};
|
23541
23541
|
};
|
@@ -27402,8 +27402,11 @@ const executePinsList = async (pinsSettingsList, context, options = {
|
|
27402
27402
|
for(let i = 0; i < pinsSettingsList.length; i++){
|
27403
27403
|
var _settings_conditions;
|
27404
27404
|
const settings = pinsSettingsList[i];
|
27405
|
-
if (typeof ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.if) !== 'undefined'
|
27406
|
-
|
27405
|
+
if (typeof ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.if) !== 'undefined') {
|
27406
|
+
const preparedSettings = await preparePinsSettings(settings, context);
|
27407
|
+
if (!preparedSettings.conditions.if) {
|
27408
|
+
continue;
|
27409
|
+
}
|
27407
27410
|
}
|
27408
27411
|
previous = await executePins(settings, _extends({}, context, {
|
27409
27412
|
previous,
|