@novely/core 0.31.1 → 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/dist/index.global.js +1 -3
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.global.js
CHANGED
|
@@ -462,12 +462,10 @@ var Novely = (() => {
|
|
|
462
462
|
const next = (i) => queue.slice(i + 1);
|
|
463
463
|
for (const [i, item] of queue.entries()) {
|
|
464
464
|
const [action, ...params] = item;
|
|
465
|
-
if (isUserRequiredAction(item) && !queue.slice(0, i + 1).some((action2) => isUserRequiredAction(action2))) {
|
|
466
|
-
keep.add(action);
|
|
467
|
-
}
|
|
468
465
|
if (options.skip.has(item) && item !== options.skipPreserve) {
|
|
469
466
|
continue;
|
|
470
467
|
}
|
|
468
|
+
keep.add(action);
|
|
471
469
|
if (action === "function" || action === "custom") {
|
|
472
470
|
if (action === "custom" && params[0].callOnlyLatest) {
|
|
473
471
|
const notLatest = next(i).some(([, func]) => {
|