@aomex/web
Advanced tools
Comparing version 0.0.23 to 0.0.24
# @aomex/web | ||
## 0.0.24 | ||
### Patch Changes | ||
- [`6621e4f`](https://github.com/aomex/aomex/commit/6621e4ff0f3509beeb332a0571a7db9c7d6ca99a) Thanks [@geekact](https://github.com/geekact)! - fix(web): 文件验证器的hash类型错误 | ||
- [`46c5b72`](https://github.com/aomex/aomex/commit/46c5b72785011fa181767f4c8ea0d0f5008b21ae) Thanks [@geekact](https://github.com/geekact)! - feat(web): 增加aomex-ts-node执行文件 | ||
- Updated dependencies [[`7b09277`](https://github.com/aomex/aomex/commit/7b09277136910966f500c8132303c7ddee84340c), [`9c78999`](https://github.com/aomex/aomex/commit/9c78999ebcb2962f30344acfbf6de0733d6fdd41), [`f4b012d`](https://github.com/aomex/aomex/commit/f4b012d98cddb2918479ea05df6c266dd914e53a)]: | ||
- @aomex/core@0.0.23 | ||
## 0.0.23 | ||
@@ -4,0 +15,0 @@ |
@@ -292,3 +292,3 @@ import { Chain, PureChain, PureMiddlewareToken, NonReadonly, Next, Middleware, OpenAPI, Validator, TransformedValidator, magistrate } from '@aomex/core'; | ||
interface FormidableFile extends File { | ||
hash: 'string'; | ||
hash: string; | ||
hashAlgorithm: 'md5'; | ||
@@ -303,2 +303,4 @@ } | ||
/** | ||
* 允许的最大体积 | ||
* | ||
* 可选格式: | ||
@@ -312,2 +314,3 @@ * - 1024 | ||
/** | ||
* 允许的媒体格式 | ||
* ```typescript | ||
@@ -314,0 +317,0 @@ * file.mimeTypes('.html', '.png', 'image/*', 'text/plain'); |
@@ -75,2 +75,4 @@ // src/override/middleware.ts | ||
/** | ||
* 允许的最大体积 | ||
* | ||
* 可选格式: | ||
@@ -77,0 +79,0 @@ * - 1024 |
{ | ||
"name": "@aomex/web", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"description": "", | ||
@@ -14,2 +14,5 @@ "type": "module", | ||
}, | ||
"bin": { | ||
"aomex-ts-node": "dist/bin.js" | ||
}, | ||
"publishConfig": { | ||
@@ -30,3 +33,3 @@ "access": "public" | ||
"peerDependencies": { | ||
"@aomex/core": "^0.0.22" | ||
"@aomex/core": "^0.0.23" | ||
}, | ||
@@ -56,2 +59,3 @@ "dependencies": { | ||
"statuses": "^2.0.1", | ||
"ts-node": "^10.9.1", | ||
"type-is": "^1.6.18", | ||
@@ -61,3 +65,3 @@ "vary": "^1.1.2" | ||
"devDependencies": { | ||
"@aomex/core": "^0.0.22", | ||
"@aomex/core": "^0.0.23", | ||
"@types/co-body": "^6.1.0", | ||
@@ -64,0 +68,0 @@ "@types/content-type": "^1.1.5", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103865
10
1314
26
+ Addedts-node@^10.9.1
+ Added@aomex/core@0.0.23(transitive)
+ Added@cspotcode/source-map-support@0.8.1(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.9(transitive)
+ Added@tsconfig/node10@1.0.11(transitive)
+ Added@tsconfig/node12@1.0.11(transitive)
+ Added@tsconfig/node14@1.0.3(transitive)
+ Added@tsconfig/node16@1.0.4(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedacorn-walk@8.3.4(transitive)
+ Addedarg@4.1.3(transitive)
+ Addedcreate-require@1.1.1(transitive)
+ Addeddiff@4.0.2(transitive)
+ Addedmake-error@1.3.6(transitive)
+ Addedts-node@10.9.2(transitive)
+ Addedv8-compile-cache-lib@3.0.1(transitive)
+ Addedyn@3.1.1(transitive)
- Removed@aomex/core@0.0.22(transitive)