1
0
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:
Leibale Eidelman
2023-01-25 20:37:00 -05:00
committed by GitHub
parent c6e1124dff
commit 3bd28a9924
2 changed files with 4 additions and 4 deletions

View File

@@ -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', () => {

View File

@@ -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