1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

fix some missing node: prefix

This commit is contained in:
Leibale
2023-09-18 17:15:28 -04:00
parent d009de1acf
commit 67900a50fa
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ import { EventEmitter } from 'node:events';
import * as net from 'node:net'; import * as net from 'node:net';
import * as tls from 'node:tls'; import * as tls from 'node:tls';
import { ConnectionTimeoutError, ClientClosedError, SocketClosedUnexpectedlyError, ReconnectStrategyError } from '../errors'; import { ConnectionTimeoutError, ClientClosedError, SocketClosedUnexpectedlyError, ReconnectStrategyError } from '../errors';
import { setTimeout } from 'timers/promises'; import { setTimeout } from 'node:timers/promises';
import { RedisArgument } from '../RESP/types'; import { RedisArgument } from '../RESP/types';
export interface RedisSocketCommonOptions { export interface RedisSocketCommonOptions {

View File

@@ -1,6 +1,6 @@
import TestUtils from '@redis/test-utils'; import TestUtils from '@redis/test-utils';
import { SinonSpy } from 'sinon'; import { SinonSpy } from 'sinon';
import { setTimeout } from 'timers/promises'; import { setTimeout } from 'node:timers/promises';
const utils = new TestUtils({ const utils = new TestUtils({
dockerImageName: 'redis', dockerImageName: 'redis',

View File

@@ -1,7 +1,7 @@
import { createConnection } from 'node:net'; import { createConnection } from 'node:net';
import { once } from 'node:events'; import { once } from 'node:events';
import { createClient } from '@redis/client/index'; import { createClient } from '@redis/client/index';
import { setTimeout } from 'timers/promises'; import { setTimeout } from 'node:timers/promises';
// import { ClusterSlotsReply } from '@redis/client/dist/lib/commands/CLUSTER_SLOTS'; // import { ClusterSlotsReply } from '@redis/client/dist/lib/commands/CLUSTER_SLOTS';
import * as path from 'node:path'; import * as path from 'node:path';
import { promisify } from 'node:util'; import { promisify } from 'node:util';