🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

redis-loader

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-loader - npm Package Compare versions

Comparing version
6.1.0
to
6.1.1
+0
-2
dist/scan-stream.d.ts

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { ReadStream, IReadableStreamOptions } from 'bluestream';

@@ -22,5 +21,4 @@ import { RedisLoader } from './redis-loader';

constructor({ redis, command, key, match, count, ...opts }: ScanStreamConstructorOptions);
[Symbol.asyncIterator](): AsyncIterableIterator<(string | Buffer)[]>;
_read(): Promise<void>;
}
export {};

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

const bluestream_1 = require("bluestream");
const scan_iterable_1 = require("./scan-iterable");
// Bluestream based scan streams

@@ -27,11 +26,2 @@ class ScanStream extends bluestream_1.ReadStream {

}
[Symbol.asyncIterator]() {
return scan_iterable_1.scanIterable({
redis: this._redis,
command: this._command,
key: this._key,
match: this._match,
count: this._count
});
}
async _read() {

@@ -38,0 +28,0 @@ const { _key, _match, _count } = this;

+1
-1
{
"name": "redis-loader",
"version": "6.1.0",
"version": "6.1.1",
"description": "An io-redis like object that batches queries with dataloader",

@@ -5,0 +5,0 @@ "author": "Tristan Siegel <tristan.siegel@bustle.com>",