You've already forked node-redis
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:
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import ADD from './ADD';
|
||||
import { TIME_SERIES_ENCODING, TIME_SERIES_DUPLICATE_POLICIES } 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 ALTER from './ALTER';
|
||||
import { TIME_SERIES_DUPLICATE_POLICIES } 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 CREATE from './CREATE';
|
||||
import { TIME_SERIES_ENCODING, TIME_SERIES_DUPLICATE_POLICIES } 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 CREATERULE, { TIME_SERIES_AGGREGATION_TYPE } from './CREATERULE';
|
||||
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import DELETERULE from './DELETERULE';
|
||||
import { TIME_SERIES_AGGREGATION_TYPE } from './CREATERULE';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import GET from './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 INCRBY from './INCRBY';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import { TimeSeriesAggregationType, TimeSeriesDuplicatePolicies } from '.';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import { InfoReply, transformArguments } from './INFO';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import { TimeSeriesAggregationType, TimeSeriesDuplicatePolicies } from '.';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import { assertInfo } from './INFO.spec';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import MADD from './MADD';
|
||||
import { SimpleError } from '@redis/client/lib/errors';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import MGET from './MGET';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import MGET_WITHLABELS from './MGET_WITHLABELS';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import MRANGE from './MRANGE';
|
||||
import { TimeSeriesAggregationType, TimeSeriesReducers } 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 MRANGE_WITHLABELS from './MRANGE_WITHLABELS';
|
||||
import { TIME_SERIES_AGGREGATION_TYPE } from './CREATERULE';
|
||||
|
@@ -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 './MREVRANGE';
|
||||
import { TimeSeriesAggregationType, TimeSeriesReducers } 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 MREVRANGE_WITHLABELS from './MREVRANGE_WITHLABELS';
|
||||
import { TimeSeriesAggregationType, TimeSeriesReducers } 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 QUERYINDEX from './QUERYINDEX';
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import RANGE from './RANGE';
|
||||
import { TIME_SERIES_AGGREGATION_TYPE } from './CREATERULE';
|
||||
|
@@ -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 './REVRANGE';
|
||||
import { TimeSeriesAggregationType } from '.';
|
||||
|
@@ -1,5 +1,5 @@
|
||||
// import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
// import { strict as assert } from 'assert';
|
||||
// import { strict as assert } from 'node:assert';
|
||||
// import {
|
||||
// transformTimestampArgument,
|
||||
// pushRetentionArgument,
|
||||
|
Reference in New Issue
Block a user