You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

redisearch

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redisearch - npm Package Compare versions

Comparing version

to
1.0.4

5

lib/redis-search.js

@@ -96,2 +96,6 @@ 'use strict';

Search.prototype.count = async function (namespace) {
return await redisClient.scard(`${namespace}:ids`);
};
function getKeys(namespace, data) {

@@ -183,2 +187,3 @@ var keys = {};

cmds.push(['sadd', namespace + ':id:' + id + ':indices', index]);
cmds.push(['sadd', namespace + ':ids', id]);
}

@@ -185,0 +190,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"description": "A plugin to search data with redis",
"version": "1.0.3",
"version": "1.0.4",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",