@midwayjs/web 3.13.7 → 3.13.8
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/utils.js +2 -2
- package/package.json +3 -3
package/dist/utils.js
CHANGED
|
@@ -61,8 +61,8 @@ exports.getCurrentDateString = getCurrentDateString;
|
|
|
61
61
|
async function initializeAgentApplicationContext(agent) {
|
|
62
62
|
const applicationContext = (0, core_1.getCurrentApplicationContext)();
|
|
63
63
|
const agentFramework = new web_1.MidwayWebFramework(applicationContext);
|
|
64
|
-
agentFramework['logger'] = agent.
|
|
65
|
-
agentFramework['appLogger'] = agent.
|
|
64
|
+
agentFramework['logger'] = agent.coreLogger;
|
|
65
|
+
agentFramework['appLogger'] = agent.logger;
|
|
66
66
|
agentFramework.app = agent;
|
|
67
67
|
agentFramework.configService = applicationContext.get(core_1.MidwayConfigService);
|
|
68
68
|
agentFramework.environmentService = applicationContext.get(core_1.MidwayEnvironmentService);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/web",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.8",
|
|
4
4
|
"description": "Midway Web Framework for Egg.js",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@midwayjs/logger": "^3.0.0",
|
|
32
|
-
"@midwayjs/mock": "^3.13.
|
|
32
|
+
"@midwayjs/mock": "^3.13.8",
|
|
33
33
|
"dayjs": "1.11.10",
|
|
34
34
|
"egg-logger": "2.9.1",
|
|
35
35
|
"egg-mock": "4.2.1",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=12"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "a0b8dc4d1627a3108f9f3c1f77edc9d2e7b328dd"
|
|
64
64
|
}
|