@manifest-configuration-language/browser 0.3.6 → 0.3.7
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/mcl.wasm +1 -1
- package/package.json +1 -1
- package/src/index.js +8 -1
package/dist/mcl.wasm
CHANGED
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -144,8 +144,15 @@ export function createMclRuntime(options = {}) {
|
|
|
144
144
|
if (group.size === 0) latestPending.delete(groupKey);
|
|
145
145
|
};
|
|
146
146
|
|
|
147
|
-
if (["render", "evaluate", "check"].includes(operation))
|
|
147
|
+
if (["render", "evaluate", "check"].includes(operation)) {
|
|
148
148
|
supersedePending("lint", priority, "An explicit run replaced this pending lint");
|
|
149
|
+
} else if (priority > requestPriorities.background && operation !== "lint") {
|
|
150
|
+
supersedePending(
|
|
151
|
+
"lint",
|
|
152
|
+
requestPriorities.background,
|
|
153
|
+
"An interactive operation replaced this pending background lint",
|
|
154
|
+
);
|
|
155
|
+
}
|
|
149
156
|
|
|
150
157
|
const queueController = new AbortController();
|
|
151
158
|
const pending = { controller: queueController, started: false };
|