1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00
bitwarden-browser/libs/common
Marc Bärtschi 502d8ed729
fix wrong buffer conversion for Uint8Array (#8787)
If the BufferSource is already an Uint8Array which is a view of a subset of the underlying ArrayBuffer then accessing .buffer caused the whole backing buffer to be returned. Fix this by just returning the original Uint8Array as-is.

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-09-18 08:11:22 -04:00
..
spec Pm-10953/add-user-context-to-sync-replaces (#10627) 2024-08-26 20:44:08 -04:00
src fix wrong buffer conversion for Uint8Array (#8787) 2024-09-18 08:11:22 -04:00
custom-matchers.d.ts [PM-8847] Delay browser local storage operations during reseed (#9536) 2024-07-19 16:12:29 -04:00
jest.config.js [PM-2328] Fix jest deprecations (#5483) 2023-05-22 20:19:16 +02:00
package.json chore(deps): update dependency rimraf to v5 (#5468) 2023-05-19 14:23:44 +02:00
test.setup.ts [PM-8847] Delay browser local storage operations during reseed (#9536) 2024-07-19 16:12:29 -04:00
tsconfig.json Fix failing crypto tests (#5948) 2023-08-04 02:13:33 +00:00
tsconfig.spec.json [EC-423] Fix unit tests (#3265) 2022-08-11 11:35:08 +10:00