@soulcraft/brainy 5.1.1 → 5.1.2
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.
|
@@ -133,7 +133,8 @@ export class ImportCoordinator {
|
|
|
133
133
|
groupBy: opts.groupBy,
|
|
134
134
|
customGrouping: opts.customGrouping,
|
|
135
135
|
preserveSource: opts.preserveSource,
|
|
136
|
-
|
|
136
|
+
// v5.1.2: Fix sourceBuffer for file paths - type is 'path' not 'buffer' from normalizeSource()
|
|
137
|
+
sourceBuffer: Buffer.isBuffer(normalizedSource.data) ? normalizedSource.data : undefined,
|
|
137
138
|
sourceFilename: normalizedSource.filename || `import.${detection.format}`,
|
|
138
139
|
createRelationshipFile: true,
|
|
139
140
|
createMetadataFile: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soulcraft/brainy",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.2",
|
|
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",
|