@tsed/testcontainers-mongo 7.82.2 → 7.82.3
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.
|
@@ -5,10 +5,10 @@ const common_1 = require("@tsed/common");
|
|
|
5
5
|
const mongoose_1 = require("@tsed/mongoose");
|
|
6
6
|
const ContainerUtils_js_1 = require("./ContainerUtils.js");
|
|
7
7
|
class TestContainersMongo {
|
|
8
|
-
static startMongoServer = ContainerUtils_js_1.startMongoServer;
|
|
9
|
-
static stopMongoServer = ContainerUtils_js_1.stopMongoServer;
|
|
10
|
-
static getMongoConnectionsOptions = ContainerUtils_js_1.getMongoConnectionsOptions;
|
|
11
|
-
static getMongoConnectionOptions = ContainerUtils_js_1.getMongoConnectionOptions;
|
|
8
|
+
static { this.startMongoServer = ContainerUtils_js_1.startMongoServer; }
|
|
9
|
+
static { this.stopMongoServer = ContainerUtils_js_1.stopMongoServer; }
|
|
10
|
+
static { this.getMongoConnectionsOptions = ContainerUtils_js_1.getMongoConnectionsOptions; }
|
|
11
|
+
static { this.getMongoConnectionOptions = ContainerUtils_js_1.getMongoConnectionOptions; }
|
|
12
12
|
static create(options = {}) {
|
|
13
13
|
return common_1.PlatformTest.create({
|
|
14
14
|
...options,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestContainersMongo.js","sourceRoot":"","sources":["../../../src/services/TestContainersMongo.ts"],"names":[],"mappings":";;;AAAA,yCAA0C;AAC1C,6CAA+C;AAC/C,2DAA6H;AAE7H,MAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"TestContainersMongo.js","sourceRoot":"","sources":["../../../src/services/TestContainersMongo.ts"],"names":[],"mappings":";;;AAAA,yCAA0C;AAC1C,6CAA+C;AAC/C,2DAA6H;AAE7H,MAAa,mBAAmB;aACvB,qBAAgB,GAAG,oCAAgB,CAAC;aACpC,oBAAe,GAAG,mCAAe,CAAC;aAClC,+BAA0B,GAAG,8CAA0B,CAAC;aACxD,8BAAyB,GAAG,6CAAyB,CAAC;IAE7D,MAAM,CAAC,MAAM,CAAC,UAAuC,EAAE;QACrD,OAAO,qBAAY,CAAC,MAAM,CAAC;YACzB,GAAG,OAAO;YACV,QAAQ,EAAE,IAAA,8CAA0B,GAAE;SACvC,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,SAAS,CAAC,GAAY,EAAE,OAAoC,EAAE;QACnE,OAAO,GAAG,EAAE,CACV,qBAAY,CAAC,SAAS,CAAC,GAAG,EAAE;YAC1B,QAAQ,EAAE,IAAA,8CAA0B,GAAE;YACtC,GAAG,IAAI;SACR,CAAC,EAAE,CAAC;IACT,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,cAAuB;QACxC,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE;YACtC,MAAM,mBAAmB,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;SAC3D;QAED,OAAO,qBAAY,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,cAAsB;QACjD,MAAM,OAAO,GAAG,qBAAY,CAAC,QAAQ,CAAC,GAAG,CAAkB,0BAAe,CAAE,CAAC;QAE7E,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC,GAAG,CAAC,SAAS,CAAE,CAAC;QAE9C,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE;YAChC,OAAO,CAAC,KAAK,CAAC,cAAc,cAAc,gDAAgD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;YACtH,OAAO;SACR;QAED,MAAM,WAAW,CAAC,cAAc,CAAC,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IACnD,CAAC;;AAxCH,kDAyCC"}
|
|
@@ -2,10 +2,10 @@ import { PlatformTest } from "@tsed/common";
|
|
|
2
2
|
import { MongooseService } from "@tsed/mongoose";
|
|
3
3
|
import { getMongoConnectionOptions, getMongoConnectionsOptions, startMongoServer, stopMongoServer } from "./ContainerUtils.js";
|
|
4
4
|
export class TestContainersMongo {
|
|
5
|
-
static startMongoServer = startMongoServer;
|
|
6
|
-
static stopMongoServer = stopMongoServer;
|
|
7
|
-
static getMongoConnectionsOptions = getMongoConnectionsOptions;
|
|
8
|
-
static getMongoConnectionOptions = getMongoConnectionOptions;
|
|
5
|
+
static { this.startMongoServer = startMongoServer; }
|
|
6
|
+
static { this.stopMongoServer = stopMongoServer; }
|
|
7
|
+
static { this.getMongoConnectionsOptions = getMongoConnectionsOptions; }
|
|
8
|
+
static { this.getMongoConnectionOptions = getMongoConnectionOptions; }
|
|
9
9
|
static create(options = {}) {
|
|
10
10
|
return PlatformTest.create({
|
|
11
11
|
...options,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestContainersMongo.js","sourceRoot":"","sources":["../../../src/services/TestContainersMongo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAC,yBAAyB,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAE7H,MAAM,OAAO,mBAAmB;
|
|
1
|
+
{"version":3,"file":"TestContainersMongo.js","sourceRoot":"","sources":["../../../src/services/TestContainersMongo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAC,yBAAyB,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAE7H,MAAM,OAAO,mBAAmB;aACvB,qBAAgB,GAAG,gBAAgB,CAAC;aACpC,oBAAe,GAAG,eAAe,CAAC;aAClC,+BAA0B,GAAG,0BAA0B,CAAC;aACxD,8BAAyB,GAAG,yBAAyB,CAAC;IAE7D,MAAM,CAAC,MAAM,CAAC,UAAuC,EAAE;QACrD,OAAO,YAAY,CAAC,MAAM,CAAC;YACzB,GAAG,OAAO;YACV,QAAQ,EAAE,0BAA0B,EAAE;SACvC,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,SAAS,CAAC,GAAY,EAAE,OAAoC,EAAE;QACnE,OAAO,GAAG,EAAE,CACV,YAAY,CAAC,SAAS,CAAC,GAAG,EAAE;YAC1B,QAAQ,EAAE,0BAA0B,EAAE;YACtC,GAAG,IAAI;SACR,CAAC,EAAE,CAAC;IACT,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,cAAuB;QACxC,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE;YACtC,MAAM,mBAAmB,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;SAC3D;QAED,OAAO,YAAY,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,cAAsB;QACjD,MAAM,OAAO,GAAG,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAkB,eAAe,CAAE,CAAC;QAE7E,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC,GAAG,CAAC,SAAS,CAAE,CAAC;QAE9C,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE;YAChC,OAAO,CAAC,KAAK,CAAC,cAAc,cAAc,gDAAgD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;YACtH,OAAO;SACR;QAED,MAAM,WAAW,CAAC,cAAc,CAAC,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IACnD,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/testcontainers-mongo",
|
|
3
3
|
"description": "A module to test Ts.ED code that use MongoDB as database using Test Containers",
|
|
4
4
|
"type": "commonjs",
|
|
5
|
-
"version": "7.82.
|
|
5
|
+
"version": "7.82.3",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/cjs/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -30,22 +30,22 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@testcontainers/mongodb": ">=10.11.0",
|
|
33
|
-
"@tsed/barrels": "7.82.
|
|
34
|
-
"@tsed/common": "7.82.
|
|
35
|
-
"@tsed/core": "7.82.
|
|
36
|
-
"@tsed/di": "7.82.
|
|
37
|
-
"@tsed/mongoose": "7.82.
|
|
38
|
-
"@tsed/typescript": "7.82.
|
|
33
|
+
"@tsed/barrels": "7.82.3",
|
|
34
|
+
"@tsed/common": "7.82.3",
|
|
35
|
+
"@tsed/core": "7.82.3",
|
|
36
|
+
"@tsed/di": "7.82.3",
|
|
37
|
+
"@tsed/mongoose": "7.82.3",
|
|
38
|
+
"@tsed/typescript": "7.82.3",
|
|
39
39
|
"eslint": "^8.57.0",
|
|
40
40
|
"testcontainers": ">=10.11.0",
|
|
41
41
|
"typescript": "4.9.5"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@testcontainers/mongodb": ">=10.11.0",
|
|
45
|
-
"@tsed/common": "7.82.
|
|
46
|
-
"@tsed/core": "7.82.
|
|
47
|
-
"@tsed/di": "7.82.
|
|
48
|
-
"@tsed/mongoose": "7.82.
|
|
45
|
+
"@tsed/common": "7.82.3",
|
|
46
|
+
"@tsed/core": "7.82.3",
|
|
47
|
+
"@tsed/di": "7.82.3",
|
|
48
|
+
"@tsed/mongoose": "7.82.3",
|
|
49
49
|
"testcontainers": ">=10.11.0"
|
|
50
50
|
},
|
|
51
51
|
"repository": "https://github.com/tsedio/tsed",
|