Socket
Socket
Sign inDemoInstall

@redis/graph

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redis/graph - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

dist/commands/CONFIG_GET.d.ts
export declare const IS_READ_ONLY = true;
export declare function transformArguments(configKey: string): Array<string>;
declare type ConfigItem = [
type ConfigItem = [
configKey: string,

@@ -5,0 +5,0 @@ value: number

export declare const FIRST_KEY_INDEX = 1;
export declare const IS_READ_ONLY = true;
export declare function transformArguments(key: string, query: string): Array<string>;
export declare function transfromReply(): Array<string>;
export declare function transformReply(): Array<string>;

@@ -32,4 +32,4 @@ import * as CONFIG_GET from './CONFIG_GET';

export default _default;
declare type QueryParam = null | string | number | boolean | QueryParams | Array<QueryParam>;
declare type QueryParams = {
type QueryParam = null | string | number | boolean | QueryParams | Array<QueryParam>;
type QueryParams = {
[key: string]: QueryParam;

@@ -41,3 +41,3 @@ };

}
export declare type QueryOptionsBackwardCompatible = QueryOptions | number;
export type QueryOptionsBackwardCompatible = QueryOptions | number;
export declare function pushQueryArguments(args: RedisCommandArguments, graph: RedisCommandArgument, query: RedisCommandArgument, options?: QueryOptionsBackwardCompatible, compact?: boolean): RedisCommandArguments;
export declare const FIRST_KEY_INDEX = 1;
export declare const IS_READ_ONLY = true;
export declare function transformArguments(key: string, query: string): Array<string>;
export declare function transfromReply(): Array<string>;
export declare function transformReply(): Array<string>;

@@ -5,6 +5,6 @@ import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands/index';

export declare function transformArguments(graph: RedisCommandArgument, query: RedisCommandArgument, options?: QueryOptionsBackwardCompatible, compact?: boolean): RedisCommandArguments;
declare type Headers = Array<string>;
declare type Data = Array<string | number | null | Data>;
declare type Metadata = Array<string>;
declare type QueryRawReply = [
type Headers = Array<string>;
type Data = Array<string | number | null | Data>;
type Metadata = Array<string>;
type QueryRawReply = [
headers: Headers,

@@ -16,3 +16,3 @@ data: Data,

];
export declare type QueryReply = {
export type QueryReply = {
headers: undefined;

@@ -19,0 +19,0 @@ data: undefined;

export declare const IS_READ_ONLY = true;
export declare const FIRST_KEY_INDEX = 1;
export declare function transformArguments(key: string): string[];
declare type SlowLogRawReply = Array<[
type SlowLogRawReply = Array<[
timestamp: string,

@@ -10,3 +10,3 @@ command: string,

]>;
declare type SlowLogReply = Array<{
type SlowLogReply = Array<{
timestamp: Date;

@@ -13,0 +13,0 @@ command: string;

@@ -5,6 +5,6 @@ import { RedisClientType } from '@redis/client/dist/lib/client/index';

import { QueryReply } from './commands/QUERY';
declare type GraphReply<T> = Omit<QueryReply, 'headers' | 'data'> & {
export type GraphReply<T> = Omit<QueryReply, 'headers' | 'data'> & {
data?: Array<T>;
};
declare type GraphClientType = RedisClientType<{
export type GraphClientType = RedisClientType<{
graph: {

@@ -21,2 +21,1 @@ query: typeof import('./commands/QUERY');

}
export {};

@@ -48,3 +48,2 @@ "use strict";

}
exports.default = Graph;
_Graph_client = new WeakMap(), _Graph_name = new WeakMap(), _Graph_metadata = new WeakMap(), _Graph_setMetadataPromise = new WeakMap(), _Graph_instances = new WeakSet(), _Graph_updateMetadata = function _Graph_updateMetadata() {

@@ -175,1 +174,2 @@ __classPrivateFieldSet(this, _Graph_setMetadataPromise, __classPrivateFieldGet(this, _Graph_setMetadataPromise, "f") ?? __classPrivateFieldGet(this, _Graph_instances, "m", _Graph_setMetadata).call(this)

};
exports.default = Graph;
{
"name": "@redis/graph",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",

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

"@redis/test-utils": "*",
"@types/node": "^18.11.6",
"@types/node": "^20.6.2",
"nyc": "^15.1.0",
"release-it": "^15.5.0",
"release-it": "^16.1.5",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typedoc": "^0.23.18",
"typescript": "^4.8.4"
}
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"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/graph",
"keywords": [
"redis",
"RedisGraph"
]
}
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