You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
add node:
to node "core modules" imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import { AggregateGroupByReducers, AggregateSteps, transformArguments } from './AGGREGATE';
|
||||
import { SchemaFieldTypes } from '.';
|
||||
|
@@ -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 './AGGREGATE_WITHCURSOR';
|
||||
import { SchemaFieldTypes } from '.';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import ALIASADD from './ALIASADD';
|
||||
import { SCHEMA_FIELD_TYPE } from './CREATE';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import ALIASDEL from './ALIASDEL';
|
||||
import { SCHEMA_FIELD_TYPE } from './CREATE';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import ALIASUPDATE from './ALIASUPDATE';
|
||||
import { SCHEMA_FIELD_TYPE } from './CREATE';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import ALTER from './ALTER';
|
||||
import { SCHEMA_FIELD_TYPE } from './CREATE';
|
||||
|
@@ -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 './CONFIG_GET';
|
||||
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import CREATE, { SCHEMA_FIELD_TYPE, SCHEMA_TEXT_FIELD_PHONETIC, SCHEMA_VECTOR_FIELD_ALGORITHM, REDISEARCH_LANGUAGE } from './CREATE';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import CURSOR_DEL from './CURSOR_DEL';
|
||||
import { SCHEMA_FIELD_TYPE } from './CREATE';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import { SchemaFieldTypes } from '.';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import { transformArguments } from './CURSOR_READ';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import DICTADD from './DICTADD';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import DICTDEL from './DICTDEL';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import DICTDUMP from './DICTDUMP';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import DROPINDEX from './DROPINDEX';
|
||||
import { SCHEMA_FIELD_TYPE } from './CREATE';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import EXPLAIN from './EXPLAIN';
|
||||
|
||||
describe('EXPLAIN', () => {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import EXPLAINCLI from './EXPLAINCLI';
|
||||
|
||||
describe('EXPLAINCLI', () => {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import { SchemaFieldTypes } from '.';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import { transformArguments } from './INFO';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import { SchemaFieldTypes } from '.';
|
||||
import { transformArguments } from './PROFILE_AGGREGATE';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import { SchemaFieldTypes } from '.';
|
||||
import { transformArguments } from './PROFILE_SEARCH';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import { RedisSearchLanguages, SchemaFieldTypes } from '.';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import { transformArguments } from './SEARCH';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import { SchemaFieldTypes } from '.';
|
||||
import SPELLCHECK from './SPELLCHECK';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import SUGADD from './SUGADD';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import SUGDEL from './SUGDEL';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import SUGGET from './SUGGET';
|
||||
|
||||
|
@@ -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 './SUGGET_WITHPAYLOADS';
|
||||
|
||||
|
@@ -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 './SUGGET_WITHSCORES';
|
||||
|
||||
|
@@ -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 './SUGGET_WITHSCORES_WITHPAYLOADS';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import SUGLEN from './SUGLEN';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import SYNDUMP from './SYNDUMP';
|
||||
import { SCHEMA_FIELD_TYPE } from './CREATE';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import SYNUPDATE from './SYNUPDATE';
|
||||
import { SCHEMA_FIELD_TYPE } from './CREATE';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import TAGVALS from './TAGVALS';
|
||||
import { SCHEMA_FIELD_TYPE } from './CREATE';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import _LIST from './_LIST';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import { pushArgumentsWithLength, pushSortByArguments } from '.';
|
||||
|
||||
describe('pushSortByArguments', () => {
|
||||
|
Reference in New Issue
Block a user