egg 3.9.0 → 3.9.2

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/index.d.ts +6 -4
  2. package/package.json +4 -4
package/index.d.ts CHANGED
@@ -13,11 +13,13 @@ import {
13
13
  LoggerLevel as EggLoggerLevel,
14
14
  EggLoggersOptions,
15
15
  EggLoggerOptions,
16
- EggContextLogger
16
+ EggContextLogger,
17
17
  } from 'egg-logger';
18
18
  import { RequestOptions2 as RequestOptions, HttpClientResponse } from 'urllib';
19
- import { RequestURL, RequestOptions as RequestOptionsNext } from 'urllib-next/src/Request';
20
- import { HttpClientResponse as HttpClientResponseNext } from 'urllib-next/src/Response';
19
+ import {
20
+ RequestURL, RequestOptions as RequestOptionsNext,
21
+ HttpClientResponse as HttpClientResponseNext,
22
+ } from 'urllib-next';
21
23
  import {
22
24
  EggCoreBase,
23
25
  FileLoaderOption,
@@ -720,7 +722,7 @@ declare module 'egg' {
720
722
  * Get current execute ctx, maybe undefined
721
723
  * @returns {Context} ctx - current execute Context
722
724
  */
723
- get currentConext(): Context;
725
+ get currentContext(): Context;
724
726
  }
725
727
 
726
728
  export interface IApplicationLocals extends PlainObject { }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "egg",
3
- "version": "3.9.0",
3
+ "version": "3.9.2",
4
4
  "publishConfig": {
5
- "tag": "next"
5
+ "tag": "latest"
6
6
  },
7
7
  "description": "A web framework's framework for Node.js",
8
8
  "keywords": [
@@ -54,7 +54,7 @@
54
54
  "on-finished": "^2.4.1",
55
55
  "sendmessage": "^1.1.0",
56
56
  "urllib": "^2.33.0",
57
- "urllib-next": "^3.8.1",
57
+ "urllib-next": "^3.9.0",
58
58
  "utility": "^1.17.0",
59
59
  "ylru": "^1.3.2"
60
60
  },
@@ -68,7 +68,7 @@
68
68
  "dumi": "^1.1.47",
69
69
  "dumi-theme-egg": "^1.2.2",
70
70
  "egg-bin": "^5",
71
- "egg-mock": "^4.2.1",
71
+ "egg-mock": "^5.4.0",
72
72
  "egg-plugin-puml": "^2.4.0",
73
73
  "egg-tracer": "^1.1.0",
74
74
  "egg-view-nunjucks": "^2.3.0",