Breaking changes
This changes from a default export to a named export to support a consistent API between both CJS and ESM. Support for Node 16 has also been removed.
Migration from v7
If you are using ESM (import
) modules:
// Previously
import RedisStore from "connect-redis"
// Now
import {RedisStore} from "connect-redis"
If you are using CommonJS (require
) modules:
// Previously
const RedisStore = require("connect-redis").default
// Now
const {RedisStore} = require("connect-redis")