@juspay/neurolink 9.94.2 → 9.94.3

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 CHANGED
@@ -1,3 +1,9 @@
1
+ ## [9.94.3](https://github.com/juspay/neurolink/compare/v9.94.2...v9.94.3) (2026-07-19)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **(csv):** harden CSV processing — encoding, single-read, cleanup, context, sanitization, timeout, validation ([3124f9e](https://github.com/juspay/neurolink/commit/3124f9eb3506c7b85f6aadd0aa9e0904723b06f5))
6
+
1
7
  ## [9.94.2](https://github.com/juspay/neurolink/compare/v9.94.1...v9.94.2) (2026-07-19)
2
8
 
3
9
  ### Bug Fixes
@@ -357,7 +357,9 @@ export const directAgentTools = {
357
357
  logger.debug(`[analyzeCSV] Resolved path: ${resolvedPath}`);
358
358
  // Parse CSV using streaming from disk (memory efficient)
359
359
  logger.info(`[analyzeCSV] Starting CSV parsing (max ${maxRows} rows)...`);
360
- const rows = (await CSVProcessor.parseCSVFile(resolvedPath, maxRows));
360
+ // #384: parseCSVFile now returns validated Record<string, string |
361
+ // undefined>[] rows, so the previous unchecked cast is unnecessary.
362
+ const rows = await CSVProcessor.parseCSVFile(resolvedPath, maxRows);
361
363
  logger.info(`[analyzeCSV] ✅ CSV parsing complete: ${rows.length} rows`);
362
364
  if (rows.length === 0) {
363
365
  logger.warn(`[analyzeCSV] No data rows found`);