@soulcraft/brainy 0.9.34 → 0.9.36

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/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [0.9.34] - 2024-07-01
6
+
7
+ This is the initial changelog entry. Future releases will automatically update this file with release notes from GitHub.
8
+
9
+ ### Added
10
+ - Auto-generation of release notes for GitHub releases
11
+ - Auto-updating of CHANGELOG.md files for both main and CLI packages
12
+ - Display of release notes on npmjs.com through the CHANGELOG.md files
13
+
14
+ ### Changed
15
+ - Modified deployment scripts to ensure GitHub releases are created with auto-generated notes
16
+ - Updated package.json files to include CHANGELOG.md in published packages
package/README.md CHANGED
@@ -3,10 +3,10 @@
3
3
  <br/><br/>
4
4
 
5
5
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
6
- [![Node.js](https://img.shields.io/badge/node-%3E%3D23.0.0-brightgreen.svg)](https://nodejs.org/)
7
- [![TypeScript](https://img.shields.io/badge/TypeScript-5.1.6-blue.svg)](https://www.typescriptlang.org/)
6
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D24.3.0-brightgreen.svg)](https://nodejs.org/)
7
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.4.5-blue.svg)](https://www.typescriptlang.org/)
8
8
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
9
- [![npm](https://img.shields.io/badge/npm-v0.9.34-blue.svg)](https://www.npmjs.com/package/@soulcraft/brainy)
9
+ [![npm](https://img.shields.io/badge/npm-v0.9.36-blue.svg)](https://www.npmjs.com/package/@soulcraft/brainy)
10
10
 
11
11
  [//]: # ([![Cartographer]&#40;https://img.shields.io/badge/Cartographer-Official%20Standard-brightgreen&#41;]&#40;https://github.com/sodal-project/cartographer&#41;)
12
12
 
package/dist/brainy.js CHANGED
@@ -2701,8 +2701,8 @@ function areWebWorkersAvailable() {
2701
2701
  function areWorkerThreadsAvailableSync() {
2702
2702
  if (!isNode())
2703
2703
  return false;
2704
- // In Node.js 12+, worker_threads is available without requiring a flag
2705
- return parseInt(process.versions.node.split('.')[0]) >= 12;
2704
+ // In Node.js 24.3.0+, worker_threads is always available
2705
+ return parseInt(process.versions.node.split('.')[0]) >= 24;
2706
2706
  }
2707
2707
  /**
2708
2708
  * Determine if threading is available in the current environment