egg 3.10.0 → 3.11.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 +5 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -504,6 +504,11 @@ declare module 'egg' {
504
504
  noopen: { enable: boolean; }
505
505
  xssProtection: any;
506
506
  csp: any;
507
+ ssrf: {
508
+ ipBlackList: string[];
509
+ ipExceptionList: string[];
510
+ checkAddress(ip: string): boolean;
511
+ };
507
512
  };
508
513
 
509
514
  siteFile: PlainObject<string | Buffer>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egg",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "publishConfig": {
5
5
  "tag": "latest"
6
6
  },