@midwayjs/i18n 3.0.0-beta.11 → 3.0.0-beta.12

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.0.0-beta.12](https://github.com/midwayjs/midway/compare/v3.0.0-beta.11...v3.0.0-beta.12) (2021-12-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * support throw err status ([#1440](https://github.com/midwayjs/midway/issues/1440)) ([7b98110](https://github.com/midwayjs/midway/commit/7b98110d65c5287a8fcb3eb5356dea2d7a32cee9))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.0.0-beta.11](https://github.com/midwayjs/midway/compare/v3.0.0-beta.10...v3.0.0-beta.11) (2021-12-21)
7
18
 
8
19
  **Note:** Version bump only for package @midwayjs/i18n
@@ -8,6 +8,6 @@ export declare class I18nMiddleware implements IMiddleware<any, any> {
8
8
  resolverConfig: I18nOptions['resolver'];
9
9
  i18nConfig: I18nOptions;
10
10
  resolve(app: IMidwayApplication): (req: any, res: any, next: any) => Promise<any>;
11
- getName(): string;
11
+ static getName(): string;
12
12
  }
13
13
  //# sourceMappingURL=middleware.d.ts.map
@@ -137,7 +137,7 @@ let I18nMiddleware = class I18nMiddleware {
137
137
  };
138
138
  }
139
139
  }
140
- getName() {
140
+ static getName() {
141
141
  return 'i18n';
142
142
  }
143
143
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midwayjs/i18n",
3
3
  "description": "midway i18n component",
4
- "version": "3.0.0-beta.11",
4
+ "version": "3.0.0-beta.12",
5
5
  "main": "dist/index",
6
6
  "typings": "index.d.ts",
7
7
  "files": [
@@ -13,11 +13,11 @@
13
13
  "picomatch": "^2.3.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@midwayjs/core": "^3.0.0-beta.11",
17
- "@midwayjs/decorator": "^3.0.0-beta.11",
18
- "@midwayjs/express": "^3.0.0-beta.11",
19
- "@midwayjs/koa": "^3.0.0-beta.11",
20
- "@midwayjs/mock": "^3.0.0-beta.11"
16
+ "@midwayjs/core": "^3.0.0-beta.12",
17
+ "@midwayjs/decorator": "^3.0.0-beta.12",
18
+ "@midwayjs/express": "^3.0.0-beta.12",
19
+ "@midwayjs/koa": "^3.0.0-beta.12",
20
+ "@midwayjs/mock": "^3.0.0-beta.12"
21
21
  },
22
22
  "keywords": [
23
23
  "midway",
@@ -39,5 +39,5 @@
39
39
  "type": "git",
40
40
  "url": "https://github.com/midwayjs/midway.git"
41
41
  },
42
- "gitHead": "a2b066fd500e815e799e7f421cd216f12e0e9f8e"
42
+ "gitHead": "1c46e53eb934248007eeb7fe3920f5ac24e272c6"
43
43
  }