You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
add node:
to node "core modules" imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { createClient } from 'redis-v3';
|
||||
import { once } from 'events';
|
||||
import { promisify } from 'util';
|
||||
import { once } from 'node:events';
|
||||
import { promisify } from 'node:util';
|
||||
|
||||
export default async (host, { randomString }) => {
|
||||
const client = createClient({ host }),
|
||||
|
Reference in New Issue
Block a user