Fix Uint8Array comparisons and update vitest (#26805)

Compare those `Uint8Array` via conversion to Array which are properly
comparable, so that we don't have to worry about whether `TextEncoder`
and `UInt8Array` from the environment are compatible or not.

---------

Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
silverwind
2023-08-30 03:56:44 +02:00
committed by GitHub
parent 7bc80cb350
commit 508de3a58d
3 changed files with 44 additions and 39 deletions

View File

@@ -81,7 +81,7 @@
"svgo": "3.0.2",
"updates": "14.4.0",
"vite-string-plugin": "1.1.2",
"vitest": "0.34.2"
"vitest": "0.34.3"
},
"browserslist": [
"defaults",