You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result, parse returns wrong cache for these files, which can cause builds to fail randomly or produce unexpected results. As mentioned in bevacqua/hash-sum#4, hash-sum algorithm is not suitable for content hashing. Unfortunately, I cannot share these private files here, but this issue may arise in projects with more than 10,000 files.
Would it be possible to switch to a more promising hash function, such as xxhash?
Version
3.3.0
Explanation
I have found two different files that has the same hash value on following lines:
component-compiler-utils/lib/parse.ts
Lines 55 to 57 in 27e4fa3
As a result,
parse
returns wrong cache for these files, which can cause builds to fail randomly or produce unexpected results. As mentioned in bevacqua/hash-sum#4,hash-sum
algorithm is not suitable for content hashing. Unfortunately, I cannot share these private files here, but this issue may arise in projects with more than 10,000 files.Would it be possible to switch to a more promising hash function, such as
xxhash
?Related issue
vitejs/vite#912
The text was updated successfully, but these errors were encountered: