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

ioredis

Package Overview
Dependencies
Maintainers
2
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ioredis - npm Package Compare versions

Comparing version 5.2.5 to 5.2.6

5

built/connectors/StandaloneConnector.d.ts

@@ -6,3 +6,5 @@ /// <reference types="node" />

import AbstractConnector, { ErrorEmitter } from "./AbstractConnector";
export declare type StandaloneConnectionOptions = (Partial<TcpNetConnectOpts> & Partial<IpcNetConnectOpts>) & {
declare type TcpOptions = Pick<TcpNetConnectOpts, "port" | "host" | "family">;
declare type IpcOptions = Pick<IpcNetConnectOpts, "path">;
export declare type StandaloneConnectionOptions = Partial<TcpOptions & IpcOptions> & {
disconnectTimeout?: number;

@@ -16,1 +18,2 @@ tls?: ConnectionOptions;

}
export {};

2

built/Redis.js

@@ -264,3 +264,3 @@ "use strict";

? "monitor"
: this.condition.subscriber
: this.condition && this.condition.subscriber
? "subscriber"

@@ -267,0 +267,0 @@ : "normal";

{
"name": "ioredis",
"version": "5.2.5",
"version": "5.2.6",
"description": "A robust, performance-focused and full-featured Redis client for Node.js.",

@@ -47,3 +47,3 @@ "main": "./built/index.js",

"debug": "^4.3.4",
"denque": "^2.0.1",
"denque": "^2.1.0",
"lodash.defaults": "^4.2.0",

@@ -63,4 +63,4 @@ "lodash.isarguments": "^3.1.0",

"@types/debug": "^4.1.5",
"@types/lodash.defaults": "^4.2.6",
"@types/lodash.isarguments": "^3.1.6",
"@types/lodash.defaults": "^4.2.7",
"@types/lodash.isarguments": "^3.1.7",
"@types/mocha": "^9.1.0",

@@ -70,8 +70,8 @@ "@types/node": "^14.18.12",

"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.4.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"mocha": "^9.2.1",

@@ -85,5 +85,5 @@ "nyc": "^15.1.0",

"tsd": "^0.19.1",
"typedoc": "^0.22.12",
"typedoc": "^0.22.18",
"typescript": "^4.6.3",
"uuid": "^8.3.0"
"uuid": "^9.0.0"
},

@@ -90,0 +90,0 @@ "nyc": {

@@ -19,16 +19,16 @@ [![ioredis](https://cdn.jsdelivr.net/gh/luin/ioredis@b5e8c74/logo.svg)](https://github.com/luin/ioredis)

0. Full-featured. It supports [Cluster](http://redis.io/topics/cluster-tutorial), [Sentinel](https://redis.io/docs/reference/sentinel-clients), [Streams](https://redis.io/topics/streams-intro), [Pipelining](http://redis.io/topics/pipelining), and of course [Lua scripting](http://redis.io/commands/eval), [Redis Functions](https://redis.io/topics/functions-intro), [Pub/Sub](http://redis.io/topics/pubsub) (with the support of binary messages).
0. High performance 🚀.
0. Delightful API 😄. It works with Node callbacks and Native promises.
0. Transformation of command arguments and replies.
0. Transparent key prefixing.
0. Abstraction for Lua scripting, allowing you to [define custom commands](https://github.com/luin/ioredis#lua-scripting).
0. Supports [binary data](https://github.com/luin/ioredis#handle-binary-data).
0. Supports [TLS](https://github.com/luin/ioredis#tls-options) 🔒.
0. Supports offline queue and ready checking.
0. Supports ES6 types, such as `Map` and `Set`.
0. Supports GEO commands 📍.
0. Supports Redis ACL.
0. Sophisticated error handling strategy.
0. Supports NAT mapping.
0. Supports autopipelining.
1. High performance 🚀.
2. Delightful API 😄. It works with Node callbacks and Native promises.
3. Transformation of command arguments and replies.
4. Transparent key prefixing.
5. Abstraction for Lua scripting, allowing you to [define custom commands](https://github.com/luin/ioredis#lua-scripting).
6. Supports [binary data](https://github.com/luin/ioredis#handle-binary-data).
7. Supports [TLS](https://github.com/luin/ioredis#tls-options) 🔒.
8. Supports offline queue and ready checking.
9. Supports ES6 types, such as `Map` and `Set`.
10. Supports GEO commands 📍.
11. Supports Redis ACL.
12. Sophisticated error handling strategy.
13. Supports NAT mapping.
14. Supports autopipelining.

@@ -70,12 +70,2 @@ **100% written in TypeScript and official declarations are provided:**

### Redis Cloud: From the creators of Redis
<a href="https://redis.info/ioredis-tryfree"><img align="right" width="320" src="resources/redis-tryfree.png" alt="redis-tryfree"></a>
Experience the best Redis. For a limited time, sign up to Redis Enterprise Cloud and use **MATRIX200** to get $200 credits, and a chance to win a Tesla!
[Sign Up Now!](https://redis.info/ioredis-tryfree)
<br clear="both"/>
### Medis: Redis GUI for macOS

@@ -120,6 +110,6 @@

// Import ioredis.
// You can also use `import Redis from "ioredis"`
// You can also use `import { Redis } from "ioredis"`
// if your project is a TypeScript project,
// or `import { default as Redis } from "ioredis"`
// if it is an ESM module.
// Note that `import Redis from "ioredis"` is still supported,
// but will be deprecated in the next major version.
const Redis = require("ioredis");

@@ -163,10 +153,10 @@

* [TTL](examples/ttl.js)
* [Strings](examples/string.js)
* [Hashes](examples/hash.js)
* [Lists](examples/list.js)
* [Sets](examples/set.js)
* [Sorted Sets](examples/zset.js)
* [Streams](examples/stream.js)
* [Redis Modules](examples/module.js) e.g. RedisJSON
- [TTL](examples/ttl.js)
- [Strings](examples/string.js)
- [Hashes](examples/hash.js)
- [Lists](examples/list.js)
- [Sets](examples/set.js)
- [Sorted Sets](examples/zset.js)
- [Streams](examples/stream.js)
- [Redis Modules](examples/module.js) e.g. RedisJSON

@@ -173,0 +163,0 @@ All Redis commands are supported. See [the documentation](https://luin.github.io/ioredis/classes/Redis.html) for details.

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