Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@redis/search

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redis/search - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

1

dist/commands/AGGREGATE.d.ts

@@ -102,2 +102,3 @@ import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands';

DIALECT?: number;
TIMEOUT?: number;
}

@@ -104,0 +105,0 @@ export declare const FIRST_KEY_INDEX = 1;

@@ -95,2 +95,5 @@ "use strict";

}
if (options?.TIMEOUT !== undefined) {
args.push('TIMEOUT', options.TIMEOUT.toString());
}
return args;

@@ -97,0 +100,0 @@ }

5

dist/commands/CURSOR_READ.d.ts
import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands';
export declare const FIRST_KEY_INDEX = 1;
export declare const IS_READ_ONLY = true;
export declare function transformArguments(index: RedisCommandArgument, cursor: number): RedisCommandArguments;
interface CursorReadOptions {
COUNT?: number;
}
export declare function transformArguments(index: RedisCommandArgument, cursor: number, options?: CursorReadOptions): RedisCommandArguments;
export { transformReply } from './AGGREGATE_WITHCURSOR';

@@ -6,4 +6,4 @@ "use strict";

exports.IS_READ_ONLY = true;
function transformArguments(index, cursor) {
return [
function transformArguments(index, cursor, options) {
const args = [
'FT.CURSOR',

@@ -14,2 +14,6 @@ 'READ',

];
if (options?.COUNT) {
args.push('COUNT', options.COUNT.toString());
}
return args;
}

@@ -16,0 +20,0 @@ exports.transformArguments = transformArguments;

@@ -365,2 +365,5 @@ "use strict";

}
if (options?.TIMEOUT !== undefined) {
args.push('TIMEOUT', options.TIMEOUT.toString());
}
return args;

@@ -367,0 +370,0 @@ }

@@ -37,2 +37,3 @@ import { RedisCommandArguments } from '@redis/client/dist/lib/commands';

DIALECT?: number;
TIMEOUT?: number;
}

@@ -39,0 +40,0 @@ export declare function transformArguments(index: string, query: string, options?: SearchOptions): RedisCommandArguments;

{
"name": "@redis/search",
"version": "1.1.2",
"version": "1.1.3",
"license": "MIT",

@@ -21,10 +21,22 @@ "main": "./dist/index.js",

"@redis/test-utils": "*",
"@types/node": "^18.14.1",
"@types/node": "^20.2.3",
"nyc": "^15.1.0",
"release-it": "^15.6.0",
"release-it": "^15.10.3",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typedoc": "^0.23.25",
"typescript": "^4.9.5"
}
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
"repository": {
"type": "git",
"url": "git://github.com/redis/node-redis.git"
},
"bugs": {
"url": "https://github.com/redis/node-redis/issues"
},
"homepage": "https://github.com/redis/node-redis/tree/master/packages/search",
"keywords": [
"redis",
"RediSearch"
]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc