@soulcraft/brainy 0.9.34 → 0.9.35

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/unified.js CHANGED
@@ -2699,8 +2699,8 @@ function areWebWorkersAvailable() {
2699
2699
  function areWorkerThreadsAvailableSync() {
2700
2700
  if (!isNode())
2701
2701
  return false;
2702
- // In Node.js 12+, worker_threads is available without requiring a flag
2703
- return parseInt(process.versions.node.split('.')[0]) >= 12;
2702
+ // In Node.js 24.3.0+, worker_threads is always available
2703
+ return parseInt(process.versions.node.split('.')[0]) >= 24;
2704
2704
  }
2705
2705
  /**
2706
2706
  * Determine if threading is available in the current environment