@midwayjs/upload 3.0.0-beta.10 → 3.0.0-beta.11

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,14 @@
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.11](https://github.com/midwayjs/midway/compare/v3.0.0-beta.10...v3.0.0-beta.11) (2021-12-21)
7
+
8
+ **Note:** Version bump only for package @midwayjs/upload
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.0.0-beta.10](https://github.com/midwayjs/midway/compare/v3.0.0-beta.9...v3.0.0-beta.10) (2021-12-20)
7
15
 
8
16
 
@@ -8,5 +8,6 @@ export declare class UploadMiddleware implements IMiddleware<any, any> {
8
8
  getUploadBoundary(request: any): false | string;
9
9
  isReadableStream(req: any, isExpress: any): boolean;
10
10
  checkExt(filename: any): boolean;
11
+ getName(): string;
11
12
  }
12
13
  //# sourceMappingURL=middleware.d.ts.map
@@ -148,6 +148,9 @@ let UploadMiddleware = class UploadMiddleware {
148
148
  }
149
149
  return whitelist.includes(ext);
150
150
  }
151
+ getName() {
152
+ return 'upload';
153
+ }
151
154
  };
152
155
  __decorate([
153
156
  (0, decorator_1.Config)('upload'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/upload",
3
- "version": "3.0.0-beta.10",
3
+ "version": "3.0.0-beta.11",
4
4
  "description": "Midway Component for upload",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -25,14 +25,14 @@
25
25
  "raw-body": "^2.4.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@midwayjs/core": "^3.0.0-beta.10",
29
- "@midwayjs/decorator": "^3.0.0-beta.10",
30
- "@midwayjs/express": "^3.0.0-beta.10",
31
- "@midwayjs/faas": "^3.0.0-beta.10",
32
- "@midwayjs/koa": "^3.0.0-beta.10",
33
- "@midwayjs/mock": "^3.0.0-beta.10",
34
- "@midwayjs/serverless-app": "^3.0.0-beta.10",
35
- "@midwayjs/web": "^3.0.0-beta.10"
28
+ "@midwayjs/core": "^3.0.0-beta.11",
29
+ "@midwayjs/decorator": "^3.0.0-beta.11",
30
+ "@midwayjs/express": "^3.0.0-beta.11",
31
+ "@midwayjs/faas": "^3.0.0-beta.11",
32
+ "@midwayjs/koa": "^3.0.0-beta.11",
33
+ "@midwayjs/mock": "^3.0.0-beta.11",
34
+ "@midwayjs/serverless-app": "^3.0.0-beta.11",
35
+ "@midwayjs/web": "^3.0.0-beta.11"
36
36
  },
37
- "gitHead": "153870f2e2dd6b17673ec7591e49224a6bd51b36"
37
+ "gitHead": "a2b066fd500e815e799e7f421cd216f12e0e9f8e"
38
38
  }