1
0
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:
Leibale
2023-09-18 15:03:07 -04:00
parent 3fa54fef58
commit 266d635a60
495 changed files with 528 additions and 528 deletions

View File

@@ -1,11 +1,11 @@
import { createConnection } from 'net';
import { once } from 'events';
import { createConnection } from 'node:net';
import { once } from 'node:events';
import { createClient } from '@redis/client/index';
import { setTimeout } from 'timers/promises';
// import { ClusterSlotsReply } from '@redis/client/dist/lib/commands/CLUSTER_SLOTS';
import * as path from 'path';
import { promisify } from 'util';
import { exec } from 'child_process';
import * as path from 'node:path';
import { promisify } from 'node:util';
import { exec } from 'node:child_process';
const execAsync = promisify(exec);
interface ErrorWithCode extends Error {