v5.2.5
5.2.5 (2023-01-14)
Bug Fixes
-
Named export to support ESM imports in Typescript (#1695) (cdded57)
With this change, users would be able to import Redis with
import { Redis} from 'ioredis'
. This makes it possible to import Redis in an ESM project. The original way (import Redis from 'ioredis'
) will still be supported but will be deprecated in the next major version.