@midwayjs/mongoose 3.17.2 → 3.18.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.
- package/dist/configuration.js +1 -1
- package/package.json +5 -5
package/dist/configuration.js
CHANGED
|
@@ -21,7 +21,7 @@ let MongooseConfiguration = class MongooseConfiguration {
|
|
|
21
21
|
// find status not ready
|
|
22
22
|
let clientName;
|
|
23
23
|
for (const name of clientNames) {
|
|
24
|
-
if ((await this.mongooseDataSourceManager.isConnected(name)) &&
|
|
24
|
+
if (!(await this.mongooseDataSourceManager.isConnected(name)) &&
|
|
25
25
|
!this.mongooseDataSourceManager.isLowPriority(name)) {
|
|
26
26
|
clientName = name;
|
|
27
27
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/mongoose",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"description": "Midway Component for mongoose",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@midwayjs/core": "^3.
|
|
26
|
-
"@midwayjs/mock": "^3.
|
|
27
|
-
"mongoose": "8.6.
|
|
25
|
+
"@midwayjs/core": "^3.18.0",
|
|
26
|
+
"@midwayjs/mock": "^3.18.0",
|
|
27
|
+
"mongoose": "8.6.3"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "5e6180ba0fabe1acc6df112c68855129a534e941"
|
|
30
30
|
}
|