googleapis / googleapis/google-cloud-node

feat: Migrate from `base64-js`

Open
#7,681 0 comments 0 reactions 0 assignees View on GitHub
library: google-cloud-node-core size: m type: feature request
Dominant language
TypeScript
Stars
3.2k
Forks
712
Avg merge
2d 3h
Merged PRs (30d)
99

Description

It's unmaintained with no releases for 5+ years:
- https://www.npmjs.com/package/base64-js?activeTab=versions

Implementation Notes:
- This functionality from used from the library may exist in JS itself now. Perhaps here's a good starting point for research:
- https://developer.mozilla.org/en-US/docs/Glossary/Base64
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
- polyfill implementation:
- https://github.com/zloirock/core-js/blob/2712a2b845ed8a1bc3936e3ff2b2817cd7ebb7dc/packages/core-js/modules/esnext.uint8-array.to-base64.js#L19
- https://github.com/zloirock/core-js/blob/2712a2b845ed8a1bc3936e3ff2b2817cd7ebb7dc/packages/core-js/modules/esnext.uint8-array.from-base64.js

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.