You've already forked node-redis
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:
@@ -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 {
|
||||||
|
@@ -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',
|
||||||
|
@@ -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';
|
||||||
|
Reference in New Issue
Block a user