Comparing version 5.3.1 to 5.3.2
@@ -210,2 +210,16 @@ /// <reference types="node" /> | ||
interface Redis extends EventEmitter { | ||
on(event: "message", cb: (channel: string, message: string) => void): this; | ||
once(event: "message", cb: (channel: string, message: string) => void): this; | ||
on(event: "messageBuffer", cb: (channel: Buffer, message: Buffer) => void): this; | ||
once(event: "messageBuffer", cb: (channel: Buffer, message: Buffer) => void): this; | ||
on(event: "pmessage", cb: (pattern: string, channel: string, message: string) => void): this; | ||
once(event: "pmessage", cb: (pattern: string, channel: string, message: string) => void): this; | ||
on(event: "pmessageBuffer", cb: (pattern: string, channel: Buffer, message: Buffer) => void): this; | ||
once(event: "pmessageBuffer", cb: (pattern: string, channel: Buffer, message: Buffer) => void): this; | ||
on(event: "error", cb: (error: Error) => void): this; | ||
once(event: "error", cb: (error: Error) => void): this; | ||
on(event: RedisStatus, cb: () => void): this; | ||
once(event: RedisStatus, cb: () => void): this; | ||
on(event: string | symbol, listener: (...args: any[]) => void): this; | ||
once(event: string | symbol, listener: (...args: any[]) => void): this; | ||
} | ||
@@ -212,0 +226,0 @@ interface Redis extends Transaction { |
{ | ||
"name": "ioredis", | ||
"version": "5.3.1", | ||
"version": "5.3.2", | ||
"description": "A robust, performance-focused and full-featured Redis client for Node.js.", | ||
@@ -5,0 +5,0 @@ "main": "./built/index.js", |
@@ -11,3 +11,3 @@ [![ioredis](https://cdn.jsdelivr.net/gh/luin/ioredis@b5e8c74/logo.svg)](https://github.com/luin/ioredis) | ||
Supports Redis >= 2.6.12 and (Node.js >= 12.22.0). Completely compatible with Redis 7.x. | ||
Supports Redis >= 2.6.12 and the latest version of [Dragonfly](https://dragonflydb.io/). Completely compatible with Redis 7.x. | ||
@@ -888,2 +888,11 @@ # Features | ||
If you do not want to use a connection string, you can also specify an empty `tls: {}` object: | ||
```javascript | ||
const redis = new Redis({ | ||
host: 'redis.my-service.com', | ||
tls: {} | ||
}); | ||
``` | ||
### TLS Profiles | ||
@@ -890,0 +899,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
696984
15125
1443