@mikro-orm/nestjs 5.1.5 → 5.1.6
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/mikro-orm-core.module.js
CHANGED
|
@@ -122,7 +122,7 @@ let MikroOrmCoreModule = MikroOrmCoreModule_1 = class MikroOrmCoreModule {
|
|
|
122
122
|
return config.getDriver().createEntityManager();
|
|
123
123
|
}
|
|
124
124
|
if ('useFactory' in options) {
|
|
125
|
-
const config = new core_1.Configuration(options.useFactory(), false);
|
|
125
|
+
const config = new core_1.Configuration(await options.useFactory(), false);
|
|
126
126
|
return config.getDriver().createEntityManager();
|
|
127
127
|
}
|
|
128
128
|
}
|
package/mikro-orm.providers.js
CHANGED
|
@@ -14,7 +14,6 @@ function createMikroOrmProvider(contextName) {
|
|
|
14
14
|
options.entitiesTs = [...(options.entitiesTs || []), ...mikro_orm_entities_storage_1.MikroOrmEntitiesStorage.getEntities(contextName)];
|
|
15
15
|
delete options.autoLoadEntities;
|
|
16
16
|
}
|
|
17
|
-
mikro_orm_entities_storage_1.MikroOrmEntitiesStorage.clear(contextName);
|
|
18
17
|
if (!options || Object.keys(options).length === 0) {
|
|
19
18
|
const config = await core_1.ConfigurationLoader.getConfiguration();
|
|
20
19
|
config.set('logger', mikro_orm_common_1.logger.log.bind(mikro_orm_common_1.logger));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/nestjs",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Martin Adamek",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"@types/jest": "^29.2.4",
|
|
55
55
|
"@types/node": "^18.11.17",
|
|
56
56
|
"@types/supertest": "^2.0.12",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
58
|
-
"@typescript-eslint/parser": "~5.
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "~5.48.0",
|
|
58
|
+
"@typescript-eslint/parser": "~5.48.0",
|
|
59
59
|
"conventional-changelog": "^3.1.25",
|
|
60
60
|
"conventional-changelog-cli": "^2.2.2",
|
|
61
61
|
"eslint": "^8.30.0",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"engines": {
|
|
105
105
|
"node": ">= 14.0.0"
|
|
106
106
|
},
|
|
107
|
-
"packageManager": "yarn@3.3.
|
|
107
|
+
"packageManager": "yarn@3.3.1"
|
|
108
108
|
}
|