@tsed/ioredis 7.3.1 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IORedisTest.js","sourceRoot":"","sources":["../../../src/domain/IORedisTest.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"IORedisTest.js","sourceRoot":"","sources":["../../../src/domain/IORedisTest.ts"],"names":[],"mappings":";;;AAAA,iCAAgC;AAChC,8DAAyD;AAEzD,MAAa,WAAY,SAAQ,WAAM;IACrC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAqC;QACvD,MAAM,OAAO,GAAG,IAAA,iCAAe,GAAE,CAAC;QAElC,MAAM,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QAE1D,OAAO,WAAM,CAAC,MAAM,CAAC;YACnB,GAAG,WAAW,CAAC,OAAO;YACtB,GAAG,OAAO;YACV,OAAO,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,IAAI,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC;SACnD,CAAC,CAAC;IACL,CAAC;CACF;AAZD,kCAYC","sourcesContent":["import {DITest} from \"@tsed/di\";\nimport {mockConnections} from \"../utils/mockConnections\";\n\nexport class IORedisTest extends DITest {\n static async create(options?: Partial<TsED.Configuration>) {\n const imports = mockConnections();\n\n await Promise.all(imports.map(({use}) => use.flushall()));\n\n return DITest.create({\n ...IORedisTest.options,\n ...options,\n imports: [...(options?.imports || []), ...imports]\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IORedisTest.js","sourceRoot":"","sources":["../../../src/domain/IORedisTest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"IORedisTest.js","sourceRoot":"","sources":["../../../src/domain/IORedisTest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAEzD,MAAM,OAAO,WAAY,SAAQ,MAAM;IACrC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAqC;QACvD,MAAM,OAAO,GAAG,eAAe,EAAE,CAAC;QAElC,MAAM,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QAE1D,OAAO,MAAM,CAAC,MAAM,CAAC;YACnB,GAAG,WAAW,CAAC,OAAO;YACtB,GAAG,OAAO;YACV,OAAO,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,IAAI,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC;SACnD,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import {DITest} from \"@tsed/di\";\nimport {mockConnections} from \"../utils/mockConnections\";\n\nexport class IORedisTest extends DITest {\n static async create(options?: Partial<TsED.Configuration>) {\n const imports = mockConnections();\n\n await Promise.all(imports.map(({use}) => use.flushall()));\n\n return DITest.create({\n ...IORedisTest.options,\n ...options,\n imports: [...(options?.imports || []), ...imports]\n });\n }\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DITest
|
|
1
|
+
import { DITest } from "@tsed/di";
|
|
2
2
|
export declare class IORedisTest extends DITest {
|
|
3
|
-
static create(options?:
|
|
3
|
+
static create(options?: Partial<TsED.Configuration>): Promise<void>;
|
|
4
4
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/ioredis",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0",
|
|
4
4
|
"description": "IO Redis connection for Ts.ED",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"tslib": "2.4.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@tsed/core": "7.
|
|
28
|
-
"@tsed/di": "7.
|
|
27
|
+
"@tsed/core": "7.4.0",
|
|
28
|
+
"@tsed/di": "7.4.0",
|
|
29
29
|
"@types/ioredis-mock": "^5.6.0",
|
|
30
30
|
"ioredis": "5.2.3",
|
|
31
31
|
"ioredis-mock": "8.2.2"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@tsed/core": "^7.
|
|
35
|
-
"@tsed/di": "^7.
|
|
34
|
+
"@tsed/core": "^7.4.0",
|
|
35
|
+
"@tsed/di": "^7.4.0",
|
|
36
36
|
"ioredis": ">=5.2.3",
|
|
37
37
|
"ioredis-mock": ">=8.2.2"
|
|
38
38
|
},
|