base64-js
base64-js copied to clipboard
Base64 encoding/decoding in pure JS
**How to reproduce** `base64js.toByteArray("====")` **Expected** An empty string **Actual** Exception is thrown "Invalid typed array length: -1"
@beatgammit, @feross: I see that this package now has an MIT license, but also that it was originally derived (extracted?) from deflate-js, which is GPLv2. Any way to confirm that...
Strictly speaking the '=' characters do not carry any information. Can decode ignore missing padding and not throw an error? Hello downvoters, care to explain your reasoning?
The `tape` dependency was outdated, this brings it to the latest version.
Adds a [Dependabot](https://docs.github.com/en/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/configuring-dependabot-security-updates) configuration to automatically keep dependencies up-to-date.
Uses the [`files`](https://docs.npmjs.com/cli/v8/configuring-npm/package-json#files) field to describe which files need to be included in the package explicitly. This prevents files from accidentally slipping into the package as they are added to...
Allows running the continuous integration on Github Actions instead of Travis (which is broken at the moment). Added benefit is that forks can use the same configuration to run CI...
Removes the need to compile and check in new code every time a new version is released.
friendlier Deno + browser import (and nodes new http loader)