diff --git a/redisinsight/api/patches/ioredis+5.3.2.patch b/redisinsight/api/patches/ioredis+5.3.2.patch index 9a9f3e40e9..b9c7803c48 100644 --- a/redisinsight/api/patches/ioredis+5.3.2.patch +++ b/redisinsight/api/patches/ioredis+5.3.2.patch @@ -1,23 +1,3 @@ -diff --git a/node_modules/ioredis/built/Command.d.ts b/node_modules/ioredis/built/Command.d.ts -index ea90aa2..ca28897 100644 ---- a/node_modules/ioredis/built/Command.d.ts -+++ b/node_modules/ioredis/built/Command.d.ts -@@ -6,6 +6,7 @@ interface CommandOptions { - * Set the encoding of the reply, by default buffer will be returned. - */ - replyEncoding?: BufferEncoding | null; -+ integerReply?: "number" | "bigint"; - errorStack?: Error; - keyPrefix?: string; - /** -@@ -75,6 +76,7 @@ export default class Command implements Respondable { - resolve: (result: any) => void; - promise: Promise; - private replyEncoding; -+ integerReply?: "number" | "bigint"; - private errorStack; - private bufferMode; - private callback; diff --git a/node_modules/ioredis/built/Command.js b/node_modules/ioredis/built/Command.js index 40cd1a6..aad90af 100644 --- a/node_modules/ioredis/built/Command.js @@ -30,22 +10,6 @@ index 40cd1a6..aad90af 100644 this.errorStack = options.errorStack; this.args = args.flat(); this.callback = callback; -diff --git a/node_modules/ioredis/built/DataHandler.d.ts b/node_modules/ioredis/built/DataHandler.d.ts -index 93e97d9..24fe877 100644 ---- a/node_modules/ioredis/built/DataHandler.d.ts -+++ b/node_modules/ioredis/built/DataHandler.d.ts -@@ -26,7 +26,11 @@ interface ParserOptions { - } - export default class DataHandler { - private redis; -+ private parser; -+ private stringNumbers; - constructor(redis: DataHandledable, parserOptions: ParserOptions); -+ private updateIntegerReplyMode; -+ private convertIntegerReply; - private returnFatalError; - private returnError; - private returnReply; diff --git a/node_modules/ioredis/built/DataHandler.js b/node_modules/ioredis/built/DataHandler.js index 1db1848..f985ed5 100644 --- a/node_modules/ioredis/built/DataHandler.js