perf(web): use hash-wasm SHA-1 with pure-JS fallback for upload hashing (#30107)

Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
Moshiour Rahman
2026-08-24 20:24:04 +02:00
committed by GitHub
co-authored by Daniel Dietzler
parent 1b3aa9cd51
commit 0b75b20267
4 changed files with 82 additions and 1 deletions
+8
View File
@@ -857,6 +857,9 @@ importers:
happy-dom:
specifier: ^20.0.0
version: 20.11.2
hash-wasm:
specifier: ^4.12.0
version: 4.12.0
hls-video-element:
specifier: ^1.5.11
version: 1.5.11
@@ -8195,6 +8198,9 @@ packages:
resolution: {integrity: sha512-IrsVwUHhEULx3R8f/aA8AHuEzAorplsab/v8HBzEiIukwq5i/EC+xmOW+HfP1OaDP+2JkgT1yILHN2O3UFIbcA==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
hash-wasm@4.12.0:
resolution: {integrity: sha512-+/2B2rYLb48I/evdOIhP+K/DD2ca2fgBjp6O+GBEnCDk2e4rpeXIK8GvIyRPjTezgmWn9gmKwkQjjx6BtqDHVQ==}
hasown@2.0.4:
resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==}
engines: {node: '>= 0.4'}
@@ -21390,6 +21396,8 @@ snapshots:
has-yarn@3.0.0: {}
hash-wasm@4.12.0: {}
hasown@2.0.4:
dependencies:
function-bind: 1.1.2