113 matches across 4 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | doctests/query-agg.js | 41 | expression: '@price - (@price * 0.1)', |
| LOW | doctests/query-ft.js | 61 | // REMOVE_END |
| LOW | doctests/cmds-servermgmt.js | 21 | |
| LOW | doctests/query-combined.js | 81 | // documents: [ { id: 'bicycle:5', value: [Object: null prototype] } ] |
| LOW | doctests/query-combined.js | 101 | // STEP_START combined3 |
| LOW | doctests/query-combined.js | 121 | //{ |
| LOW | doctests/query-combined.js | 141 | // { id: 'bicycle:0', value: [Object: null prototype] }, |
| LOW | doctests/query-combined.js | 181 | //} |
| LOW | doctests/query-em.js | 61 | } |
| LOW | doctests/dt-ss.js | 41 | |
| LOW | doctests/dt-time-series.js | 261 | // label in the results. |
| LOW | doctests/dt-time-series.js | 281 | const res31 = await client.ts.mRevRangeSelectedLabels( |
| LOW | doctests/dt-time-series.js | 461 | |
| LOW | doctests/query-vector.js | 101 | // REMOVE_START |
| LOW | doctests/query-geo.js | 61 | console.log(res3.total); // >>> 5 |
| LOW | doctests/query-range.js | 41 | const res1 = await client.ft.search('idx:bicycle', '@price:[500 1000]'); |
| LOW | doctests/query-range.js | 61 | // STEP_END |
| LOW | examples/time-series.js | 81 | |
| LOW | examples/time-series.js | 101 | // { |
| LOW | examples/search-json.js | 101 | // "total": 1, |
| LOW | examples/search-json.js | 141 | // { |
| LOW | examples/cuckoo-filter.js | 61 | |
| LOW | examples/search-hashes.js | 61 | // { |
| LOW | examples/stream-consumer-group.js | 1 | // A sample stream consumer using the blocking variant of XREADGROUP. |
| LOW | examples/stream-consumer-group.js | 61 | id: '>' // Next entry ID that no consumer in this group has read |
| LOW | examples/stream-consumer-group.js | 81 | // "num": "999" |
| LOW | examples/bloom-filter.js | 61 | ]); |
| LOW | examples/search-knn.js | 61 | // results: |
| LOW | examples/search-knn.js | 81 | // } |
| LOW | examples/topk.js | 61 | // [ |
| LOW | examples/search-hybrid.js | 121 | // results: |
| LOW | examples/search-hybrid.js | 141 | // price: '79', |
| LOW | packages/time-series/README.md | 81 | const toTimestamp = 1640995260000; // Jan 1 2022 00:01:00 |
| LOW | packages/time-series/README.md | 141 | ### Retrieving Information about the timeseries Stored in Redis |
| LOW | packages/time-series/README.md | 161 | // chunkType: 'uncompressed', |
| LOW | packages/time-series/lib/commands/index.spec.ts | 1 | // import { RedisCommandArguments } from '@redis/client/lib/commands'; |
| LOW | packages/time-series/lib/commands/index.spec.ts | 21 | // transformRangeReply, |
| LOW | packages/time-series/lib/commands/index.spec.ts | 41 | // ); |
| LOW | packages/time-series/lib/commands/index.spec.ts | 61 | // describe('pushRetentionArgument', () => { |
| LOW | packages/time-series/lib/commands/index.spec.ts | 81 | // }); |
| LOW | packages/time-series/lib/commands/index.spec.ts | 101 | // ); |
| LOW | packages/time-series/lib/commands/index.spec.ts | 121 | // ); |
| LOW | packages/time-series/lib/commands/index.spec.ts | 141 | |
| LOW | packages/time-series/lib/commands/index.spec.ts | 161 | |
| LOW | packages/time-series/lib/commands/index.spec.ts | 181 | // assert.deepEqual( |
| LOW | packages/time-series/lib/commands/index.spec.ts | 201 | |
| LOW | packages/time-series/lib/commands/index.spec.ts | 221 | // it('without options', () => { |
| LOW | packages/time-series/lib/commands/index.spec.ts | 241 | // }), |
| LOW | packages/time-series/lib/commands/index.spec.ts | 261 | // assert.deepEqual( |
| LOW | packages/time-series/lib/commands/index.spec.ts | 281 | // }); |
| LOW | packages/time-series/lib/commands/index.spec.ts | 301 | |
| LOW | packages/time-series/lib/commands/index.spec.ts | 321 | // pushMRangeArguments([], '-', '+', 'label=value'), |
| LOW | packages/time-series/lib/commands/index.spec.ts | 341 | // pushMRangeWithLabelsArguments([], '-', '+', 'label=value'), |
| LOW | packages/time-series/lib/commands/index.spec.ts | 361 | // transformMRangeReply([[ |
| LOW | packages/time-series/lib/commands/index.spec.ts | 381 | // transformMRangeWithLabelsReply([[ |
| LOW | packages/time-series/lib/commands/index.spec.ts | 401 | |
| LOW | packages/time-series/lib/commands/index.spec.ts | 421 | // ); |
| LOW | packages/json/lib/commands/RESP.spec.ts | 21 | }); |
| LOW | packages/client/lib/opentelemetry/metrics.ts | 761 | // options.enabledMetricGroups, |
| LOW | packages/client/lib/RESP/types.ts | 241 | |
| 11 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | examples/check-connection-status.js | 8 | // isOpen will return False here as the client's socket is not open yet. |
| HIGH | examples/check-connection-status.js | 9 | // isReady will return False here, client is not yet ready to use. |
| HIGH | examples/check-connection-status.js | 17 | // isOpen will return True here as the client's socket is open now. |
| HIGH | examples/check-connection-status.js | 18 | // isReady will return False here as the promise hasn't resolved yet. |
| HIGH | examples/check-connection-status.js | 24 | // isOpen will return True here as the client's socket is open now. |
| HIGH | examples/check-connection-status.js | 25 | // isReady will return True here, client is ready to use. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …eries/lib/commands/MRANGE_SELECTED_LABELS_MULTIAGGR.ts | 40 | export function createTransformMRangeSelectedLabelsMultiArguments(command: RedisArgument) { |
| LOW | packages/time-series/lib/commands/helpers.ts | 57 | export function transformTimestampArgument(timestamp: Timestamp): string { |
| LOW | packages/time-series/lib/commands/helpers.ts | 215 | export function parseSelectedLabelsArguments( |
| LOW | …ime-series/lib/commands/MRANGE_WITHLABELS_MULTIAGGR.ts | 38 | export function createTransformMRangeWithLabelsMultiArguments(command: RedisArgument) { |
| LOW | packages/time-series/lib/commands/RANGE_MULTIAGGR.ts | 88 | export function transformRangeMultiArguments( |
| LOW | packages/time-series/lib/commands/MRANGE_MULTIAGGR.ts | 35 | export function createTransformMRangeMultiArguments(command: RedisArgument) { |
| LOW | packages/time-series/lib/commands/MRANGE_WITHLABELS.ts | 32 | export function createTransformMRangeWithLabelsArguments(command: RedisArgument) { |
| LOW | …ges/time-series/lib/commands/MRANGE_SELECTED_LABELS.ts | 34 | export function createTransformMRangeSelectedLabelsArguments(command: RedisArgument) { |
| LOW | packages/time-series/lib/commands/MRANGE.ts | 29 | export function createTransformMRangeArguments(command: RedisArgument) { |
| LOW | packages/time-series/lib/commands/MRANGE_GROUPBY.ts | 71 | export function createTransformMRangeGroupByArguments(command: RedisArgument) { |
| LOW | …-series/lib/commands/MRANGE_SELECTED_LABELS_GROUPBY.ts | 24 | export function createMRangeSelectedLabelsGroupByTransformArguments( |
| LOW | …/time-series/lib/commands/MRANGE_WITHLABELS_GROUPBY.ts | 30 | export function createMRangeWithLabelsGroupByTransformArguments(command: RedisArgument) { |
| LOW | packages/test-utils/lib/dockers.ts | 182 | export async function spawnProxiedRedisServerDocker( |
| LOW | packages/test-utils/lib/dockers.ts | 327 | export async function spawnTlsRedisServerDocker( |
| LOW | packages/test-utils/lib/dockers.ts | 447 | async function spawnRedisClusterNodeDockers( |
| LOW | packages/test-utils/lib/dockers.ts | 506 | async function spawnRedisClusterNodeDocker( |
| LOW | packages/search/lib/commands/PROFILE_SEARCH.ts | 23 | export function extractProfileResultsReply(reply: ReplyUnion): ReplyUnion { |
| LOW | packages/search/lib/commands/PROFILE_SEARCH.ts | 46 | function normalizeLegacyProfileReply(profile: ReplyUnion): ReplyUnion { |
| LOW | packages/search/lib/commands/HYBRID.ts | 438 | function transformHybridSearchResults(reply: unknown): HybridSearchResult { |
| LOW | packages/search/lib/commands/CREATE.ts | 163 | function parseCommonSchemaFieldOptions(parser: CommandParser, fieldOptions: SchemaCommonField) { |
| LOW | …s/client/lib/tests/test-scenario/test-scenario.util.ts | 251 | export function newConnectionReceivedSmigraging(cluster: RedisClusterType<{}, {}, {}, 3, {}>, timeout = 500) { |
| LOW | packages/client/lib/commands/GEORADIUS_WITH.ts | 7 | export function parseGeoRadiusWithArguments( |
| LOW | …kages/client/lib/commands/generic-transformers.spec.ts | 80 | function pushOptionalVariadicArgument( |
| LOW | packages/client/lib/commands/GEORADIUSBYMEMBER_WITH.ts | 7 | export function parseGeoRadiusByMemberWithArguments( |
| LOW | packages/client/lib/commands/GEORADIUSBYMEMBER.ts | 5 | export function parseGeoRadiusByMemberArguments( |
| LOW | packages/client/lib/commands/generic-transformers.ts | 40 | export function transformStringDoubleArgument(num: RedisArgument | number): RedisArgument { |
| LOW | packages/client/lib/commands/generic-transformers.ts | 255 | export function pushVariadicNumberArguments( |
| LOW | packages/client/lib/commands/generic-transformers.ts | 285 | export function parseOptionalVariadicArgument( |
| LOW | packages/client/lib/commands/generic-transformers.ts | 406 | export function transformFunctionListItemReply(reply: FunctionListRawItemReply): FunctionListItemReply { |
| LOW | packages/client/lib/commands/generic-transformers.ts | 543 | export function transformStreamMessageReply(typeMapping: TypeMapping | undefined, reply: StreamMessageRawReply): StreamM |
| LOW | packages/client/lib/commands/generic-transformers.ts | 553 | export function transformStreamMessageNullReply(typeMapping: TypeMapping | undefined, reply: StreamMessageRawReply | Nul |
| LOW | packages/client/lib/commands/generic-transformers.ts | 564 | export function transformStreamMessagesReply( |
| LOW | packages/client/lib/commands/generic-transformers.ts | 752 | export function transformRedisJsonArgument(json: RedisJSON): string { |
| LOW | packages/client/lib/commands/generic-transformers.ts | 761 | export function transformRedisJsonNullReply(json: NullReply | BlobStringReply): NullReply | RedisJSON { |
| LOW | packages/client/lib/commands/VLINKS_WITHSCORES.ts | 6 | function transformVLinksWithScoresReply(reply: Array<Array<BlobStringReply>>): Array<Record<string, DoubleReply>> { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …lient/lib/tests/test-scenario/fault-injector-client.ts | 3 | // TODO remove types and utilize IFaultInjectorClient |