@juspay/neurolink 9.48.1 → 9.48.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 +12 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/imageProcessor.d.ts +24 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [9.48.3](https://github.com/juspay/neurolink/compare/v9.48.2...v9.48.3) (2026-04-08)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **(ci):** upgrade to npm 11 for native OIDC publish support ([e25fedb](https://github.com/juspay/neurolink/commit/e25fedb74845322fc44509ebf076834d1a02abfd))
|
|
6
|
+
|
|
7
|
+
## [9.48.2](https://github.com/juspay/neurolink/compare/v9.48.1...v9.48.2) (2026-04-08)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **(release):** remove npm downgrade that breaks OIDC token persistence ([0ba4e22](https://github.com/juspay/neurolink/commit/0ba4e223af87e8f1dde31f2eb1d425ce4da3e985))
|
|
12
|
+
|
|
1
13
|
## [9.48.1](https://github.com/juspay/neurolink/compare/v9.48.0...v9.48.1) (2026-04-06)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
package/dist/types/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type { BatchProcessingSummary, ExcelWorksheet, FailedFileInfo, FileInfo,
|
|
|
16
16
|
export { PROCESSOR_PRIORITIES } from "../processors/base/types.js";
|
|
17
17
|
export type { ActionAWSConfig, ActionCommentResult, ActionEvaluation, ActionExecutionResult, ActionGoogleCloudConfig, ActionInputs, ActionInputValidation, ActionMultimodalInputs, ActionOutput, ActionProviderKeys, ActionThinkingConfig, ActionTokenUsage, CliAnalytics, CliEvaluation, CliResponse, CliTokenUsage, ProviderKeyMapping, } from "./actionTypes.js";
|
|
18
18
|
export type { AnalyticsData, AnalyticsErrorInfo, PerformanceMetrics, StreamAnalyticsData, TokenUsage, } from "./analytics.js";
|
|
19
|
-
export * from "./
|
|
19
|
+
export * from "./multimodal.js";
|
|
20
20
|
export type { DomainConfig, DomainConfigOptions, DomainEvaluationCriteria, DomainTemplate, DomainType, DomainValidationRule, } from "./domainTypes.js";
|
|
21
21
|
export * from "./evaluation.js";
|
|
22
22
|
export * from "./evaluationProviders.js";
|
|
@@ -79,6 +79,11 @@ export declare class ImageProcessor {
|
|
|
79
79
|
*/
|
|
80
80
|
static processImage(image: Buffer | string, provider: string, model?: string): ProcessedImage;
|
|
81
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* Whitelist of valid image file extensions (lowercase, no dots).
|
|
84
|
+
* Used to validate file extensions against a known set of image formats.
|
|
85
|
+
*/
|
|
86
|
+
export declare const VALID_IMAGE_EXTENSIONS: string[];
|
|
82
87
|
/**
|
|
83
88
|
* Utility functions for image handling
|
|
84
89
|
*/
|
|
@@ -96,9 +101,27 @@ export declare const imageUtils: {
|
|
|
96
101
|
*/
|
|
97
102
|
isBase64: (str: string) => boolean;
|
|
98
103
|
/**
|
|
99
|
-
* Extract file extension from filename or URL
|
|
104
|
+
* Extract file extension from filename or URL.
|
|
105
|
+
* Strips query strings and fragments before matching so that
|
|
106
|
+
* "image.jpg?v=1" correctly returns "jpg".
|
|
107
|
+
* Returns null if no extension is found or if the extension
|
|
108
|
+
* contains non-alphanumeric characters.
|
|
100
109
|
*/
|
|
101
110
|
getFileExtension: (filename: string) => string | null;
|
|
111
|
+
/**
|
|
112
|
+
* Validate that an extension is a recognised image format.
|
|
113
|
+
* Case-insensitive; rejects extensions with special characters.
|
|
114
|
+
*/
|
|
115
|
+
isValidImageExtension: (extension: string) => boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Extract and validate image file extension from a filename or URL.
|
|
118
|
+
* Returns null if the extension is missing or not a recognised image format.
|
|
119
|
+
*
|
|
120
|
+
* Security note: the last extension is used, so "malware.exe.jpg" returns
|
|
121
|
+
* "jpg". Callers should apply additional checks (e.g. content inspection)
|
|
122
|
+
* where double-extension attacks are a concern.
|
|
123
|
+
*/
|
|
124
|
+
getValidatedImageExtension: (filename: string) => string | null;
|
|
102
125
|
/**
|
|
103
126
|
* Convert file size to human readable format
|
|
104
127
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "9.48.
|
|
3
|
+
"version": "9.48.3",
|
|
4
4
|
"packageManager": "pnpm@10.15.1",
|
|
5
5
|
"description": "Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and deploy AI applications with 13 providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
|
|
6
6
|
"author": {
|