You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
prepare 4.1.0 (#2111)
* increase test coverage * @node-redis to @redis * ugprade deps * fix benchmark * use 7.0 docker (not rc), update readmes, clean code, fix @-redis import * update readme * fix function in cluster * update docs Co-authored-by: Chayim <chayim@users.noreply.github.com> * Update clustering.md * add subpackages move warning * drop support for node 12 * upgrade deps * fix tsconfig.base.json Co-authored-by: Chayim <chayim@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# @node-redis/bloom
|
||||
# @redis/bloom
|
||||
|
||||
This package provides support for the [RedisBloom](https://redisbloom.io) module, which adds additional probabilistic data structures to Redis. It extends the [Node Redis client](https://github.com/redis/node-redis) to include functions for each of the RediBloom commands.
|
||||
|
||||
|
@@ -4,4 +4,4 @@ export function transformArguments(key: string, item: string): Array<string> {
|
||||
return ['BF.ADD', key, item];
|
||||
}
|
||||
|
||||
export { transformBooleanReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -6,4 +6,4 @@ export function transformArguments(key: string, item: string): Array<string> {
|
||||
return ['BF.EXISTS', key, item];
|
||||
}
|
||||
|
||||
export { transformBooleanReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { pushVerdictArguments } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
import { pushVerdictArguments } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
@@ -43,4 +43,4 @@ export function transformArguments(
|
||||
return args;
|
||||
}
|
||||
|
||||
export { transformBooleanArrayReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanArrayReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { RedisCommandArgument, RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
|
||||
import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
|
@@ -4,4 +4,4 @@ export function transformArguments(key: string, items: Array<string>): Array<str
|
||||
return ['BF.MADD', key, ...items];
|
||||
}
|
||||
|
||||
export { transformBooleanArrayReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanArrayReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -6,4 +6,4 @@ export function transformArguments(key: string, items: Array<string>): Array<str
|
||||
return ['BF.MEXISTS', key, ...items];
|
||||
}
|
||||
|
||||
export { transformBooleanArrayReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanArrayReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
|
||||
import { pushVerdictArguments } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
import { pushVerdictArguments } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
|
@@ -4,4 +4,4 @@ export function transformArguments(key: string, item: string): Array<string> {
|
||||
return ['CF.ADD', key, item];
|
||||
}
|
||||
|
||||
export { transformBooleanReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -4,4 +4,4 @@ export function transformArguments(key: string, item: string): Array<string> {
|
||||
return ['CF.ADDNX', key, item];
|
||||
}
|
||||
|
||||
export { transformBooleanReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -4,4 +4,4 @@ export function transformArguments(key: string, item: string): Array<string> {
|
||||
return ['CF.DEL', key, item];
|
||||
}
|
||||
|
||||
export { transformBooleanReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -6,4 +6,4 @@ export function transformArguments(key: string, item: string): Array<string> {
|
||||
return ['CF.EXISTS', key, item];
|
||||
}
|
||||
|
||||
export { transformBooleanReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
|
||||
import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
import { InsertOptions, pushInsertOptions } from ".";
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
@@ -15,4 +15,4 @@ export function transformArguments(
|
||||
);
|
||||
}
|
||||
|
||||
export { transformBooleanArrayReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanArrayReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
|
||||
import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
import { InsertOptions, pushInsertOptions } from ".";
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
@@ -15,4 +15,4 @@ export function transformArguments(
|
||||
);
|
||||
}
|
||||
|
||||
export { transformBooleanArrayReply as transformReply } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
export { transformBooleanArrayReply as transformReply } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { RedisCommandArgument, RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
|
||||
import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
|
@@ -10,8 +10,8 @@ import * as INSERTNX from './INSERTNX';
|
||||
import * as LOADCHUNK from './LOADCHUNK';
|
||||
import * as RESERVE from './RESERVE';
|
||||
import * as SCANDUMP from './SCANDUMP';
|
||||
import { pushVerdictArguments } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
import { RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
|
||||
import { pushVerdictArguments } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
|
||||
export default {
|
||||
ADD,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
|
||||
import { pushVerdictArguments } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
import { pushVerdictArguments } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
|
||||
import { pushVerdictArguments } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
import { pushVerdictArguments } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
|
||||
import { pushVerdictArguments } from '@node-redis/client/dist/lib/commands/generic-transformers';
|
||||
import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
import { pushVerdictArguments } from '@redis/client/dist/lib/commands/generic-transformers';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import TestUtils from '@node-redis/test-utils';
|
||||
import TestUtils from '@redis/test-utils';
|
||||
import RedisBloomModules from '.';
|
||||
|
||||
export default new TestUtils({
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@node-redis/bloom",
|
||||
"name": "@redis/bloom",
|
||||
"version": "1.0.1",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index.js",
|
||||
@@ -13,17 +13,17 @@
|
||||
"documentation": "typedoc"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@node-redis/client": "^1.0.0"
|
||||
"@redis/client": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
||||
"@node-redis/test-utils": "*",
|
||||
"@types/node": "^17.0.26",
|
||||
"@redis/test-utils": "*",
|
||||
"@types/node": "^17.0.31",
|
||||
"nyc": "^15.1.0",
|
||||
"release-it": "^14.14.2",
|
||||
"release-it": "^15.0.0",
|
||||
"source-map-support": "^0.5.21",
|
||||
"ts-node": "^10.7.0",
|
||||
"typedoc": "^0.22.15",
|
||||
"typescript": "^4.6.3"
|
||||
"typescript": "^4.6.4"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user