@soulcraft/brainy 3.5.0 → 3.5.1
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/universal/fs.js +3 -1
- package/package.json +1 -1
package/dist/universal/fs.js
CHANGED
|
@@ -9,7 +9,9 @@ let nodeFs = null;
|
|
|
9
9
|
if (isNode()) {
|
|
10
10
|
try {
|
|
11
11
|
// Use node: protocol to prevent bundler polyfilling (requires Node 22+)
|
|
12
|
-
|
|
12
|
+
// Import main module and access promises to avoid subpath issues with bundlers
|
|
13
|
+
const fs = await import('node:fs');
|
|
14
|
+
nodeFs = fs.promises;
|
|
13
15
|
}
|
|
14
16
|
catch {
|
|
15
17
|
// Ignore import errors in non-Node environments
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soulcraft/brainy",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "Universal Knowledge Protocol™ - World's first Triple Intelligence database unifying vector, graph, and document search in one API. 31 nouns × 40 verbs for infinite expressiveness.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|