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,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import ACL_CAT from './ACL_CAT';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import ACL_DELUSER from './ACL_DELUSER';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import ACL_DRYRUN from './ACL_DRYRUN';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import ACL_GENPASS from './ACL_GENPASS';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import ACL_GETUSER from './ACL_GETUSER';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import ACL_LIST from './ACL_LIST';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils from '../test-utils';
import ACL_LOAD from './ACL_LOAD';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import ACL_LOG from './ACL_LOG';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import ACL_LOG_RESET from './ACL_LOG_RESET';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils from '../test-utils';
import ACL_SAVE from './ACL_SAVE';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils from '../test-utils';
import ACL_SETUSER from './ACL_SETUSER';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils from '../test-utils';
import ACL_USERS from './ACL_USERS';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils from '../test-utils';
import ACL_WHOAMI from './ACL_WHOAMI';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import APPEND from './APPEND';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import ASKING from './ASKING';
describe('ASKING', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import AUTH from './AUTH';
describe('AUTH', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import BGREWRITEAOF from './BGREWRITEAOF';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import BGSAVE from './BGSAVE';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import BITCOUNT from './BITCOUNT';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import BITFIELD from './BITFIELD';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import BITFIELD_RO from './BITFIELD_RO';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import BITOP from './BITOP';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import BITPOS from './BITPOS';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL, BLOCKING_MIN_VALUE } from '../test-utils';
import BLMOVE from './BLMOVE';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL, BLOCKING_MIN_VALUE } from '../test-utils';
import BLMPOP from './BLMPOP';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL, BLOCKING_MIN_VALUE } from '../test-utils';
import BLPOP from './BLPOP';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL, BLOCKING_MIN_VALUE } from '../test-utils';
import BRPOP from './BRPOP';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL, BLOCKING_MIN_VALUE } from '../test-utils';
import BRPOPLPUSH from './BRPOPLPUSH';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL, BLOCKING_MIN_VALUE } from '../test-utils';
import BZMPOP from './BZMPOP';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL, BLOCKING_MIN_VALUE } from '../test-utils';
import BZPOPMAX from './BZPOPMAX';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL, BLOCKING_MIN_VALUE } from '../test-utils';
import BZPOPMIN from './BZPOPMIN';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLIENT_CACHING from './CLIENT_CACHING';
describe('CLIENT CACHING', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLIENT_GETNAME from './CLIENT_GETNAME';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLIENT_GETREDIR from './CLIENT_GETREDIR';
describe('CLIENT GETREDIR', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLIENT_ID from './CLIENT_ID';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLIENT_INFO from './CLIENT_INFO';
import testUtils, { GLOBAL } from '../test-utils';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLIENT_KILL, { CLIENT_KILL_FILTERS } from './CLIENT_KILL';
describe('CLIENT KILL', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLIENT_LIST from './CLIENT_LIST';
import testUtils, { GLOBAL } from '../test-utils';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLIENT_NO_EVICT from './CLIENT_NO-EVICT';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLIENT_PAUSE from './CLIENT_PAUSE';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLIENT_SETNAME from './CLIENT_SETNAME';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLIENT_TRACKING from './CLIENT_TRACKING';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLIENT_TRACKINGINFO from './CLIENT_TRACKINGINFO';
import { RESP_TYPES } from '../RESP/decoder';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLIENT_UNPAUSE from './CLIENT_UNPAUSE';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_ADDSLOTS from './CLUSTER_ADDSLOTS';
describe('CLUSTER ADDSLOTS', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils from '../test-utils';
import CLUSTER_ADDSLOTSRANGE from './CLUSTER_ADDSLOTSRANGE';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_BUMPEPOCH from './CLUSTER_BUMPEPOCH';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_COUNT_FAILURE_REPORTS from './CLUSTER_COUNT-FAILURE-REPORTS';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_COUNTKEYSINSLOT from './CLUSTER_COUNTKEYSINSLOT';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_DELSLOTS from './CLUSTER_DELSLOTS';
describe('CLUSTER DELSLOTS', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_DELSLOTSRANGE from './CLUSTER_DELSLOTSRANGE';
describe('CLUSTER DELSLOTSRANGE', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_FAILOVER, { FAILOVER_MODES } from './CLUSTER_FAILOVER';
describe('CLUSTER FAILOVER', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_FLUSHSLOTS from './CLUSTER_FLUSHSLOTS';
describe('CLUSTER FLUSHSLOTS', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_FORGET from './CLUSTER_FORGET';
describe('CLUSTER FORGET', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_GETKEYSINSLOT from './CLUSTER_GETKEYSINSLOT';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import { transformArguments, transformReply } from './CLUSTER_INFO';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_KEYSLOT from './CLUSTER_KEYSLOT';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_LINKS from './CLUSTER_LINKS';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_MEET from './CLUSTER_MEET';
describe('CLUSTER MEET', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_MYID from './CLUSTER_MYID';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_NODES from './CLUSTER_NODES';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_REPLICAS from './CLUSTER_REPLICAS';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_REPLICATE from './CLUSTER_REPLICATE';
describe('CLUSTER REPLICATE', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_RESET from './CLUSTER_RESET';
describe('CLUSTER RESET', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_SAVECONFIG from './CLUSTER_SAVECONFIG';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_SET_CONFIG_EPOCH from './CLUSTER_SET-CONFIG-EPOCH';
describe('CLUSTER SET-CONFIG-EPOCH', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CLUSTER_SETSLOT, { CLUSTER_SLOT_STATES } from './CLUSTER_SETSLOT';
describe('CLUSTER SETSLOT', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CLUSTER_SLOTS from './CLUSTER_SLOTS';

View File

@@ -1,4 +1,4 @@
// import { strict as assert } from 'assert';
// import { strict as assert } from 'node:assert';
// import testUtils, { GLOBAL } from '../test-utils';
// import { transformArguments } from './COMMAND';
// import { assertPingCommand } from './COMMAND_INFO.spec';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import COMMAND_COUNT from './COMMAND_COUNT';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import COMMAND_GETKEYS from './COMMAND_GETKEYS';

View File

@@ -1,4 +1,4 @@
// import { strict as assert } from 'assert';
// import { strict as assert } from 'node:assert';
// import testUtils, { GLOBAL } from '../test-utils';
// import { transformArguments } from './COMMAND_GETKEYSANDFLAGS';

View File

@@ -1,4 +1,4 @@
// import { strict as assert } from 'assert';
// import { strict as assert } from 'node:assert';
// import testUtils, { GLOBAL } from '../test-utils';
// import { transformArguments } from './COMMAND_INFO';
// import { CommandCategories, CommandFlags, CommandReply } from './generic-transformers';

View File

@@ -1,4 +1,4 @@
// import { strict as assert } from 'assert';
// import { strict as assert } from 'node:assert';
// import testUtils, { GLOBAL } from '../test-utils';
// import { transformArguments, FilterBy } from './COMMAND_LIST';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CONFIG_GET from './CONFIG_GET';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CONFIG_RESETSTAT from './CONFIG_RESETSTAT';
describe('CONFIG RESETSTAT', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import CONFIG_REWRITE from './CONFIG_REWRITE';
describe('CONFIG REWRITE', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import CONFIG_SET from './CONFIG_SET';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import COPY from './COPY';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import DBSIZE from './DBSIZE';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import DECR from './DECR';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import DECRBY from './DECRBY';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import DEL from './DEL';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import DISCARD from './DISCARD';
describe('DISCARD', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
describe('DUMP', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import ECHO from './ECHO';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import EVAL from './EVAL';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import EVALSHA from './EVALSHA';
describe('EVALSHA', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils from '../test-utils';
import EVALSHA_RO from './EVALSHA_RO';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import EVAL_RO from './EVAL_RO';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import EXISTS from './EXISTS';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import EXPIRE from './EXPIRE';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import EXPIREAT from './EXPIREAT';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import EXPIRETIME from './EXPIRETIME';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import FAILOVER from './FAILOVER';
describe('FAILOVER', () => {

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import { MATH_FUNCTION, loadMathFunction } from './FUNCTION_LOAD.spec';
import FCALL from './FCALL';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import { MATH_FUNCTION, loadMathFunction } from './FUNCTION_LOAD.spec';
import FCALL_RO from './FCALL_RO';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import FLUSHALL, { REDIS_FLUSH_MODES } from './FLUSHALL';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import FLUSHDB from './FLUSHDB';
import { REDIS_FLUSH_MODES } from './FLUSHALL';

View File

@@ -1,4 +1,4 @@
import { strict as assert } from 'assert';
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import FUNCTION_DELETE from './FUNCTION_DELETE';
import { MATH_FUNCTION, loadMathFunction } from './FUNCTION_LOAD.spec';

Some files were not shown because too many files have changed in this diff Show More