Comparing version 3.3.0 to 3.3.1
@@ -143,3 +143,3 @@ var __defProp = Object.defineProperty; | ||
} | ||
run(); | ||
batch(run); | ||
return dispose; | ||
@@ -155,2 +155,4 @@ } | ||
function hydrate() { | ||
if (!Quarx.invalidated.size) | ||
return; | ||
++Quarx.sequenceNumber; | ||
@@ -157,0 +159,0 @@ ++Quarx.batchDepth; |
@@ -7,3 +7,3 @@ { | ||
"name": "quarx", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "Simple dependency graph engine, MobX inspired", | ||
@@ -10,0 +10,0 @@ "main": "dist/index.js", |
@@ -139,2 +139,3 @@ const TAG = '@dmaevsky/quarx'; | ||
isRunning = false; | ||
// console.debug(`[Quarx]: Finished ${name}`, Quarx.sequenceNumber); | ||
} | ||
@@ -148,3 +149,3 @@ | ||
run(); | ||
batch(run); | ||
return dispose; | ||
@@ -162,2 +163,4 @@ } | ||
function hydrate() { | ||
if (!Quarx.invalidated.size) return; | ||
++Quarx.sequenceNumber; | ||
@@ -164,0 +167,0 @@ // console.debug(`[Quarx]: Hydration ${Quarx.sequenceNumber}`); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21454
486