
Security News
Free Certified Patch for Critical Rails Active Storage Vulnerability
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.
Base64 streaming encoder and decoder
Lead Maintainer - Wyatt Preul
npm install b64 --save
Base64 encode the buffer and return it as a new Buffer.
Base64 decode the buffer and return the result as a new buffer.
Transform stream that base64 encodes each chunk of the stream.
Example:
'use strict';
const Fs = require('fs');
const B64 = require('b64');
const stream = Fs.createReadStream(`${__dirname}/package.json`);
const encoder = new B64.Encoder();
stream.pipe(encoder).pipe(process.stdout);
Transform stream that base64 decodes each chunk of the stream.
Example:
'use strict';
const Fs = require('fs');
const B64 = require('b64');
const stream = Fs.createReadStream(`${__dirname}/encodedfile.b64`);
const decoder = new B64.Decoder();
stream.pipe(decoder).pipe(process.stdout);
Encodes value of string or buffer type in Base64 or URL encoding, function will assert input value is correct.
Decodes string into Base64 or URL encoding, function throws an error on invalid input and returns a string or buffer depending on encoding provided. Default encoding is binary.
FAQs
Base64 streaming encoder and decoder
The npm package b64 receives a total of 0 weekly downloads. As such, b64 popularity was classified as not popular.
We found that b64 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.

Security News
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.

Security News
/Threat Research
A malicious Ruby gem runs a credential-stealing worm during installation, poisons AI coding tools, and can wipe files when a stolen GitHub token is revoked.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.