@midwayjs/mock 3.12.10 → 3.13.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.
Files changed (2) hide show
  1. package/dist/creator.js +1 -0
  2. package/package.json +7 -7
package/dist/creator.js CHANGED
@@ -142,6 +142,7 @@ async function create(appDir, options = {}, customFramework) {
142
142
  ...options,
143
143
  appDir,
144
144
  asyncContextManager: (0, async_hooks_context_manager_1.createContextManager)(),
145
+ loggerFactory: logger_1.loggers,
145
146
  imports: [].concat(options.imports).concat(options.baseDir
146
147
  ? await (0, core_1.loadModule)((0, path_1.join)(options.baseDir, getFileNameWithSuffix('configuration')), {
147
148
  safeLoad: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/mock",
3
- "version": "3.12.10",
3
+ "version": "3.13.0",
4
4
  "description": "create your test app from midway framework",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -29,9 +29,9 @@
29
29
  },
30
30
  "license": "MIT",
31
31
  "devDependencies": {
32
- "@midwayjs/core": "^3.12.3",
33
- "@midwayjs/logger": "^2.15.0",
34
- "@types/amqplib": "0.10.3",
32
+ "@midwayjs/core": "^3.13.0",
33
+ "@midwayjs/logger": "^3.0.0",
34
+ "@types/amqplib": "0.10.4",
35
35
  "amqplib": "0.10.3",
36
36
  "kafkajs": "2.2.4",
37
37
  "socket.io": "4.7.2",
@@ -39,9 +39,9 @@
39
39
  "ws": "8.14.2"
40
40
  },
41
41
  "dependencies": {
42
- "@midwayjs/async-hooks-context-manager": "^3.12.3",
42
+ "@midwayjs/async-hooks-context-manager": "^3.13.0",
43
43
  "@types/superagent": "4.1.14",
44
- "@types/supertest": "2.0.15",
44
+ "@types/supertest": "2.0.16",
45
45
  "js-yaml": "4.1.0",
46
46
  "raw-body": "2.5.2",
47
47
  "supertest": "6.3.3"
@@ -51,5 +51,5 @@
51
51
  "type": "git",
52
52
  "url": "https://github.com/midwayjs/midway.git"
53
53
  },
54
- "gitHead": "8d92c54424843d437fd5f77f6ff93f00c055117b"
54
+ "gitHead": "9f55734afa5b08dcf46bc89493ec8edaa8c6202b"
55
55
  }