egg 3.9.1 → 3.10.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/index.d.ts +1 -2
  2. package/package.json +5 -2
package/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import accepts = require('accepts');
3
2
  import { AsyncLocalStorage } from 'async_hooks';
4
3
  import { EventEmitter } from 'events'
@@ -722,7 +721,7 @@ declare module 'egg' {
722
721
  * Get current execute ctx, maybe undefined
723
722
  * @returns {Context} ctx - current execute Context
724
723
  */
725
- get currentConext(): Context;
724
+ get currentContext(): Context;
726
725
  }
727
726
 
728
727
  export interface IApplicationLocals extends PlainObject { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egg",
3
- "version": "3.9.1",
3
+ "version": "3.10.0",
4
4
  "publishConfig": {
5
5
  "tag": "latest"
6
6
  },
@@ -28,7 +28,7 @@
28
28
  "delegates": "^1.0.0",
29
29
  "egg-cluster": "^2.0.0",
30
30
  "egg-cookies": "^2.6.1",
31
- "egg-core": "^4.29.0",
31
+ "egg-core": "^5.1.1",
32
32
  "egg-development": "^2.7.0",
33
33
  "egg-errors": "^2.3.1",
34
34
  "egg-i18n": "^2.1.1",
@@ -59,6 +59,8 @@
59
59
  "ylru": "^1.3.2"
60
60
  },
61
61
  "devDependencies": {
62
+ "@eggjs/tsconfig": "^1.1.0",
63
+ "@types/node": "^18.11.18",
62
64
  "@umijs/preset-react": "^2.1.6",
63
65
  "address": "^1.2.1",
64
66
  "antd": "^4.23.2",
@@ -82,6 +84,7 @@
82
84
  "pedding": "^1.1.0",
83
85
  "prettier": "^2.7.1",
84
86
  "runscript": "^1.5.3",
87
+ "sdk-base": "^4.2.1",
85
88
  "spy": "^1.0.0",
86
89
  "supertest": "^6.2.4",
87
90
  "ts-node": "^10.9.1",