@upstash/redis 1.37.0-rc.8 → 1.37.0-rc.9
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/{chunk-3HKMGXM7.mjs → chunk-36LGI43F.mjs} +3 -1
- package/cloudflare.d.mts +2 -2
- package/cloudflare.d.ts +2 -2
- package/cloudflare.js +3 -1
- package/cloudflare.mjs +1 -1
- package/fastly.d.mts +2 -2
- package/fastly.d.ts +2 -2
- package/fastly.js +3 -1
- package/fastly.mjs +1 -1
- package/nodejs.d.mts +2 -2
- package/nodejs.d.ts +2 -2
- package/nodejs.js +3 -1
- package/nodejs.mjs +1 -1
- package/package.json +1 -1
- package/{zmscore-CjaAkTRU.d.mts → zmscore-Bf80VjGQ.d.mts} +1 -1
- package/{zmscore-CjaAkTRU.d.ts → zmscore-Bf80VjGQ.d.ts} +1 -1
|
@@ -743,6 +743,7 @@ var SearchIndex = class {
|
|
|
743
743
|
const rawResult = await new ExecCommand(command).exec(
|
|
744
744
|
this.client
|
|
745
745
|
);
|
|
746
|
+
if (!rawResult) return null;
|
|
746
747
|
return deserializeDescribeResponse(rawResult);
|
|
747
748
|
}
|
|
748
749
|
async query(options) {
|
|
@@ -750,6 +751,7 @@ var SearchIndex = class {
|
|
|
750
751
|
const rawResult = await new ExecCommand(command).exec(
|
|
751
752
|
this.client
|
|
752
753
|
);
|
|
754
|
+
if (!rawResult) return [];
|
|
753
755
|
return deserializeQueryResponse(rawResult);
|
|
754
756
|
}
|
|
755
757
|
async aggregate(options) {
|
|
@@ -5264,7 +5266,7 @@ var Redis = class {
|
|
|
5264
5266
|
};
|
|
5265
5267
|
|
|
5266
5268
|
// version.ts
|
|
5267
|
-
var VERSION = "v1.37.0-rc.
|
|
5269
|
+
var VERSION = "v1.37.0-rc.9";
|
|
5268
5270
|
|
|
5269
5271
|
export {
|
|
5270
5272
|
error_exports,
|
package/cloudflare.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-Bf80VjGQ.mjs';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.mjs';
|
|
3
3
|
|
|
4
4
|
type Env = {
|
|
5
5
|
UPSTASH_DISABLE_TELEMETRY?: string;
|
package/cloudflare.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-Bf80VjGQ.js';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.js';
|
|
3
3
|
|
|
4
4
|
type Env = {
|
|
5
5
|
UPSTASH_DISABLE_TELEMETRY?: string;
|
package/cloudflare.js
CHANGED
|
@@ -3034,6 +3034,7 @@ var SearchIndex = class {
|
|
|
3034
3034
|
const rawResult = await new ExecCommand(command).exec(
|
|
3035
3035
|
this.client
|
|
3036
3036
|
);
|
|
3037
|
+
if (!rawResult) return null;
|
|
3037
3038
|
return deserializeDescribeResponse(rawResult);
|
|
3038
3039
|
}
|
|
3039
3040
|
async query(options) {
|
|
@@ -3041,6 +3042,7 @@ var SearchIndex = class {
|
|
|
3041
3042
|
const rawResult = await new ExecCommand(command).exec(
|
|
3042
3043
|
this.client
|
|
3043
3044
|
);
|
|
3045
|
+
if (!rawResult) return [];
|
|
3044
3046
|
return deserializeQueryResponse(rawResult);
|
|
3045
3047
|
}
|
|
3046
3048
|
async aggregate(options) {
|
|
@@ -5285,7 +5287,7 @@ var Redis = class {
|
|
|
5285
5287
|
};
|
|
5286
5288
|
|
|
5287
5289
|
// version.ts
|
|
5288
|
-
var VERSION = "v1.37.0-rc.
|
|
5290
|
+
var VERSION = "v1.37.0-rc.9";
|
|
5289
5291
|
|
|
5290
5292
|
// platforms/cloudflare.ts
|
|
5291
5293
|
var Redis2 = class _Redis extends Redis {
|
package/cloudflare.mjs
CHANGED
package/fastly.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-Bf80VjGQ.mjs';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Connection credentials for upstash redis.
|
package/fastly.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { R as RedisOptions, b as RequesterConfig, c as Redis$1 } from './zmscore-Bf80VjGQ.js';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, d as Requester, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Connection credentials for upstash redis.
|
package/fastly.js
CHANGED
|
@@ -3034,6 +3034,7 @@ var SearchIndex = class {
|
|
|
3034
3034
|
const rawResult = await new ExecCommand(command).exec(
|
|
3035
3035
|
this.client
|
|
3036
3036
|
);
|
|
3037
|
+
if (!rawResult) return null;
|
|
3037
3038
|
return deserializeDescribeResponse(rawResult);
|
|
3038
3039
|
}
|
|
3039
3040
|
async query(options) {
|
|
@@ -3041,6 +3042,7 @@ var SearchIndex = class {
|
|
|
3041
3042
|
const rawResult = await new ExecCommand(command).exec(
|
|
3042
3043
|
this.client
|
|
3043
3044
|
);
|
|
3045
|
+
if (!rawResult) return [];
|
|
3044
3046
|
return deserializeQueryResponse(rawResult);
|
|
3045
3047
|
}
|
|
3046
3048
|
async aggregate(options) {
|
|
@@ -5285,7 +5287,7 @@ var Redis = class {
|
|
|
5285
5287
|
};
|
|
5286
5288
|
|
|
5287
5289
|
// version.ts
|
|
5288
|
-
var VERSION = "v1.37.0-rc.
|
|
5290
|
+
var VERSION = "v1.37.0-rc.9";
|
|
5289
5291
|
|
|
5290
5292
|
// platforms/fastly.ts
|
|
5291
5293
|
var Redis2 = class extends Redis {
|
package/fastly.mjs
CHANGED
package/nodejs.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NumericField, a as NestedIndexSchema, H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1, d as Requester } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, cd as CreateIndexParameters, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, cf as FlatIndexSchema, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ce as InferFilterFromSchema, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, cg as QueryResult, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, cb as SearchIndex, cc as SearchIndexParameters, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { N as NumericField, a as NestedIndexSchema, H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1, d as Requester } from './zmscore-Bf80VjGQ.mjs';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, cd as CreateIndexParameters, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, cf as FlatIndexSchema, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ce as InferFilterFromSchema, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, cg as QueryResult, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, cb as SearchIndex, cc as SearchIndexParameters, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.mjs';
|
|
3
3
|
|
|
4
4
|
type TextFieldBuild<TNoTokenize extends Record<"noTokenize", boolean>, TNoStem extends Record<"noStem", boolean>, TFrom extends Record<"from", string | null>> = TNoTokenize["noTokenize"] extends true ? {
|
|
5
5
|
type: "TEXT";
|
package/nodejs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NumericField, a as NestedIndexSchema, H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1, d as Requester } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, cd as CreateIndexParameters, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, cf as FlatIndexSchema, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ce as InferFilterFromSchema, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, cg as QueryResult, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, cb as SearchIndex, cc as SearchIndexParameters, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-
|
|
1
|
+
import { N as NumericField, a as NestedIndexSchema, H as HttpClientConfig, R as RedisOptions, b as RequesterConfig, c as Redis$1, d as Requester } from './zmscore-Bf80VjGQ.js';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, g as BitOpCommand, h as BitPosCommand, i as ClientSetInfoAttribute, C as ClientSetInfoCommand, j as CopyCommand, cd as CreateIndexParameters, D as DBSizeCommand, l as DecrByCommand, k as DecrCommand, m as DelCommand, E as EchoCommand, o as EvalCommand, n as EvalROCommand, q as EvalshaCommand, p as EvalshaROCommand, r as ExistsCommand, u as ExpireAtCommand, s as ExpireCommand, t as ExpireOption, cf as FlatIndexSchema, F as FlushAllCommand, v as FlushDBCommand, G as GeoAddCommand, w as GeoAddCommandOptions, y as GeoDistCommand, z as GeoHashCommand, x as GeoMember, I as GeoPosCommand, J as GeoSearchCommand, K as GeoSearchStoreCommand, M as GetBitCommand, L as GetCommand, O as GetDelCommand, Q as GetExCommand, S as GetRangeCommand, T as GetSetCommand, V as HDelCommand, W as HExistsCommand, Y as HExpireAtCommand, X as HExpireCommand, Z as HExpireTimeCommand, a5 as HGetAllCommand, a4 as HGetCommand, a6 as HGetDelCommand, a7 as HGetExCommand, a8 as HIncrByCommand, a9 as HIncrByFloatCommand, aa as HKeysCommand, ab as HLenCommand, ac as HMGetCommand, ad as HMSetCommand, a0 as HPExpireAtCommand, $ as HPExpireCommand, a1 as HPExpireTimeCommand, a2 as HPTtlCommand, a3 as HPersistCommand, ae as HRandFieldCommand, af as HScanCommand, ag as HSetCommand, ah as HSetExCommand, ai as HSetNXCommand, aj as HStrLenCommand, _ as HTtlCommand, ak as HValsCommand, am as IncrByCommand, an as IncrByFloatCommand, al as IncrCommand, ce as InferFilterFromSchema, ao as JsonArrAppendCommand, ap as JsonArrIndexCommand, aq as JsonArrInsertCommand, ar as JsonArrLenCommand, as as JsonArrPopCommand, at as JsonArrTrimCommand, au as JsonClearCommand, av as JsonDelCommand, aw as JsonForgetCommand, ax as JsonGetCommand, az as JsonMGetCommand, ay as JsonMergeCommand, aA as JsonNumIncrByCommand, aB as JsonNumMultByCommand, aC as JsonObjKeysCommand, aD as JsonObjLenCommand, aE as JsonRespCommand, aF as JsonSetCommand, aG as JsonStrAppendCommand, aH as JsonStrLenCommand, aI as JsonToggleCommand, aJ as JsonTypeCommand, aK as KeysCommand, aL as LIndexCommand, aM as LInsertCommand, aN as LLenCommand, aO as LMoveCommand, aP as LPopCommand, aQ as LPushCommand, aR as LPushXCommand, aS as LRangeCommand, aT as LRemCommand, aU as LSetCommand, aV as LTrimCommand, aW as MGetCommand, aX as MSetCommand, aY as MSetNXCommand, a$ as PExpireAtCommand, a_ as PExpireCommand, b1 as PSetEXCommand, b2 as PTtlCommand, aZ as PersistCommand, b0 as PingCommand, P as Pipeline, b3 as PublishCommand, cg as QueryResult, b7 as RPopCommand, b8 as RPushCommand, b9 as RPushXCommand, b4 as RandomKeyCommand, b5 as RenameCommand, b6 as RenameNXCommand, ba as SAddCommand, bd as SCardCommand, bh as SDiffCommand, bi as SDiffStoreCommand, bp as SInterCommand, bq as SInterStoreCommand, br as SIsMemberCommand, bt as SMIsMemberCommand, bs as SMembersCommand, bu as SMoveCommand, bv as SPopCommand, bw as SRandMemberCommand, bx as SRemCommand, by as SScanCommand, bA as SUnionCommand, bB as SUnionStoreCommand, bb as ScanCommand, bc as ScanCommandOptions, bM as ScoreMember, be as ScriptExistsCommand, bf as ScriptFlushCommand, bg as ScriptLoadCommand, cb as SearchIndex, cc as SearchIndexParameters, bl as SetBitCommand, bj as SetCommand, bk as SetCommandOptions, bm as SetExCommand, bn as SetNxCommand, bo as SetRangeCommand, bz as StrLenCommand, bC as TimeCommand, bD as TouchCommand, bE as TtlCommand, bF as Type, bG as TypeCommand, bH as UnlinkCommand, U as UpstashRequest, f as UpstashResponse, bJ as XAckDelCommand, bI as XAddCommand, bK as XDelExCommand, bL as XRangeCommand, bO as ZAddCommand, bN as ZAddCommandOptions, bP as ZCardCommand, bQ as ZCountCommand, bR as ZDiffStoreCommand, bS as ZIncrByCommand, bT as ZInterStoreCommand, bU as ZInterStoreCommandOptions, bV as ZLexCountCommand, bW as ZMScoreCommand, bX as ZPopMaxCommand, bY as ZPopMinCommand, bZ as ZRangeCommand, b_ as ZRangeCommandOptions, b$ as ZRankCommand, c0 as ZRemCommand, c1 as ZRemRangeByLexCommand, c2 as ZRemRangeByRankCommand, c3 as ZRemRangeByScoreCommand, c4 as ZRevRankCommand, c5 as ZScanCommand, c6 as ZScoreCommand, c7 as ZUnionCommand, c8 as ZUnionCommandOptions, c9 as ZUnionStoreCommand, ca as ZUnionStoreCommandOptions, e as errors } from './zmscore-Bf80VjGQ.js';
|
|
3
3
|
|
|
4
4
|
type TextFieldBuild<TNoTokenize extends Record<"noTokenize", boolean>, TNoStem extends Record<"noStem", boolean>, TFrom extends Record<"from", string | null>> = TNoTokenize["noTokenize"] extends true ? {
|
|
5
5
|
type: "TEXT";
|
package/nodejs.js
CHANGED
|
@@ -3036,6 +3036,7 @@ var SearchIndex = class {
|
|
|
3036
3036
|
const rawResult = await new ExecCommand(command).exec(
|
|
3037
3037
|
this.client
|
|
3038
3038
|
);
|
|
3039
|
+
if (!rawResult) return null;
|
|
3039
3040
|
return deserializeDescribeResponse(rawResult);
|
|
3040
3041
|
}
|
|
3041
3042
|
async query(options) {
|
|
@@ -3043,6 +3044,7 @@ var SearchIndex = class {
|
|
|
3043
3044
|
const rawResult = await new ExecCommand(command).exec(
|
|
3044
3045
|
this.client
|
|
3045
3046
|
);
|
|
3047
|
+
if (!rawResult) return [];
|
|
3046
3048
|
return deserializeQueryResponse(rawResult);
|
|
3047
3049
|
}
|
|
3048
3050
|
async aggregate(options) {
|
|
@@ -5287,7 +5289,7 @@ var Redis = class {
|
|
|
5287
5289
|
};
|
|
5288
5290
|
|
|
5289
5291
|
// version.ts
|
|
5290
|
-
var VERSION = "v1.37.0-rc.
|
|
5292
|
+
var VERSION = "v1.37.0-rc.9";
|
|
5291
5293
|
|
|
5292
5294
|
// pkg/commands/search/schema-builder.ts
|
|
5293
5295
|
var BUILD = Symbol("build");
|
package/nodejs.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@upstash/redis","version":"v1.37.0-rc.
|
|
1
|
+
{"name":"@upstash/redis","version":"v1.37.0-rc.9","main":"./nodejs.js","module":"./nodejs.mjs","types":"./nodejs.d.ts","exports":{".":{"import":"./nodejs.mjs","require":"./nodejs.js"},"./node":{"import":"./nodejs.mjs","require":"./nodejs.js"},"./cloudflare":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./cloudflare.js":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./cloudflare.mjs":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./fastly":{"import":"./fastly.mjs","require":"./fastly.js"},"./fastly.js":{"import":"./fastly.mjs","require":"./fastly.js"},"./fastly.mjs":{"import":"./fastly.mjs","require":"./fastly.js"}},"description":"An HTTP/REST based Redis client built on top of Upstash REST API.","repository":{"type":"git","url":"git@github.com:upstash/redis-js.git"},"keywords":["redis","database","serverless","edge","upstash"],"files":["./*"],"scripts":{"build":"tsup && cp package.json README.md LICENSE dist/","test":"bun test pkg","fmt":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","lint":"eslint \"**/*.{js,ts,tsx}\" --quiet --fix","format":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","format:check":"prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"","lint:fix":"eslint . -c .ts,.tsx,.js,.jsx --fix","commit":"cz","lint:format":"bun run lint:fix && bun run format","check-exports":"bun run build && cd dist && attw -P"},"author":"Andreas Thomas <dev@chronark.com>","license":"MIT","bugs":{"url":"https://github.com/upstash/upstash-redis/issues"},"homepage":"https://github.com/upstash/upstash-redis#readme","devDependencies":{"@biomejs/biome":"latest","@commitlint/cli":"^19.3.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"8.4.0","@typescript-eslint/parser":"8.4.0","bun-types":"1.0.33","eslint":"9.10.0","eslint-plugin-unicorn":"55.0.0","husky":"^9.1.1","prettier":"^3.3.3","tsup":"^8.2.3","typescript":"latest"},"dependencies":{"uncrypto":"^0.1.3"}}
|
|
@@ -859,7 +859,7 @@ declare class SearchIndex<TSchema extends NestedIndexSchema | FlatIndexSchema> {
|
|
|
859
859
|
private client;
|
|
860
860
|
constructor({ name, schema, client }: SearchIndexParameters<TSchema>);
|
|
861
861
|
waitIndexing(): Promise<void>;
|
|
862
|
-
describe(): Promise<IndexDescription<TSchema
|
|
862
|
+
describe(): Promise<IndexDescription<TSchema> | null>;
|
|
863
863
|
query<TOpts extends QueryOptions<TSchema>>(options?: TOpts): Promise<QueryResult<TSchema, TOpts>[]>;
|
|
864
864
|
aggregate<TOpts extends AggregateOptions<TSchema>>(options: TOpts): Promise<AggregateResult<TSchema, TOpts>>;
|
|
865
865
|
count({ filter }: {
|
|
@@ -859,7 +859,7 @@ declare class SearchIndex<TSchema extends NestedIndexSchema | FlatIndexSchema> {
|
|
|
859
859
|
private client;
|
|
860
860
|
constructor({ name, schema, client }: SearchIndexParameters<TSchema>);
|
|
861
861
|
waitIndexing(): Promise<void>;
|
|
862
|
-
describe(): Promise<IndexDescription<TSchema
|
|
862
|
+
describe(): Promise<IndexDescription<TSchema> | null>;
|
|
863
863
|
query<TOpts extends QueryOptions<TSchema>>(options?: TOpts): Promise<QueryResult<TSchema, TOpts>[]>;
|
|
864
864
|
aggregate<TOpts extends AggregateOptions<TSchema>>(options: TOpts): Promise<AggregateResult<TSchema, TOpts>>;
|
|
865
865
|
count({ filter }: {
|