You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
fix #2391 - remove node: prefix from imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { strict as assert } from 'node:assert';
|
||||
import { strict as assert } from 'assert';
|
||||
import { spy } from 'sinon';
|
||||
import { once } from 'node:events';
|
||||
import { once } from 'events';
|
||||
import RedisSocket, { RedisSocketOptions } from './socket';
|
||||
|
||||
describe('Socket', () => {
|
||||
|
@@ -3,9 +3,9 @@ import { RedisClusterClientOptions, RedisClusterOptions } from '.';
|
||||
import { RedisCommandArgument, RedisFunctions, RedisModules, RedisScripts } from '../commands';
|
||||
import { RootNodesUnavailableError } from '../errors';
|
||||
import { ClusterSlotsNode } from '../commands/CLUSTER_SLOTS';
|
||||
import { types } from 'node:util';
|
||||
import { types } from 'util';
|
||||
import { ChannelListeners, PubSubType, PubSubTypeListeners } from '../client/pub-sub';
|
||||
import { EventEmitter } from 'node:stream';
|
||||
import { EventEmitter } from 'stream';
|
||||
|
||||
// We need to use 'require', because it's not possible with Typescript to import
|
||||
// function that are exported as 'module.exports = function`, without esModuleInterop
|
||||
|
Reference in New Issue
Block a user