redis
Advanced tools
Comparing version 5.0.0-next.2 to 5.0.0-next.3
@@ -1,7 +0,13 @@ | ||
import { createClient as _createClient, createCluster as _createCluster, } from '@redis/client'; | ||
import RedisBloomModules from '@redis/bloom'; | ||
import RedisGraph from '@redis/graph'; | ||
import RedisJSON from '@redis/json'; | ||
import RediSearch from '@redis/search'; | ||
import RedisTimeSeries from '@redis/time-series'; | ||
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createCluster = exports.createClient = void 0; | ||
const client_1 = require("@redis/client"); | ||
const bloom_1 = __importDefault(require("@redis/bloom")); | ||
const graph_1 = __importDefault(require("@redis/graph")); | ||
const json_1 = __importDefault(require("@redis/json")); | ||
const search_1 = __importDefault(require("@redis/search")); | ||
const time_series_1 = __importDefault(require("@redis/time-series")); | ||
// export * from '@redis/client'; | ||
@@ -14,10 +20,10 @@ // export * from '@redis/bloom'; | ||
const modules = { | ||
...RedisBloomModules, | ||
graph: RedisGraph, | ||
json: RedisJSON, | ||
ft: RediSearch, | ||
ts: RedisTimeSeries | ||
...bloom_1.default, | ||
graph: graph_1.default, | ||
json: json_1.default, | ||
ft: search_1.default, | ||
ts: time_series_1.default | ||
}; | ||
export function createClient(options) { | ||
return _createClient({ | ||
function createClient(options) { | ||
return (0, client_1.createClient)({ | ||
...options, | ||
@@ -30,4 +36,5 @@ modules: { | ||
} | ||
export function createCluster(options) { | ||
return _createCluster({ | ||
exports.createClient = createClient; | ||
function createCluster(options) { | ||
return (0, client_1.createCluster)({ | ||
...options, | ||
@@ -40,1 +47,2 @@ modules: { | ||
} | ||
exports.createCluster = createCluster; |
{ | ||
"name": "redis", | ||
"description": "A modern, high performance Redis client", | ||
"version": "5.0.0-next.2", | ||
"version": "5.0.0-next.3", | ||
"license": "MIT", | ||
@@ -9,11 +9,12 @@ "main": "./dist/index.js", | ||
"files": [ | ||
"dist/" | ||
"dist/", | ||
"!dist/tsconfig.tsbuildinfo" | ||
], | ||
"dependencies": { | ||
"@redis/bloom": "2.0.0-next.1", | ||
"@redis/client": "2.0.0-next.3", | ||
"@redis/graph": "2.0.0-next.1", | ||
"@redis/json": "2.0.0-next.1", | ||
"@redis/search": "2.0.0-next.1", | ||
"@redis/time-series": "2.0.0-next.1" | ||
"@redis/bloom": "2.0.0-next.2", | ||
"@redis/client": "2.0.0-next.4", | ||
"@redis/graph": "2.0.0-next.2", | ||
"@redis/json": "2.0.0-next.2", | ||
"@redis/search": "2.0.0-next.2", | ||
"@redis/time-series": "2.0.0-next.2" | ||
}, | ||
@@ -20,0 +21,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2172
0
191812
4
+ Added@redis/bloom@2.0.0-next.2(transitive)
+ Added@redis/client@2.0.0-next.4(transitive)
+ Added@redis/graph@2.0.0-next.2(transitive)
+ Added@redis/json@2.0.0-next.2(transitive)
+ Added@redis/search@2.0.0-next.2(transitive)
+ Added@redis/time-series@2.0.0-next.2(transitive)
- Removed@redis/bloom@2.0.0-next.1(transitive)
- Removed@redis/client@2.0.0-next.3(transitive)
- Removed@redis/graph@2.0.0-next.1(transitive)
- Removed@redis/json@2.0.0-next.1(transitive)
- Removed@redis/search@2.0.0-next.1(transitive)
- Removed@redis/time-series@2.0.0-next.1(transitive)
Updated@redis/bloom@2.0.0-next.2
Updated@redis/client@2.0.0-next.4
Updated@redis/graph@2.0.0-next.2
Updated@redis/json@2.0.0-next.2
Updated@redis/search@2.0.0-next.2