@midwayjs/static-file 4.0.0-beta.11 → 4.0.0-beta.13

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.
@@ -44,7 +44,7 @@ export interface StaticFileOption {
44
44
  /**
45
45
  * filter files at init dir, for example - skip non build (source) files. If array set - allow only listed files
46
46
  */
47
- filter?: Function | string[];
47
+ filter?: ((...args: any[]) => any) | string[];
48
48
  }
49
49
  export interface StaticFileOptions extends Omit<StaticFileOption, 'prefix' | 'dir'> {
50
50
  dirs?: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midwayjs/static-file",
3
3
  "description": "midway static file component",
4
- "version": "4.0.0-beta.11",
4
+ "version": "4.0.0-beta.13",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
7
7
  "files": [
@@ -15,10 +15,10 @@
15
15
  "ylru": "1.4.0"
16
16
  },
17
17
  "devDependencies": {
18
- "@midwayjs/core": "^4.0.0-beta.11",
19
- "@midwayjs/faas": "^4.0.0-beta.11",
20
- "@midwayjs/koa": "^4.0.0-beta.11",
21
- "@midwayjs/mock": "^4.0.0-beta.11"
18
+ "@midwayjs/core": "^4.0.0-beta.13",
19
+ "@midwayjs/faas": "^4.0.0-beta.13",
20
+ "@midwayjs/koa": "^4.0.0-beta.13",
21
+ "@midwayjs/mock": "^4.0.0-beta.13"
22
22
  },
23
23
  "keywords": [
24
24
  "midway",
@@ -41,5 +41,5 @@
41
41
  "type": "git",
42
42
  "url": "https://github.com/midwayjs/midway.git"
43
43
  },
44
- "gitHead": "6ef05719ca6e900f1ec34aff7a5c5a9614358c50"
44
+ "gitHead": "9a38b66a84a6880370cac90d737f94f9c5f2f256"
45
45
  }