@aomex/web
Advanced tools
Comparing version 0.0.28 to 0.0.29
# @aomex/web | ||
## 0.0.29 | ||
### Patch Changes | ||
- [`59cd3f9`](https://github.com/aomex/aomex/commit/59cd3f98a0b5648a972d6118ba21501130a9ee7e) Thanks [@geekact](https://github.com/geekact)! - chore(web): 升级插件版本 | ||
- Updated dependencies [[`90ca7d5`](https://github.com/aomex/aomex/commit/90ca7d5fc736b523c4fbf7949f64653428dc413c)]: | ||
- @aomex/core@0.0.28 | ||
## 0.0.28 | ||
@@ -4,0 +13,0 @@ |
@@ -247,6 +247,8 @@ // src/override/middleware.ts | ||
const fixedFields = Object.fromEntries( | ||
Object.entries(fields).map(([key, values]) => [ | ||
key, | ||
values.length > 1 ? values : values[0] | ||
]) | ||
Object.entries(fields).map(([key, values]) => { | ||
return [ | ||
key, | ||
values == void 0 || values.length > 1 ? values : values[0] | ||
]; | ||
}) | ||
); | ||
@@ -253,0 +255,0 @@ return this._body = { ...fixedFields, ...files }; |
{ | ||
"name": "@aomex/web", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"description": "", | ||
@@ -32,12 +32,12 @@ "type": "module", | ||
"peerDependencies": { | ||
"@aomex/core": "^0.0.27" | ||
"@aomex/core": "^0.0.28" | ||
}, | ||
"dependencies": { | ||
"@types/accepts": "^1.3.5", | ||
"@types/content-disposition": "^0.5.5", | ||
"@types/cookie": "^0.5.1", | ||
"@types/formidable": "^3.4.0", | ||
"@types/http-errors": "^2.0.1", | ||
"@types/qs": "^6.9.7", | ||
"@types/statuses": "^2.0.1", | ||
"@types/accepts": "^1.3.7", | ||
"@types/content-disposition": "^0.5.8", | ||
"@types/cookie": "^0.6.0", | ||
"@types/formidable": "^3.4.5", | ||
"@types/http-errors": "^2.0.4", | ||
"@types/qs": "^6.9.10", | ||
"@types/statuses": "^2.0.4", | ||
"accepts": "^1.3.8", | ||
@@ -47,10 +47,10 @@ "co-body": "^6.1.0", | ||
"content-type": "^1.0.5", | ||
"cookie": "^0.5.0", | ||
"cookie": "^0.6.0", | ||
"destroy": "^1.2.0", | ||
"encodeurl": "^1.0.2", | ||
"escape-html": "^1.0.3", | ||
"formidable": "^3.5.0", | ||
"formidable": "^3.5.1", | ||
"fresh": "^0.5.2", | ||
"http-errors": "^2.0.0", | ||
"lru-cache": "^10.0.2", | ||
"lru-cache": "^10.1.0", | ||
"mime-types": "^2.1.35", | ||
@@ -60,3 +60,3 @@ "qs": "^6.11.2", | ||
"statuses": "^2.0.1", | ||
"ts-node": "^10.9.1", | ||
"ts-node": "^10.9.2", | ||
"type-is": "^1.6.18", | ||
@@ -67,13 +67,13 @@ "vary": "^1.1.2", | ||
"devDependencies": { | ||
"@aomex/core": "^0.0.27", | ||
"@types/co-body": "^6.1.0", | ||
"@types/content-type": "^1.1.5", | ||
"@types/destroy": "^1.0.0", | ||
"@types/encodeurl": "^1.0.0", | ||
"@types/escape-html": "^1.0.2", | ||
"@types/fresh": "^0.5.0", | ||
"@types/mime-types": "^2.1.1", | ||
"@types/request-ip": "^0.0.38", | ||
"@types/type-is": "^1.6.3", | ||
"@types/vary": "^1.1.0" | ||
"@aomex/core": "^0.0.28", | ||
"@types/co-body": "^6.1.3", | ||
"@types/content-type": "^1.1.8", | ||
"@types/destroy": "^1.0.3", | ||
"@types/encodeurl": "^1.0.2", | ||
"@types/escape-html": "^1.0.4", | ||
"@types/fresh": "^0.5.2", | ||
"@types/mime-types": "^2.1.4", | ||
"@types/request-ip": "^0.0.41", | ||
"@types/type-is": "^1.6.6", | ||
"@types/vary": "^1.1.3" | ||
}, | ||
@@ -80,0 +80,0 @@ "scripts": { |
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
107624
1327
+ Added@aomex/core@0.0.28(transitive)
+ Added@types/cookie@0.6.0(transitive)
+ Addedcookie@0.6.0(transitive)
- Removed@aomex/core@0.0.27(transitive)
- Removed@types/cookie@0.5.4(transitive)
- Removedcookie@0.5.0(transitive)
Updated@types/accepts@^1.3.7
Updated@types/cookie@^0.6.0
Updated@types/formidable@^3.4.5
Updated@types/http-errors@^2.0.4
Updated@types/qs@^6.9.10
Updated@types/statuses@^2.0.4
Updatedcookie@^0.6.0
Updatedformidable@^3.5.1
Updatedlru-cache@^10.1.0
Updatedts-node@^10.9.2