Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

handy-redis

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

handy-redis - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

5

dist/flatten.js

@@ -6,5 +6,8 @@ "use strict";

for (const item of array) {
Array.isArray(item) ? flat.push(...exports.flattenDeep(item)) : flat.push(item);
const values = Array.isArray(item) ? exports.flattenDeep(item) : [item];
for (const val of values) {
flat.push(val);
}
}
return flat;
};

3

dist/index.js

@@ -17,6 +17,7 @@ "use strict";

else {
handyClient[key] = (...args) => new Promise((resolve, reject) => {
const wrapped = (...args) => new Promise((resolve, reject) => {
const flattened = flatten_1.flattenDeep(args);
func.apply(nodeRedis, flattened.concat([(err, data) => err ? reject(err) : resolve(data)]));
});
handyClient[key] = wrapped;
}

@@ -23,0 +24,0 @@ });

import { Multi } from "redis";
export declare const useUnderlyingImpl: Set<"object" | "del" | "select" | "time" | "command" | "sync" | "readonly" | "readwrite" | "auth" | "subscribe" | "unsubscribe" | "psubscribe" | "punsubscribe" | "redis" | "append" | "bgrewriteaof" | "bgsave" | "bitcount" | "bitfield" | "bitop" | "bitpos" | "blpop" | "brpop" | "brpoplpush" | "bzpopmin" | "bzpopmax" | "dbsize" | "decr" | "decrby" | "discard" | "dump" | "echo" | "eval" | "evalsha" | "exec" | "exists" | "expire" | "expireat" | "flushall" | "flushdb" | "geoadd" | "geohash" | "geopos" | "geodist" | "georadius" | "georadiusbymember" | "get" | "getbit" | "getrange" | "getset" | "hdel" | "hexists" | "hget" | "hgetall" | "hincrby" | "hincrbyfloat" | "hkeys" | "hlen" | "hmget" | "hmset" | "hset" | "hsetnx" | "hstrlen" | "hvals" | "incr" | "incrby" | "incrbyfloat" | "info" | "lolwut" | "keys" | "lastsave" | "lindex" | "linsert" | "llen" | "lpop" | "lpush" | "lpushx" | "lrange" | "lrem" | "lset" | "ltrim" | "mget" | "migrate" | "monitor" | "move" | "mset" | "msetnx" | "multi" | "persist" | "pexpire" | "pexpireat" | "pfadd" | "pfcount" | "pfmerge" | "ping" | "psetex" | "pubsub" | "pttl" | "publish" | "quit" | "randomkey" | "rename" | "renamenx" | "restore" | "role" | "rpop" | "rpoplpush" | "rpush" | "rpushx" | "sadd" | "save" | "scard" | "sdiff" | "sdiffstore" | "set" | "setbit" | "setex" | "setnx" | "setrange" | "shutdown" | "sinter" | "sinterstore" | "sismember" | "slaveof" | "replicaof" | "slowlog" | "smembers" | "smove" | "sort" | "spop" | "srandmember" | "srem" | "strlen" | "sunion" | "sunionstore" | "swapdb" | "psync" | "touch" | "ttl" | "type" | "unlink" | "unwatch" | "wait" | "watch" | "zadd" | "zcard" | "zcount" | "zincrby" | "zinterstore" | "zlexcount" | "zpopmax" | "zpopmin" | "zrange" | "zrangebylex" | "zrevrangebylex" | "zrangebyscore" | "zrank" | "zrem" | "zremrangebylex" | "zremrangebyrank" | "zremrangebyscore" | "zrevrange" | "zrevrangebyscore" | "zrevrank" | "zscore" | "zunionstore" | "scan" | "sscan" | "hscan" | "zscan" | "xinfo" | "xadd" | "xtrim" | "xdel" | "xrange" | "xrevrange" | "xlen" | "xread" | "xgroup" | "xreadgroup" | "xack" | "xclaim" | "xpending" | "execMulti">;
export declare const useUnderlyingImpl: Set<"object" | "del" | "select" | "time" | "sync" | "readonly" | "readwrite" | "auth" | "get" | "set" | "ping" | "subscribe" | "unsubscribe" | "psubscribe" | "punsubscribe" | "redis" | "append" | "bgrewriteaof" | "bgsave" | "bitcount" | "bitfield" | "bitop" | "bitpos" | "blpop" | "brpop" | "brpoplpush" | "bzpopmin" | "bzpopmax" | "command" | "dbsize" | "decr" | "decrby" | "discard" | "dump" | "echo" | "eval" | "evalsha" | "exec" | "exists" | "expire" | "expireat" | "flushall" | "flushdb" | "geoadd" | "geohash" | "geopos" | "geodist" | "georadius" | "georadiusbymember" | "getbit" | "getrange" | "getset" | "hdel" | "hexists" | "hget" | "hgetall" | "hincrby" | "hincrbyfloat" | "hkeys" | "hlen" | "hmget" | "hmset" | "hset" | "hsetnx" | "hstrlen" | "hvals" | "incr" | "incrby" | "incrbyfloat" | "info" | "lolwut" | "keys" | "lastsave" | "lindex" | "linsert" | "llen" | "lpop" | "lpush" | "lpushx" | "lrange" | "lrem" | "lset" | "ltrim" | "mget" | "migrate" | "monitor" | "move" | "mset" | "msetnx" | "multi" | "persist" | "pexpire" | "pexpireat" | "pfadd" | "pfcount" | "pfmerge" | "psetex" | "pubsub" | "pttl" | "publish" | "quit" | "randomkey" | "rename" | "renamenx" | "restore" | "role" | "rpop" | "rpoplpush" | "rpush" | "rpushx" | "sadd" | "save" | "scard" | "sdiff" | "sdiffstore" | "setbit" | "setex" | "setnx" | "setrange" | "shutdown" | "sinter" | "sinterstore" | "sismember" | "slaveof" | "replicaof" | "slowlog" | "smembers" | "smove" | "sort" | "spop" | "srandmember" | "srem" | "strlen" | "sunion" | "sunionstore" | "swapdb" | "psync" | "touch" | "ttl" | "type" | "unlink" | "unwatch" | "wait" | "watch" | "zadd" | "zcard" | "zcount" | "zincrby" | "zinterstore" | "zlexcount" | "zpopmax" | "zpopmin" | "zrange" | "zrangebylex" | "zrevrangebylex" | "zrangebyscore" | "zrank" | "zrem" | "zremrangebylex" | "zremrangebyrank" | "zremrangebyscore" | "zrevrange" | "zrevrangebyscore" | "zrevrank" | "zscore" | "zunionstore" | "scan" | "sscan" | "hscan" | "zscan" | "xinfo" | "xadd" | "xtrim" | "xdel" | "xrange" | "xrevrange" | "xlen" | "xread" | "xgroup" | "xreadgroup" | "xack" | "xclaim" | "xpending" | "execMulti">;
export declare const additionalFunctions: {

@@ -4,0 +4,0 @@ /** promisified multi execution */

{
"name": "handy-redis",
"version": "1.8.0",
"version": "1.8.1",
"description": "A wrapper around node_redis with Promise and TypeScript support.",

@@ -46,2 +46,7 @@ "main": "dist/index.js",

"jest": {
"globals": {
"ts-jest": {
"diagnostics": false
}
},
"transform": {

@@ -71,3 +76,3 @@ "^.+\\.tsx?$": "ts-jest"

"@types/lodash": "^4.14.120",
"@types/node": "^7.0.69",
"@types/node": "^12.12.37",
"@types/shelljs": "^0.8.5",

@@ -80,3 +85,3 @@ "@types/yamljs": "^0.2.30",

"dotenv-extended": "^2.3.0",
"jest": "^24.8.0",
"jest": "^25.1.0",
"lodash": "^4.17.14",

@@ -89,8 +94,8 @@ "npm-run-all": "^4.1.5",

"shx": "^0.3.2",
"ts-jest": "^24.1.0",
"ts-jest": "^25.0.0",
"ts-node": "^8.3.0",
"tslint": "^5.18.0",
"typescript": "^3.0.1",
"tslint": "^6.0.0",
"typescript": "^3.8.3",
"yamljs": "^0.3.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc