更新版本至 0.0.37,优化文件上传功能,支持大文件分块上传,改用 SparkMD5 计算 Blob 哈希

This commit is contained in:
2026-02-01 15:09:00 +08:00
parent ddfa18480f
commit d1fa2dc6b5
4 changed files with 99 additions and 57 deletions

16
pnpm-lock.yaml generated
View File

@@ -14,6 +14,9 @@ importers:
'@kevisual/load':
specifier: ^0.0.6
version: 0.0.6
'@types/spark-md5':
specifier: ^3.0.5
version: 3.0.5
es-toolkit:
specifier: ^1.44.0
version: 1.44.0
@@ -29,6 +32,9 @@ importers:
path-browserify-esm:
specifier: ^1.0.6
version: 1.0.6
spark-md5:
specifier: ^3.0.2
version: 3.0.2
devDependencies:
'@kevisual/cache':
specifier: ^0.0.5
@@ -350,6 +356,9 @@ packages:
'@types/resolve@1.20.2':
resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==}
'@types/spark-md5@3.0.5':
resolution: {integrity: sha512-lWf05dnD42DLVKQJZrDHtWFidcLrHuip01CtnC2/S6AMhX4t9ZlEUj4iuRlAnts0PQk7KESOqKxeGE/b6sIPGg==}
abort-controller@3.0.0:
resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==}
engines: {node: '>=6.5'}
@@ -650,6 +659,9 @@ packages:
resolution: {integrity: sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==}
engines: {node: '>=10'}
spark-md5@3.0.2:
resolution: {integrity: sha512-wcFzz9cDfbuqe0FZzfi2or1sgyIrsDwmPwfZC4hiNidPdPINjeUwNfv5kldczoEAcjl9Y1L3SM7Uz2PUEQzxQw==}
supports-preserve-symlinks-flag@1.0.0:
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}
@@ -915,6 +927,8 @@ snapshots:
'@types/resolve@1.20.2': {}
'@types/spark-md5@3.0.5': {}
abort-controller@3.0.0:
dependencies:
event-target-shim: 5.0.1
@@ -1201,6 +1215,8 @@ snapshots:
'@types/node-forge': 1.3.11
node-forge: 1.3.1
spark-md5@3.0.2: {}
supports-preserve-symlinks-flag@1.0.0: {}
to-regex-range@5.0.1: