@digipair/skill-canvas 0.31.0 → 0.31.2
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 -12
- package/index.esm.js +0 -7
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -23513,14 +23513,14 @@ function indent(str, spaces) {
|
|
23513
23513
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23514
23514
|
// match is required
|
23515
23515
|
if (!match) {
|
23516
|
-
return
|
23516
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
23517
23517
|
v: nextMatch1
|
23518
23518
|
};
|
23519
23519
|
}
|
23520
23520
|
var token = match.token, offset = match.offset;
|
23521
23521
|
i1 += offset;
|
23522
23522
|
if (token === " ") {
|
23523
|
-
return
|
23523
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23524
23524
|
}
|
23525
23525
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
23526
23526
|
token
|
@@ -23539,7 +23539,7 @@ function indent(str, spaces) {
|
|
23539
23539
|
if (contextKeys.some(function(el) {
|
23540
23540
|
return el.startsWith(name);
|
23541
23541
|
})) {
|
23542
|
-
return
|
23542
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23543
23543
|
}
|
23544
23544
|
if (dateTimeIdentifiers.some(function(el) {
|
23545
23545
|
return el === name;
|
@@ -23558,9 +23558,9 @@ function indent(str, spaces) {
|
|
23558
23558
|
if (dateTimeIdentifiers.some(function(el) {
|
23559
23559
|
return el.startsWith(name);
|
23560
23560
|
})) {
|
23561
|
-
return
|
23561
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23562
23562
|
}
|
23563
|
-
return
|
23563
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
23564
23564
|
v: nextMatch1
|
23565
23565
|
};
|
23566
23566
|
};
|
@@ -27436,17 +27436,14 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
27436
27436
|
};
|
27437
27437
|
const executePinsList = async (pinsSettingsList, context)=>{
|
27438
27438
|
let previous = {};
|
27439
|
-
const steps = [];
|
27440
27439
|
// parcourir tous les pins
|
27441
27440
|
for(let i = 0; i < pinsSettingsList.length; i++){
|
27442
27441
|
const settings = pinsSettingsList[i];
|
27443
27442
|
try {
|
27444
27443
|
previous = await executePins(settings, _extends({}, context, {
|
27445
27444
|
previous,
|
27446
|
-
steps,
|
27447
27445
|
parent: {
|
27448
27446
|
previous: context.previous,
|
27449
|
-
steps: context.steps,
|
27450
27447
|
parent: context.parent
|
27451
27448
|
}
|
27452
27449
|
}));
|
@@ -27456,10 +27453,6 @@ const executePinsList = async (pinsSettingsList, context)=>{
|
|
27456
27453
|
}
|
27457
27454
|
throw error;
|
27458
27455
|
}
|
27459
|
-
steps[i] = {
|
27460
|
-
name: settings.name,
|
27461
|
-
result: previous
|
27462
|
-
};
|
27463
27456
|
}
|
27464
27457
|
return previous;
|
27465
27458
|
};
|
package/index.esm.js
CHANGED
@@ -27414,17 +27414,14 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
27414
27414
|
};
|
27415
27415
|
const executePinsList = async (pinsSettingsList, context)=>{
|
27416
27416
|
let previous = {};
|
27417
|
-
const steps = [];
|
27418
27417
|
// parcourir tous les pins
|
27419
27418
|
for(let i = 0; i < pinsSettingsList.length; i++){
|
27420
27419
|
const settings = pinsSettingsList[i];
|
27421
27420
|
try {
|
27422
27421
|
previous = await executePins(settings, _extends({}, context, {
|
27423
27422
|
previous,
|
27424
|
-
steps,
|
27425
27423
|
parent: {
|
27426
27424
|
previous: context.previous,
|
27427
|
-
steps: context.steps,
|
27428
27425
|
parent: context.parent
|
27429
27426
|
}
|
27430
27427
|
}));
|
@@ -27434,10 +27431,6 @@ const executePinsList = async (pinsSettingsList, context)=>{
|
|
27434
27431
|
}
|
27435
27432
|
throw error;
|
27436
27433
|
}
|
27437
|
-
steps[i] = {
|
27438
|
-
name: settings.name,
|
27439
|
-
result: previous
|
27440
|
-
};
|
27441
27434
|
}
|
27442
27435
|
return previous;
|
27443
27436
|
};
|