@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 CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/mcl.wasm
3
3
  size: 96803351 bytes
4
- sha256: 0be9e04fb79c3f19a60cf9e3bd017d1e544db1329a7a9f4b38bb78cb09d9a17e
4
+ sha256: 3a2c487c5fa42c4e0757e6d87edafd0f36b017226737830d95e9d53e444e22c4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manifest-configuration-language/browser",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Run MCL projects in a browser Web Worker using the Go WebAssembly runtime.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
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 };