mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-04 02:51:19 +08:00
This CL updates minimist to 1.2.6 to fix a critical security vulnerability: https://nvd.nist.gov/vuln/detail/CVE-2021-44906 The fix was made by running: `npm run install-deps audit fix --audit-level=critical` Bug: none Change-Id: I51103b525d9969e03000d55af86cebdabc7e0366 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3591079 Reviewed-by: Mathias Bynens <mathias@chromium.org> Commit-Queue: Brandon Walderman <brwalder@microsoft.com>
30 lines
891 B
Markdown
30 lines
891 B
Markdown
# base64-arraybuffer
|
|
|
|

|
|
[](https://www.npmjs.org/package/base64-arraybuffer)
|
|
[](https://www.npmjs.org/package/base64-arraybuffer)
|
|
|
|
Forked from https://github.com/niklasvh/base64-arraybuffer
|
|
|
|
Encode/decode base64 data into ArrayBuffers
|
|
|
|
### Installing
|
|
You can install the module via npm:
|
|
|
|
npm install base64-arraybuffer
|
|
|
|
## API
|
|
The library encodes and decodes base64 to and from ArrayBuffers
|
|
|
|
- __encode(buffer)__ - Encodes `ArrayBuffer` into base64 string
|
|
- __decode(str)__ - Decodes base64 string to `ArrayBuffer`
|
|
|
|
### Testing
|
|
You can run the test suite with:
|
|
|
|
npm test
|
|
|
|
## License
|
|
Copyright (c) 2012 Niklas von Hertzen
|
|
Licensed under the MIT license.
|