mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-11 10:10:25 +01:00
502d8ed729
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> |
||
---|---|---|
.. | ||
spec | ||
src | ||
custom-matchers.d.ts | ||
jest.config.js | ||
package.json | ||
test.setup.ts | ||
tsconfig.json | ||
tsconfig.spec.json |